Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::Internal::RColumnDescriptorBuilder Class Reference

A helper class for piece-wise construction of an RColumnDescriptor.

Dangling column descriptors can become actual descriptors when added to an RNTupleDescriptorBuilder instance and then linked to their fields.

Definition at line 1041 of file RNTupleDescriptor.hxx.

Public Member Functions

 RColumnDescriptorBuilder ()=default
 Make an empty column descriptor builder.
 
RColumnDescriptorBuilderBitsOnStorage (std::uint16_t bitsOnStorage)
 
RColumnDescriptorBuilderFieldId (DescriptorId_t fieldId)
 
RColumnDescriptorBuilderFirstElementIndex (std::uint64_t firstElementIdx)
 
DescriptorId_t GetFieldId () const
 
DescriptorId_t GetRepresentationIndex () const
 
RColumnDescriptorBuilderIndex (std::uint32_t index)
 
RColumnDescriptorBuilderLogicalColumnId (DescriptorId_t logicalColumnId)
 
RResult< RColumnDescriptorMakeDescriptor () const
 Attempt to make a column descriptor.
 
RColumnDescriptorBuilderPhysicalColumnId (DescriptorId_t physicalColumnId)
 
RColumnDescriptorBuilderRepresentationIndex (std::uint16_t representationIndex)
 
RColumnDescriptorBuilderSetSuppressedDeferred ()
 
RColumnDescriptorBuilderType (EColumnType type)
 
RColumnDescriptorBuilderValueRange (double min, double max)
 
RColumnDescriptorBuilderValueRange (std::optional< RColumnDescriptor::RValueRange > valueRange)
 

Private Attributes

RColumnDescriptor fColumn = RColumnDescriptor()
 

#include <ROOT/RNTupleDescriptor.hxx>

Constructor & Destructor Documentation

◆ RColumnDescriptorBuilder()

ROOT::Experimental::Internal::RColumnDescriptorBuilder::RColumnDescriptorBuilder ( )
default

Make an empty column descriptor builder.

Member Function Documentation

◆ BitsOnStorage()

RColumnDescriptorBuilder & ROOT::Experimental::Internal::RColumnDescriptorBuilder::BitsOnStorage ( std::uint16_t  bitsOnStorage)
inline

Definition at line 1059 of file RNTupleDescriptor.hxx.

◆ FieldId()

RColumnDescriptorBuilder & ROOT::Experimental::Internal::RColumnDescriptorBuilder::FieldId ( DescriptorId_t  fieldId)
inline

Definition at line 1069 of file RNTupleDescriptor.hxx.

◆ FirstElementIndex()

RColumnDescriptorBuilder & ROOT::Experimental::Internal::RColumnDescriptorBuilder::FirstElementIndex ( std::uint64_t  firstElementIdx)
inline

Definition at line 1079 of file RNTupleDescriptor.hxx.

◆ GetFieldId()

DescriptorId_t ROOT::Experimental::Internal::RColumnDescriptorBuilder::GetFieldId ( ) const
inline

Definition at line 1106 of file RNTupleDescriptor.hxx.

◆ GetRepresentationIndex()

DescriptorId_t ROOT::Experimental::Internal::RColumnDescriptorBuilder::GetRepresentationIndex ( ) const
inline

Definition at line 1107 of file RNTupleDescriptor.hxx.

◆ Index()

RColumnDescriptorBuilder & ROOT::Experimental::Internal::RColumnDescriptorBuilder::Index ( std::uint32_t  index)
inline

Definition at line 1074 of file RNTupleDescriptor.hxx.

◆ LogicalColumnId()

RColumnDescriptorBuilder & ROOT::Experimental::Internal::RColumnDescriptorBuilder::LogicalColumnId ( DescriptorId_t  logicalColumnId)
inline

Definition at line 1049 of file RNTupleDescriptor.hxx.

◆ MakeDescriptor()

ROOT::RResult< ROOT::Experimental::RColumnDescriptor > ROOT::Experimental::Internal::RColumnDescriptorBuilder::MakeDescriptor ( ) const

Attempt to make a column descriptor.

This may fail if the column was not given enough information to make a proper descriptor.

Definition at line 977 of file RNTupleDescriptor.cxx.

◆ PhysicalColumnId()

RColumnDescriptorBuilder & ROOT::Experimental::Internal::RColumnDescriptorBuilder::PhysicalColumnId ( DescriptorId_t  physicalColumnId)
inline

Definition at line 1054 of file RNTupleDescriptor.hxx.

◆ RepresentationIndex()

RColumnDescriptorBuilder & ROOT::Experimental::Internal::RColumnDescriptorBuilder::RepresentationIndex ( std::uint16_t  representationIndex)
inline

Definition at line 1091 of file RNTupleDescriptor.hxx.

◆ SetSuppressedDeferred()

RColumnDescriptorBuilder & ROOT::Experimental::Internal::RColumnDescriptorBuilder::SetSuppressedDeferred ( )
inline

Definition at line 1084 of file RNTupleDescriptor.hxx.

◆ Type()

RColumnDescriptorBuilder & ROOT::Experimental::Internal::RColumnDescriptorBuilder::Type ( EColumnType  type)
inline

Definition at line 1064 of file RNTupleDescriptor.hxx.

◆ ValueRange() [1/2]

RColumnDescriptorBuilder & ROOT::Experimental::Internal::RColumnDescriptorBuilder::ValueRange ( double  min,
double  max 
)
inline

Definition at line 1096 of file RNTupleDescriptor.hxx.

◆ ValueRange() [2/2]

RColumnDescriptorBuilder & ROOT::Experimental::Internal::RColumnDescriptorBuilder::ValueRange ( std::optional< RColumnDescriptor::RValueRange valueRange)
inline

Definition at line 1101 of file RNTupleDescriptor.hxx.

Member Data Documentation

◆ fColumn

RColumnDescriptor ROOT::Experimental::Internal::RColumnDescriptorBuilder::fColumn = RColumnDescriptor()
private

Definition at line 1043 of file RNTupleDescriptor.hxx.

Libraries for ROOT::Experimental::Internal::RColumnDescriptorBuilder:

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