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 120 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_t & | GetDeserializationTypes () const |
const ColumnRepresentation_t & | GetSerializationDefault () const |
The first column list from fSerializationTypes is the default for writing. | |
const TypesList_t & | GetSerializationTypes () const |
Private Attributes | |
TypesList_t | fDeserializationTypes |
The union of the serialization types and the deserialization extra types. | |
TypesList_t | fSerializationTypes |
#include <ROOT/RField.hxx>
using ROOT::Experimental::Detail::RFieldBase::RColumnRepresentations::TypesList_t = std::vector<ColumnRepresentation_t> |
Definition at line 122 of file RField.hxx.
ROOT::Experimental::Detail::RFieldBase::RColumnRepresentations::RColumnRepresentations | ( | ) |
Definition at line 238 of file RField.cxx.
ROOT::Experimental::Detail::RFieldBase::RColumnRepresentations::RColumnRepresentations | ( | const TypesList_t & | serializationTypes, |
const TypesList_t & | deserializationExtraTypes | ||
) |
Definition at line 245 of file RField.cxx.
|
inline |
Definition at line 129 of file RField.hxx.
|
inline |
The first column list from fSerializationTypes is the default for writing.
Definition at line 127 of file RField.hxx.
|
inline |
Definition at line 128 of file RField.hxx.
|
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 135 of file RField.hxx.
|
private |
Definition at line 132 of file RField.hxx.