#include <CollectionBase/RNTCollectionSchemaEditor.h>
|
| RNTCollectionSchemaEditor (RNTCollection &collection, CollectionDescription &description, RNTupleReader &reader) |
|
virtual void | setEventReferenceColumnName (const std::string &columnName) |
| Sets the name of the event reference Token column. More...
|
|
virtual const ICollectionColumn & | insertColumn (const std::string &columnName, const std::string &columnType, const std::string &annotation="", int maxSize=0, bool sizeIsFixed=true) |
| Adds a new column to the collection. More...
|
|
virtual const ICollectionColumn & | insertColumn (const std::string &columnName, const std::type_info &columnType, const std::string &annotation="", int maxSize=0, bool sizeIsFixed=true) |
| Adds a new column to the collection. More...
|
|
virtual const ICollectionColumn & | insertTokenColumn (const std::string &columnName, const std::string &annotation="") |
| Adds a new column of type pool::Token to the collection. More...
|
|
virtual const ICollectionColumn & | annotateColumn (const std::string &columnName, const std::string &annotation) |
| add annotation to column More...
|
|
virtual void | dropColumn (const std::string &columnName) |
| Removes a column from the collection. More...
|
|
virtual void | renameColumn (const std::string &oldName, const std::string &newName) |
| Renames a column of the collection. More...
|
|
void | readSchema () |
| get Collection Description from the RNTupleReader More...
|
|
virtual | ~RNTCollectionSchemaEditor () |
| destructor. More...
|
|
An interface used to define the schema of a collection.
Definition at line 36 of file RNTCollectionSchemaEditor.h.
◆ RNTCollectionSchemaEditor()
◆ ~RNTCollectionSchemaEditor()
virtual pool::RootCollection::RNTCollectionSchemaEditor::~RNTCollectionSchemaEditor |
( |
| ) |
|
|
virtual |
◆ addRNTupleField()
void pool::RootCollection::RNTCollectionSchemaEditor::addRNTupleField |
( |
const std::string & |
name, |
|
|
const std::string & |
type_name |
|
) |
| |
|
protected |
◆ annotateColumn()
virtual const ICollectionColumn& pool::RootCollection::RNTCollectionSchemaEditor::annotateColumn |
( |
const std::string & |
columnName, |
|
|
const std::string & |
annotation |
|
) |
| |
|
virtual |
◆ createRNTuple()
void pool::RootCollection::RNTCollectionSchemaEditor::createRNTuple |
( |
| ) |
|
|
protected |
◆ dropColumn()
virtual void pool::RootCollection::RNTCollectionSchemaEditor::dropColumn |
( |
const std::string & |
columnName | ) |
|
|
virtual |
◆ insertColumn() [1/2]
virtual const ICollectionColumn& pool::RootCollection::RNTCollectionSchemaEditor::insertColumn |
( |
const std::string & |
columnName, |
|
|
const std::string & |
columnType, |
|
|
const std::string & |
annotation = "" , |
|
|
int |
maxSize = 0 , |
|
|
bool |
sizeIsFixed = true |
|
) |
| |
|
virtual |
Adds a new column to the collection.
- Parameters
-
columnName | Name of new column. |
columnType | Data type of new column. |
maxSize | Maximum size of column data type (useful for string or blob data types). |
sizeIsFixed | Flag indicating whether size of column data type is fixed (useful for string or blob data types). |
Implements pool::ICollectionSchemaEditor.
◆ insertColumn() [2/2]
virtual const ICollectionColumn& pool::RootCollection::RNTCollectionSchemaEditor::insertColumn |
( |
const std::string & |
columnName, |
|
|
const std::type_info & |
columnType, |
|
|
const std::string & |
annotation = "" , |
|
|
int |
maxSize = 0 , |
|
|
bool |
sizeIsFixed = true |
|
) |
| |
|
virtual |
Adds a new column to the collection.
- Parameters
-
columnName | Name of new column. |
columnType | Data type of new column. |
maxSize | Maximum size of column data type (useful for string or blob data types). |
sizeIsFixed | Flag indicating whether size of column data type is fixed (useful for string or blob data types). |
Implements pool::ICollectionSchemaEditor.
◆ insertTokenColumn()
virtual const ICollectionColumn& pool::RootCollection::RNTCollectionSchemaEditor::insertTokenColumn |
( |
const std::string & |
columnName, |
|
|
const std::string & |
annotation = "" |
|
) |
| |
|
virtual |
◆ readSchema()
void pool::RootCollection::RNTCollectionSchemaEditor::readSchema |
( |
| ) |
|
get Collection Description from the RNTupleReader
◆ renameColumn()
virtual void pool::RootCollection::RNTCollectionSchemaEditor::renameColumn |
( |
const std::string & |
oldName, |
|
|
const std::string & |
newName |
|
) |
| |
|
virtual |
◆ setEventReferenceColumnName()
virtual void pool::RootCollection::RNTCollectionSchemaEditor::setEventReferenceColumnName |
( |
const std::string & |
columnName | ) |
|
|
virtual |
◆ RNTCollection
◆ m_collection
RNTCollection& pool::RootCollection::RNTCollectionSchemaEditor::m_collection |
|
protected |
◆ m_description
◆ m_poolOut
coral::MessageStream pool::RootCollection::RNTCollectionSchemaEditor::m_poolOut |
|
protected |
◆ m_reader
RNTupleReader& pool::RootCollection::RNTCollectionSchemaEditor::m_reader |
|
protected |
The documentation for this class was generated from the following file: