|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef ROOTCOLLECTION_COLLECTIONQUERY_H
6 #define ROOTCOLLECTION_COLLECTIONQUERY_H
8 #include "CoralBase/AttributeList.h"
22 namespace RootCollection {
virtual void selectAll()
Adds all Token and Attribute columns to the query select list.
bool m_skipEventRef
If false, the primary event reference is added always to the query result.
virtual void selectAllAttributes()
Adds all Attribute columns to the query select list.
coral::AttributeList m_outputAttributeList
virtual void skipEventReference(bool=true)
Tell the query to not include the primary event reference in the result by default (it can still bese...
RootCollectionCursor * m_cursor
void addToAttributeOutputList(const std::string &columnName)
std::set< std::string > m_selectedColumnNames
virtual void selectAllTokens()
Adds all Token columns to the query select list.
virtual ~RootCollectionQuery()
Destructor.
std::string m_whereClause
std::set< std::string > m_collectionFragmentNames
virtual void addToOutputList(const std::string &columnName)
Adds a column to the query select list.
virtual const std::string & whereClause() const
Returns the where clause of the query.
pool::TokenList m_outputTokenList
virtual void setRowCacheSize(int rowCacheSize)
Sets the cache size used to store the query result.
virtual void addToOutputList(const std::vector< std::string > &columnNames)
Adds one or more columns to the query select list.
const ICollectionDescription & m_description
RootCollectionQuery(const pool::ICollectionDescription &description, TTree *tree)
Constructor.
virtual pool::ICollectionCursor & execute()
Processes the query and returns a cursor over the query result.
virtual void setCondition(const std::string &whereClause, coral::AttributeList *attributeBindData=0, TokenList *tokenBindData=0)
Sets the query.
void addToTokenOutputList(const std::string &columnName)
std::string description
glabal timer - how long have I taken so far?