Flanged ball valves have bolt holes on the tip connectors to attach for the matching flanges on the pipe. The graphite packing rings are compressed and held in situation through the gland flange, and that is bolted for the stem housing. Ball valves are used all over the place from https://archerbggdb.oneworldwiki.com/6729655/a_simple_key_for_butt_weld_pipe_fittings_unveiled