in hll/hll_sketch.cpp [25:30]
datasketches::target_hll_type convert_tgt_type(const std::string& tgt_type_str) {
if (tgt_type_str == "" || tgt_type_str == "HLL_4") return datasketches::HLL_4;
if (tgt_type_str == "HLL_6") return datasketches::HLL_6;
if (tgt_type_str == "HLL_8") return datasketches::HLL_8;
throw std::invalid_argument("unrecognized HLL target type " + tgt_type_str);
}