Lens AI Profiler Cpp
Namespaces | Classes | Typedefs | Enumerations | Functions
datasketches Namespace Reference

DataSketches namespace. More...

Namespaces

 kll_constants
 KLL sketch constants.
 

Classes

class  return_value_holder
 
class  frequent_items_sketch
 
class  kll_helper
 
class  kll_sketch
 
class  optional
 
class  quantiles_sorted_view
 
class  reverse_purge_hash_map
 
struct  serde
 Interface for serializing and deserializing items. More...
 
struct  serde< T, typename std::enable_if< std::is_arithmetic< T >::value >::type >
 
struct  serde< std::string >
 

Typedefs

template<typename A >
using string = std::basic_string< char, std::char_traits< char >, typename std::allocator_traits< A >::template rebind_alloc< char > >
 
template<typename T1 , typename T2 >
using fwd_type = typename std::conditional< std::is_lvalue_reference< T1 >::value, T2, typename std::remove_reference< T2 >::type && >::type
 

Enumerations

enum  resize_factor { X1 = 0 , X2 , X4 , X8 }
 
enum  frequent_items_error_type { NO_FALSE_POSITIVES , NO_FALSE_NEGATIVES }
 Frequent items error type. More...
 

Functions

template<typename T >
void unused (T &&...)
 
constexpr uint8_t log2 (uint32_t n)
 
constexpr uint8_t lg_size_from_count (uint32_t n, double load_factor)
 
template<typename T >
byteswap (T value)
 
template<typename T1 , typename T2 >
fwd_type< T1, T2 > conditional_forward (T2 &&value)
 
template<typename Container >
auto forward_begin (Container &&c) -> typename std::enable_if< std::is_lvalue_reference< Container >::value||std::is_same< typename std::remove_reference< Container >::type::const_iterator, decltype(c.begin())>::value, decltype(c.begin()) >::type
 
template<typename Container >
auto forward_end (Container &&c) -> typename std::enable_if< std::is_lvalue_reference< Container >::value||std::is_same< typename std::remove_reference< Container >::type::const_iterator, decltype(c.begin())>::value, decltype(c.end()) >::type
 

Detailed Description

DataSketches namespace.

Enumeration Type Documentation

◆ frequent_items_error_type

Frequent items error type.

Enumerator
NO_FALSE_POSITIVES 

include an item in the result list if get_lower_bound(item) > threshold

NO_FALSE_NEGATIVES 

include an item in the result list if get_upper_bound(item) > threshold