Cylinder with piston and flap valve for raising water