removed unused methods
diff --git a/hll/include/HllUnion-internal.hpp b/hll/include/HllUnion-internal.hpp
index 1e99906..e738fc1 100644
--- a/hll/include/HllUnion-internal.hpp
+++ b/hll/include/HllUnion-internal.hpp
@@ -150,16 +150,6 @@
}
template<typename A>
-int hll_union_alloc<A>::get_compact_serialization_bytes() const {
- return gadget.get_compact_serialization_bytes();
-}
-
-template<typename A>
-int hll_union_alloc<A>::get_updatable_serialization_bytes() const {
- return gadget.get_updatable_serialization_bytes();
-}
-
-template<typename A>
int hll_union_alloc<A>::get_lg_config_k() const {
return gadget.get_lg_config_k();
}
@@ -195,21 +185,11 @@
}
template<typename A>
-int hll_union_alloc<A>::get_serialization_version() const {
- return HllUtil<A>::SER_VER;
-}
-
-template<typename A>
target_hll_type hll_union_alloc<A>::get_target_type() const {
return target_hll_type::HLL_8;
}
template<typename A>
-int hll_union_alloc<A>::get_max_serialization_bytes(const int lg_k) {
- return hll_sketch_alloc<A>::get_max_updatable_serialization_bytes(lg_k, target_hll_type::HLL_8);
-}
-
-template<typename A>
double hll_union_alloc<A>::get_rel_err(const bool upper_bound, const bool unioned,
const int lg_config_k, const int num_std_dev) {
return HllUtil<A>::getRelErr(upper_bound, unioned, lg_config_k, num_std_dev);
diff --git a/hll/include/hll.hpp b/hll/include/hll.hpp
index 07f9257..e57f886 100644
--- a/hll/include/hll.hpp
+++ b/hll/include/hll.hpp
@@ -469,18 +469,6 @@
double get_upper_bound(int num_std_dev) const;
/**
- * Returns the size of the union serialized in compact form.
- * @return Size of the union serialized in compact form, in bytes.
- */
- int get_compact_serialization_bytes() const;
-
- /**
- * Returns the size of the union serialized without compaction.
- * @return Size of the union serialized without compaction, in bytes.
- */
- int get_updatable_serialization_bytes() const;
-
- /**
* Returns union's configured lg_k value.
* @return Configured lg_k value.
*/
@@ -606,15 +594,6 @@
void update(const void* data, size_t length_bytes);
/**
- * Returns the maximum size in bytes that this union operator can grow to given a lg_k.
- *
- * @param lg_k The maximum Log2 of k for this union operator. This value must be
- * between 4 and 21 inclusively.
- * @return the maximum size in bytes that this union operator can grow to.
- */
- static int get_max_serialization_bytes(int lg_k);
-
- /**
* Gets the current (approximate) Relative Error (RE) asymptotic values given several
* parameters. This is used primarily for testing.
* @param upper_bound return the RE for the Upper Bound, otherwise for the Lower Bound.
@@ -645,7 +624,6 @@
void coupon_update(int coupon);
hll_mode get_current_mode() const;
- int get_serialization_version() const;
bool is_out_of_order_flag() const;
bool is_estimation_mode() const;