I'm just guessing, but it sounds like some kind of spring or clamping device is the way to go.
How big is this thing? Can you explain a bit more about the application? Do you need to connect to the ends?
It's a vertically mounted fluid level sensor consisting of a 12mm carbon fibre outer electrode with a 1.5mm wall thickness, with a concentric 5mm insulated inner electrode separated by a gap which is filled by air or water.
The electrical connection to the outer electrode can be anywhere on the outside surface, or the end, providing there is clearance for the inner electrode to pass through.