20#ifndef ARRAY_TUPLE_UNION_HPP_
21#define ARRAY_TUPLE_UNION_HPP_
25#include "array_tuple_sketch.hpp"
27#include "tuple_union.hpp"
32template<
typename Array>
36 void operator()(Array& array,
const Array& other)
const {
37 for (uint8_t i = 0; i < num_values_; ++i) {
41 uint8_t get_num_values()
const {
52 typename Allocator =
typename Array::allocator_type
56 using value_type =
typename Array::value_type;
67 array_tuple_union(uint8_t lg_cur_size, uint8_t lg_nom_size, resize_factor rf,
float p, uint64_t theta, uint64_t seed,
const Policy& policy,
const Allocator& allocator);
70template<
typename Array,
typename Policy,
typename Allocator>
73 builder(
const Policy& policy = Policy(),
const Allocator& allocator = Allocator());
79#include "array_tuple_union_impl.hpp"
array tuple union
Definition array_tuple_union.hpp:54
Compact array tuple sketch.
Definition array_tuple_sketch.hpp:163
Tuple base builder.
Definition tuple_sketch.hpp:614
Tuple Union.
Definition tuple_union.hpp:45
datasketches::resize_factor resize_factor
hash table resize factor
Definition theta_constants.hpp:31
DataSketches namespace.
Definition binomial_bounds.hpp:38
default array tuple union policy
Definition array_tuple_union.hpp:33