Everett
Loading...
Searching...
No Matches
Classes | Functions
everett::cola_detail Namespace Reference

Classes

struct  adaptive_index_output
 
struct  borrowed_file_state
 
struct  file_index_output
 
struct  file_index_output_ref
 
struct  first_window_result
 
struct  frontier_selection
 
struct  ignore_match_position
 
struct  index_destination
 
struct  index_metadata
 
struct  index_output
 
struct  query_access
 
struct  scoped_borrowed_view
 
struct  scoped_borrowed_view< profile_view< P, stream_role::borrowed > >
 
struct  scoped_native_view
 
struct  scoped_native_view< profile_view< P, stream_role::native > >
 
struct  scoped_native_view< sort_profile_view< P, Selector > >
 
struct  secondary_spool
 

Functions

template<class P , class Sink , class Stream , class Spool >
object_seal_receipt seal_file_index (cola_file_dependencies const &dependencies, std::array< borrowed_file_state< P >, 2 > const &profiles, index_metadata< P > const &metadata, std::uint64_t native_size, Sink &sink, Stream &stream, Spool &spool)
 
unsigned route (unsigned value)
 
std::uint64_t target_ordinal (std::uint64_t ordinal, std::uint64_t stride)
 
template<simd::architecture Arch = simd::scalar, class Live , class Head >
frontier_selection choose_frontier (std::array< std::uint64_t, 3 > const &prefixes, Live live, Head head)
 
template<class P , class View , class Capture >
void visit_secondary (View const &leaf, profile_blob_borrowed_predecessor< P > const &predecessor, Capture &&capture, profile_comparison_work *work=nullptr)
 
template<class P , class Blob , class Query , class Decode , class Inspect = ignore_match_position>
requires std::same_as<std::remove_cvref_t<Query>, bit_string> && (!std::is_reference_v<std::invoke_result_t<Decode &, bit_view>>) && requires(Blob const & blob, profile_query_context<P> const & context) { query_access::search(blob.view(), 0, context, query_access::match_probe{}); }
auto first_value (cola_query_root< P, Blob > const &root, Query &&query, Decode &&decode, Inspect inspect={}) -> std::optional< std::invoke_result_t< Decode &, bit_view > >
 

Function Documentation

◆ choose_frontier()

template<simd::architecture Arch = simd::scalar, class Live , class Head >
frontier_selection everett::cola_detail::choose_frontier ( std::array< std::uint64_t, 3 > const &  prefixes,
Live  live,
Head  head 
)

◆ first_value()

template<class P , class Blob , class Query , class Decode , class Inspect = ignore_match_position>
requires std::same_as<std::remove_cvref_t<Query>, bit_string> && (!std::is_reference_v<std::invoke_result_t<Decode &, bit_view>>) && requires(Blob const & blob, profile_query_context<P> const & context) { query_access::search(blob.view(), 0, context, query_access::match_probe{}); }
auto everett::cola_detail::first_value ( cola_query_root< P, Blob > const &  root,
Query &&  query,
Decode &&  decode,
Inspect  inspect = {} 
) -> std::optional<std::invoke_result_t<Decode &, bit_view>>
private

◆ route()

unsigned everett::cola_detail::route ( unsigned  value)
inline

◆ seal_file_index()

template<class P , class Sink , class Stream , class Spool >
object_seal_receipt everett::cola_detail::seal_file_index ( cola_file_dependencies const &  dependencies,
std::array< borrowed_file_state< P >, 2 > const &  profiles,
index_metadata< P > const &  metadata,
std::uint64_t  native_size,
Sink &  sink,
Stream &  stream,
Spool &  spool 
)

◆ target_ordinal()

std::uint64_t everett::cola_detail::target_ordinal ( std::uint64_t  ordinal,
std::uint64_t  stride 
)
inline

◆ visit_secondary()

template<class P , class View , class Capture >
void everett::cola_detail::visit_secondary ( View const &  leaf,
profile_blob_borrowed_predecessor< P > const &  predecessor,
Capture &&  capture,
profile_comparison_work *  work = nullptr 
)
private