ATLAS Offline Software
|
#include <CollectionBase/ICollectionDescription.h>
Public Member Functions | |
virtual const std::string & | name () const =0 |
Returns the name of the collection. More... | |
virtual const std::string & | type () const =0 |
Returns the storage technology type of the collection. More... | |
virtual const std::string & | connection () const =0 |
Returns the connection to the database containing the collection. More... | |
virtual const std::string & | eventReferenceColumnName () const =0 |
Returns the name reserved for the event reference Token column. More... | |
virtual bool | hasEventReferenceColumn () const =0 |
Indicates whether the collection contains the event reference column. More... | |
virtual int | numberOfColumns () const =0 |
Returns the number of columns (including the event reference column if it is used) in the collection. More... | |
virtual const ICollectionColumn & | column (const std::string &columnName) const =0 |
Returns a description object for a column of the collection, given the name of the column. More... | |
virtual const ICollectionColumn * | columnPtr (const std::string &columnName) const =0 |
return pointer to Column or NULL if it's not found (will not throw exceptions) More... | |
virtual int | numberOfTokenColumns () const =0 |
Returns the number of Token columns (including the event reference column if it is used) More... | |
virtual const ICollectionColumn & | tokenColumn (const std::string &columnName) const =0 |
Returns a description object for a Token column of the collection, given the name of the column. More... | |
virtual const ICollectionColumn & | tokenColumn (int columnId) const =0 |
Returns a description object for a Token column of the collection, given the position of the column. More... | |
virtual int | numberOfAttributeColumns () const =0 |
Returns the number of Attribute columns. More... | |
virtual const ICollectionColumn & | attributeColumn (const std::string &columnName) const =0 |
Returns a description object for an Attribute column of the collection, given the name of the column. More... | |
virtual const ICollectionColumn & | attributeColumn (int columnId) const =0 |
Returns a description object for an Attribute column of the collection, given the position of the column. More... | |
virtual int | numberOfIndices () const =0 |
Returns the number of indices used by the collection. More... | |
virtual const ICollectionIndex & | index (const std::string &columnName) const =0 |
Returns a description object for an index of the collection, given the name of the column on which the index is applied. More... | |
virtual const ICollectionIndex & | index (const std::vector< std::string > &columnNames) const =0 |
Returns a description object for an index of the collection, given the names of the columns on which the index is applied. More... | |
virtual const ICollectionIndex & | index (int indexId) const =0 |
Returns a description object for an index of the collection, given the ID number of the index. More... | |
virtual bool | equals (const ICollectionDescription &rhs) const =0 |
Check if both Descriptions have the same columns. More... | |
virtual bool | isSubsetOf (const ICollectionDescription &rhs) const =0 |
Check if all columns from this Description are present in the rhs Description and if they have the same type. More... | |
virtual void | printOut () const |
print out the description (optional debugging) More... | |
Protected Member Functions | |
virtual | ~ICollectionDescription () |
Empty destructor. More... | |
An interface used to define the properties of a collection to be constructed and to retrieve these properties after construction. The schema editor of the collection should be used for any modifications to these properties after construction.
Definition at line 25 of file ICollectionDescription.h.
|
inlineprotectedvirtual |
|
pure virtual |
Returns a description object for an Attribute column of the collection, given the name of the column.
columnName | Name of column. |
Implemented in pool::CollectionDescription.
|
pure virtual |
Returns a description object for an Attribute column of the collection, given the position of the column.
columnId | Position of column in associated collection fragment. |
Implemented in pool::CollectionDescription.
|
pure virtual |
Returns a description object for a column of the collection, given the name of the column.
columnName | Name of column. |
Implemented in pool::CollectionDescription.
|
pure virtual |
return pointer to Column or NULL if it's not found (will not throw exceptions)
Implemented in pool::CollectionDescription.
|
pure virtual |
Returns the connection to the database containing the collection.
Implemented in pool::CollectionDescription.
|
pure virtual |
Check if both Descriptions have the same columns.
rhs | Collection description object to compare. |
Implemented in pool::CollectionDescription.
|
pure virtual |
Returns the name reserved for the event reference Token column.
If the name has not been set by the user a default name is returned.
Implemented in pool::CollectionDescription.
|
pure virtual |
Indicates whether the collection contains the event reference column.
Implemented in pool::CollectionDescription.
|
pure virtual |
Returns a description object for an index of the collection, given the name of the column on which the index is applied.
columnName | Name of column on which index is applied. |
Implemented in pool::CollectionDescription.
|
pure virtual |
Returns a description object for an index of the collection, given the names of the columns on which the index is applied.
columnNames | Names of columns on which index is applied. |
Implemented in pool::CollectionDescription.
|
pure virtual |
Returns a description object for an index of the collection, given the ID number of the index.
indexId | ID of index. |
Implemented in pool::CollectionDescription.
|
pure virtual |
Check if all columns from this Description are present in the rhs Description and if they have the same type.
rhs | Collection description object to compare. |
Implemented in pool::CollectionDescription.
|
pure virtual |
Returns the name of the collection.
Implemented in pool::CollectionDescription.
|
pure virtual |
Returns the number of Attribute columns.
Implemented in pool::CollectionDescription.
|
pure virtual |
Returns the number of columns (including the event reference column if it is used) in the collection.
Implemented in pool::CollectionDescription.
|
pure virtual |
Returns the number of indices used by the collection.
Implemented in pool::CollectionDescription.
|
pure virtual |
Returns the number of Token columns (including the event reference column if it is used)
Implemented in pool::CollectionDescription.
|
inlinevirtual |
print out the description (optional debugging)
Reimplemented in pool::CollectionDescription.
Definition at line 152 of file ICollectionDescription.h.
|
pure virtual |
Returns a description object for a Token column of the collection, given the name of the column.
columnName | Name of column. |
Implemented in pool::CollectionDescription.
|
pure virtual |
Returns a description object for a Token column of the collection, given the position of the column.
columnId | Position of column. |
Implemented in pool::CollectionDescription.
|
pure virtual |
Returns the storage technology type of the collection.
Implemented in pool::CollectionDescription.