Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::RFieldBase::RColumnRepresentations Class Reference

Some fields have multiple possible column representations, e.g.

with or without split encoding. All column representations supported for writing also need to be supported for reading. In addition, fields can support extra column representations for reading only, e.g. a 64bit integer reading from a 32bit column. The defined column representations must be supported by corresponding column packing/unpacking implementations, i.e. for the example above, the unpacking of 32bit ints to 64bit pages must be implemented in RColumnElement.hxx

Definition at line 167 of file RField.hxx.

Public Types

using TypesList_t = std::vector< ColumnRepresentation_t >
 

Public Member Functions

 RColumnRepresentations ()
 
 RColumnRepresentations (const TypesList_t &serializationTypes, const TypesList_t &deserializationExtraTypes)
 
const TypesList_tGetDeserializationTypes () const
 
const ColumnRepresentation_tGetSerializationDefault () const
 The first column list from fSerializationTypes is the default for writing.
 
const TypesList_tGetSerializationTypes () const
 

Private Attributes

TypesList_t fDeserializationTypes
 The union of the serialization types and the deserialization extra types.
 
TypesList_t fSerializationTypes
 

#include <ROOT/RField.hxx>

Member Typedef Documentation

◆ TypesList_t

Constructor & Destructor Documentation

◆ RColumnRepresentations() [1/2]

ROOT::Experimental::RFieldBase::RColumnRepresentations::RColumnRepresentations ( )

Definition at line 371 of file RField.cxx.

◆ RColumnRepresentations() [2/2]

ROOT::Experimental::RFieldBase::RColumnRepresentations::RColumnRepresentations ( const TypesList_t serializationTypes,
const TypesList_t deserializationExtraTypes 
)

Definition at line 378 of file RField.cxx.

Member Function Documentation

◆ GetDeserializationTypes()

const TypesList_t & ROOT::Experimental::RFieldBase::RColumnRepresentations::GetDeserializationTypes ( ) const
inline

Definition at line 176 of file RField.hxx.

◆ GetSerializationDefault()

const ColumnRepresentation_t & ROOT::Experimental::RFieldBase::RColumnRepresentations::GetSerializationDefault ( ) const
inline

The first column list from fSerializationTypes is the default for writing.

Definition at line 174 of file RField.hxx.

◆ GetSerializationTypes()

const TypesList_t & ROOT::Experimental::RFieldBase::RColumnRepresentations::GetSerializationTypes ( ) const
inline

Definition at line 175 of file RField.hxx.

Member Data Documentation

◆ fDeserializationTypes

TypesList_t ROOT::Experimental::RFieldBase::RColumnRepresentations::fDeserializationTypes
private

The union of the serialization types and the deserialization extra types.

Duplicates the serialization types list but the benenfit is that GetDeserializationTypes does not need to compile the list.

Definition at line 182 of file RField.hxx.

◆ fSerializationTypes

TypesList_t ROOT::Experimental::RFieldBase::RColumnRepresentations::fSerializationTypes
private

Definition at line 179 of file RField.hxx.

Libraries for ROOT::Experimental::RFieldBase::RColumnRepresentations:

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