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

#include <sort_profile.h>

Public Types

using policy_type = P
 
using stream_family = sort_profile_family< P, Selector >
 

Public Member Functions

 sort_profile_array ()=default
 
auto view () const &
 
auto view () const &&=delete
 
std::uint64_t size () const noexcept
 
auto const & metadata () const noexcept
 
auto const & group_offsets () const &noexcept
 
auto const & data () const &noexcept
 
auto const & dictionary () const &noexcept
 
std::span< std::uint64_t const > dictionary_offsets () const noexcept
 
auto const & seeds () const &noexcept
 
std::size_t retained_bytes () const noexcept
 

Private Member Functions

 sort_profile_array (bit_string data, bit_string dictionary, bit_string seeds, std::vector< std::uint64_t > dictionary_offsets, elias_fano offsets, profile_metadata metadata)
 

Private Attributes

bit_string data_
 
bit_string dictionary_
 
bit_string seeds_
 
std::vector< std::uint64_t > dictionary_offsets_ {0}
 
elias_fano offsets_ = elias_fano::build<typename P::architecture>(std::array<std::uint64_t, 1>{0})
 
profile_metadata metadata_ = [] { auto m = profile_detail::initial_metadata<P, stream_role::native>(); m.version = 3; return m; }()
 

Friends

struct sort_profile_writer< P, Selector >
 
struct sort_profile_detail::encoder< P, Selector >
 

Member Typedef Documentation

◆ policy_type

template<class P , class Selector >
using everett::sort_profile_array< P, Selector >::policy_type = P

◆ stream_family

template<class P , class Selector >
using everett::sort_profile_array< P, Selector >::stream_family = sort_profile_family<P, Selector>

Constructor & Destructor Documentation

◆ sort_profile_array() [1/2]

template<class P , class Selector >
everett::sort_profile_array< P, Selector >::sort_profile_array ( )
default

◆ sort_profile_array() [2/2]

template<class P , class Selector >
everett::sort_profile_array< P, Selector >::sort_profile_array ( bit_string  data,
bit_string  dictionary,
bit_string  seeds,
std::vector< std::uint64_t >  dictionary_offsets,
elias_fano  offsets,
profile_metadata  metadata 
)
inlineprivate

Member Function Documentation

◆ data()

template<class P , class Selector >
auto const & everett::sort_profile_array< P, Selector >::data ( ) const &
inlinenoexcept

◆ dictionary()

template<class P , class Selector >
auto const & everett::sort_profile_array< P, Selector >::dictionary ( ) const &
inlinenoexcept

◆ dictionary_offsets()

template<class P , class Selector >
std::span< std::uint64_t const > everett::sort_profile_array< P, Selector >::dictionary_offsets ( ) const
inlinenoexcept

◆ group_offsets()

template<class P , class Selector >
auto const & everett::sort_profile_array< P, Selector >::group_offsets ( ) const &
inlinenoexcept

◆ metadata()

template<class P , class Selector >
auto const & everett::sort_profile_array< P, Selector >::metadata ( ) const
inlinenoexcept

◆ retained_bytes()

template<class P , class Selector >
std::size_t everett::sort_profile_array< P, Selector >::retained_bytes ( ) const
inlinenoexcept

◆ seeds()

template<class P , class Selector >
auto const & everett::sort_profile_array< P, Selector >::seeds ( ) const &
inlinenoexcept

◆ size()

template<class P , class Selector >
std::uint64_t everett::sort_profile_array< P, Selector >::size ( ) const
inlinenoexcept

◆ view() [1/2]

template<class P , class Selector >
auto everett::sort_profile_array< P, Selector >::view ( ) const &
inline

◆ view() [2/2]

template<class P , class Selector >
auto everett::sort_profile_array< P, Selector >::view ( ) const &&
delete

Friends And Related Symbol Documentation

◆ sort_profile_detail::encoder< P, Selector >

template<class P , class Selector >
friend struct sort_profile_detail::encoder< P, Selector >
friend

◆ sort_profile_writer< P, Selector >

template<class P , class Selector >
friend struct sort_profile_writer< P, Selector >
friend

Member Data Documentation

◆ data_

template<class P , class Selector >
bit_string everett::sort_profile_array< P, Selector >::data_
private

◆ dictionary_

template<class P , class Selector >
bit_string everett::sort_profile_array< P, Selector >::dictionary_
private

◆ dictionary_offsets_

template<class P , class Selector >
std::vector<std::uint64_t> everett::sort_profile_array< P, Selector >::dictionary_offsets_ {0}
private

◆ metadata_

template<class P , class Selector >
profile_metadata everett::sort_profile_array< P, Selector >::metadata_ = [] { auto m = profile_detail::initial_metadata<P, stream_role::native>(); m.version = 3; return m; }()
private

◆ offsets_

template<class P , class Selector >
elias_fano everett::sort_profile_array< P, Selector >::offsets_ = elias_fano::build<typename P::architecture>(std::array<std::uint64_t, 1>{0})
private

◆ seeds_

template<class P , class Selector >
bit_string everett::sort_profile_array< P, Selector >::seeds_
private

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