Large electric-hydraulic pump with telescoping cylinder