Everett
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Friends | List of all members
everett::profile_query_context< P > Struct Template Reference

#include <profile.h>

Public Member Functions

 profile_query_context (bit_view query)
 
bit_view query () const
 
std::uint64_t common_bits () const noexcept
 
std::optional< std::uint64_t > full_units () const noexcept
 
int order () const noexcept
 
std::uint64_t advance_parts (std::uint64_t retained_bits, std::uint64_t full_bits, std::span< bit_view const > literal)
 
profile_query_context with_key (bit_view key) const
 

Static Public Member Functions

static profile_query_context from_owned (bit_string query)
 

Private Member Functions

 profile_query_context (std::shared_ptr< bit_string const > query, int order)
 
std::uint64_t advance (profile_encoded_record const &record)
 
profile_query_context predecessor (std::uint64_t lcp_bits) const
 

Static Private Member Functions

static profile_query_context from_borrowed (bit_string const &query)
 

Private Attributes

std::shared_ptr< bit_string const > query_
 
std::uint64_t common_bits_ = 0
 
std::uint64_t full_units_ = 0
 
int order_ = 0
 
bool length_known_ = true
 

Friends

struct cola_detail::query_access
 
template<class , stream_role >
struct profile_view
 
template<class >
struct profile_blob
 
template<class >
struct profile_blob_view
 
template<class , class >
struct cola_index_view
 

Constructor & Destructor Documentation

◆ profile_query_context() [1/2]

template<class P >
everett::profile_query_context< P >::profile_query_context ( bit_view  query)
inlineexplicit

◆ profile_query_context() [2/2]

template<class P >
everett::profile_query_context< P >::profile_query_context ( std::shared_ptr< bit_string const >  query,
int  order 
)
inlineprivate

Member Function Documentation

◆ advance()

template<class P >
std::uint64_t everett::profile_query_context< P >::advance ( profile_encoded_record const &  record)
inlineprivate

◆ advance_parts()

template<class P >
std::uint64_t everett::profile_query_context< P >::advance_parts ( std::uint64_t  retained_bits,
std::uint64_t  full_bits,
std::span< bit_view const >  literal 
)
inline

◆ common_bits()

template<class P >
std::uint64_t everett::profile_query_context< P >::common_bits ( ) const
inlinenoexcept

◆ from_borrowed()

template<class P >
static profile_query_context everett::profile_query_context< P >::from_borrowed ( bit_string const &  query)
inlinestaticprivate

◆ from_owned()

template<class P >
static profile_query_context everett::profile_query_context< P >::from_owned ( bit_string  query)
inlinestatic

◆ full_units()

template<class P >
std::optional< std::uint64_t > everett::profile_query_context< P >::full_units ( ) const
inlinenoexcept

◆ order()

template<class P >
int everett::profile_query_context< P >::order ( ) const
inlinenoexcept

◆ predecessor()

template<class P >
profile_query_context everett::profile_query_context< P >::predecessor ( std::uint64_t  lcp_bits) const
inlineprivate

◆ query()

template<class P >
bit_view everett::profile_query_context< P >::query ( ) const
inline

◆ with_key()

template<class P >
profile_query_context everett::profile_query_context< P >::with_key ( bit_view  key) const
inline

Friends And Related Symbol Documentation

◆ cola_detail::query_access

template<class P >
friend struct cola_detail::query_access
friend

◆ cola_index_view

template<class P >
template<class , class >
friend struct cola_index_view
friend

◆ profile_blob

template<class P >
template<class >
friend struct profile_blob
friend

◆ profile_blob_view

template<class P >
template<class >
friend struct profile_blob_view
friend

◆ profile_view

template<class P >
template<class , stream_role >
friend struct profile_view
friend

Member Data Documentation

◆ common_bits_

template<class P >
std::uint64_t everett::profile_query_context< P >::common_bits_ = 0
private

◆ full_units_

template<class P >
std::uint64_t everett::profile_query_context< P >::full_units_ = 0
private

◆ length_known_

template<class P >
bool everett::profile_query_context< P >::length_known_ = true
private

◆ order_

template<class P >
int everett::profile_query_context< P >::order_ = 0
private

◆ query_

template<class P >
std::shared_ptr<bit_string const> everett::profile_query_context< P >::query_
private

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