Logo ROOT  
Reference Guide
ROOT::Experimental::Detail::RPageSinkBuf::RColumnBuf Class Reference

A buffered column.

The column is not responsible for RPage memory management (i.e. ReservePage/ReleasePage), which is handled by the enclosing RPageSinkBuf.

Definition at line 46 of file RPageSinkBuf.hxx.

Classes

struct  RPageZipItem
 

Public Types

using BufferedPages_t = std::tuple< std::deque< RPageZipItem >, RPageStorage::SealedPageSequence_t >
 
using iterator = std::deque< RPageZipItem >::iterator
 

Public Member Functions

 RColumnBuf ()=default
 
 RColumnBuf (const RColumnBuf &)=delete
 
 RColumnBuf (RColumnBuf &&)=default
 
 ~RColumnBuf ()=default
 
iterator BufferPage (RPageStorage::ColumnHandle_t columnHandle, const RPage &page)
 Returns an iterator to the newly buffered page. More...
 
BufferedPages_t DrainBufferedPages ()
 
const RPageStorage::ColumnHandle_tGetHandle () const
 
const RPageStorage::SealedPageSequence_tGetSealedPages () const
 
bool HasSealedPagesOnly () const
 
RColumnBufoperator= (const RColumnBuf &)=delete
 
RColumnBufoperator= (RColumnBuf &&)=default
 
RPageStorage::SealedPageSequence_t::iterator RegisterSealedPage ()
 

Private Attributes

std::deque< RPageZipItemfBufferedPages
 
RPageStorage::ColumnHandle_t fCol
 
RPageStorage::SealedPageSequence_t fSealedPages
 

Member Typedef Documentation

◆ BufferedPages_t

◆ iterator

Definition at line 68 of file RPageSinkBuf.hxx.

Constructor & Destructor Documentation

◆ RColumnBuf() [1/3]

ROOT::Experimental::Detail::RPageSinkBuf::RColumnBuf::RColumnBuf ( )
default

◆ RColumnBuf() [2/3]

ROOT::Experimental::Detail::RPageSinkBuf::RColumnBuf::RColumnBuf ( const RColumnBuf )
delete

◆ RColumnBuf() [3/3]

ROOT::Experimental::Detail::RPageSinkBuf::RColumnBuf::RColumnBuf ( RColumnBuf &&  )
default

◆ ~RColumnBuf()

ROOT::Experimental::Detail::RPageSinkBuf::RColumnBuf::~RColumnBuf ( )
default

Member Function Documentation

◆ BufferPage()

iterator ROOT::Experimental::Detail::RPageSinkBuf::RColumnBuf::BufferPage ( RPageStorage::ColumnHandle_t  columnHandle,
const RPage page 
)
inline

Returns an iterator to the newly buffered page.

The iterator remains valid until the return value of DrainBufferedPages() is destroyed.

Definition at line 71 of file RPageSinkBuf.hxx.

◆ DrainBufferedPages()

BufferedPages_t ROOT::Experimental::Detail::RPageSinkBuf::RColumnBuf::DrainBufferedPages ( )
inline

Definition at line 89 of file RPageSinkBuf.hxx.

◆ GetHandle()

const RPageStorage::ColumnHandle_t & ROOT::Experimental::Detail::RPageSinkBuf::RColumnBuf::GetHandle ( ) const
inline

Definition at line 82 of file RPageSinkBuf.hxx.

◆ GetSealedPages()

const RPageStorage::SealedPageSequence_t & ROOT::Experimental::Detail::RPageSinkBuf::RColumnBuf::GetSealedPages ( ) const
inline

Definition at line 84 of file RPageSinkBuf.hxx.

◆ HasSealedPagesOnly()

bool ROOT::Experimental::Detail::RPageSinkBuf::RColumnBuf::HasSealedPagesOnly ( ) const
inline

Definition at line 83 of file RPageSinkBuf.hxx.

◆ operator=() [1/2]

RColumnBuf & ROOT::Experimental::Detail::RPageSinkBuf::RColumnBuf::operator= ( const RColumnBuf )
delete

◆ operator=() [2/2]

RColumnBuf & ROOT::Experimental::Detail::RPageSinkBuf::RColumnBuf::operator= ( RColumnBuf &&  )
default

◆ RegisterSealedPage()

RPageStorage::SealedPageSequence_t::iterator ROOT::Experimental::Detail::RPageSinkBuf::RColumnBuf::RegisterSealedPage ( )
inline

Definition at line 99 of file RPageSinkBuf.hxx.

Member Data Documentation

◆ fBufferedPages

std::deque<RPageZipItem> ROOT::Experimental::Detail::RPageSinkBuf::RColumnBuf::fBufferedPages
private

Definition at line 108 of file RPageSinkBuf.hxx.

◆ fCol

RPageStorage::ColumnHandle_t ROOT::Experimental::Detail::RPageSinkBuf::RColumnBuf::fCol
private

Definition at line 105 of file RPageSinkBuf.hxx.

◆ fSealedPages

RPageStorage::SealedPageSequence_t ROOT::Experimental::Detail::RPageSinkBuf::RColumnBuf::fSealedPages
private

Definition at line 111 of file RPageSinkBuf.hxx.

Libraries for ROOT::Experimental::Detail::RPageSinkBuf::RColumnBuf:
[legend]

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