Lens AI Profiler Cpp
Public Member Functions | List of all members
datasketches::frequent_items_sketch< T, W, H, E, A >::row Class Reference

Row in the output from get_frequent_items. More...

#include <frequent_items_sketch.hpp>

Public Member Functions

 row (const T *item, W weight, W offset)
 
const T & get_item () const
 
get_estimate () const
 
get_lower_bound () const
 
get_upper_bound () const
 

Detailed Description

template<typename T, typename W = uint64_t, typename H = std::hash<T>, typename E = std::equal_to<T>, typename A = std::allocator<T>>
class datasketches::frequent_items_sketch< T, W, H, E, A >::row

Row in the output from get_frequent_items.

Member Function Documentation

◆ get_estimate()

template<typename T , typename W = uint64_t, typename H = std::hash<T>, typename E = std::equal_to<T>, typename A = std::allocator<T>>
W datasketches::frequent_items_sketch< T, W, H, E, A >::row::get_estimate ( ) const
inline
Returns
frequency (weight) estimate

◆ get_item()

template<typename T , typename W = uint64_t, typename H = std::hash<T>, typename E = std::equal_to<T>, typename A = std::allocator<T>>
const T& datasketches::frequent_items_sketch< T, W, H, E, A >::row::get_item ( ) const
inline
Returns
item

◆ get_lower_bound()

template<typename T , typename W = uint64_t, typename H = std::hash<T>, typename E = std::equal_to<T>, typename A = std::allocator<T>>
W datasketches::frequent_items_sketch< T, W, H, E, A >::row::get_lower_bound ( ) const
inline
Returns
estimate lower bound

◆ get_upper_bound()

template<typename T , typename W = uint64_t, typename H = std::hash<T>, typename E = std::equal_to<T>, typename A = std::allocator<T>>
W datasketches::frequent_items_sketch< T, W, H, E, A >::row::get_upper_bound ( ) const
inline
Returns
estimate upper bound

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