datasketches-cpp
Public Member Functions | List of all members
update_array_tuple_sketch< Array, Policy, Allocator >::builder Class Reference

Update array tuple sketch builder. More...

#include <array_tuple_sketch.hpp>

Inheritance diagram for update_array_tuple_sketch< Array, Policy, Allocator >::builder:
tuple_base_builder< builder, Policy, Allocator > theta_base_builder< builder, Allocator >

Public Member Functions

 builder (const Policy &policy=Policy(), const Allocator &allocator=Allocator())
 Constructor. More...
 
update_array_tuple_sketch build () const
 
- Public Member Functions inherited from theta_base_builder< builder, Allocator >
 theta_base_builder (const Allocator &allocator)
 Creates and instance of the builder with default parameters. More...
 
builder & set_lg_k (uint8_t lg_k)
 Set log2(k), where k is a nominal number of entries in the sketch. More...
 
builder & set_resize_factor (resize_factor rf)
 Set resize factor for the internal hash table (defaults to 8) More...
 
builder & set_p (float p)
 Set sampling probability (initial theta). More...
 
builder & set_seed (uint64_t seed)
 Set the seed for the hash function. More...
 

Detailed Description

template<typename Array, typename Policy = default_array_tuple_update_policy<Array>, typename Allocator = typename Array::allocator_type>
class datasketches::update_array_tuple_sketch< Array, Policy, Allocator >::builder

Update array tuple sketch builder.

Constructor & Destructor Documentation

◆ builder()

builder ( const Policy &  policy = Policy(),
const Allocator &  allocator = Allocator() 
)

Constructor.

Parameters
policy
allocator

Member Function Documentation

◆ build()

auto build
Returns
instance of sketch

The documentation for this class was generated from the following files: