1#ifndef INC_GLOTABLEREADERINTERFACE_H
2#define INC_GLOTABLEREADERINTERFACE_H
49 class BaseRecordAttribute;
53 #pragma warning( disable : 4251 )
175 const std::string & m_sIndexName );
437 virtual int openTable(
const std::string & sTableName );
550 unsigned long ulClassID,
551 bool bWithSubClasses );
580 unsigned long ulClassID,
581 const std::string & rsIndexName );
691 const std::string & rsIndexSearchValue,
724 const std::string & rsIndexSearchValue,
758 const std::string & rsRangeStartIndex,
759 const std::string & rsRangeEndIndex )
const;
780 const std::string & rsIndexFilterValue )
const;
808 const std::string & rsIndexFilterValue,
837 const std::string & rsRangeStartIndex,
838 const std::string & rsRangeEndIndex )
const;
898 NUM_PTR ipClientAllSetAddress )
const;
920 NUM_PTR ipClientAllSetAddress )
const;
948 NUM_PTR ipClientAllSetAddress )
const;
988 int getObjIDs( std::list<ObjID> & rRetValList,
unsigned long ulClassID );
1010 unsigned long ulClassID );
1040 const ObjID & rObjID,
1068 const ObjID & rObjID,
1109 const ObjID & rObjID,
1111 bool bInRecursion );
1153 NUM_PTR ipClientAllSetAddress,
1154 unsigned long ulClassID,
1155 bool bWithSubClasses =
true );
1192 NUM_PTR ipClientAllSetAddress,
1193 unsigned long ulClassID,
1194 const std::string & rsIndexName );
1217 std::map<
ObjID,
ObjID, std::less<ObjID> > * pRetValMap,
1218 unsigned long ulClassID );
1249 const std::string & sTableName,
1250 const ObjID & rObjID,
1251 unsigned long ulClassID,
1252 bool bOnlyClassIDTable =
false );
1287 const ObjID & rObjID,
1288 const std::string & sPath );
1330 const std::string & sFieldNameRow,
1331 const std::string & sDataRow,
1332 std::streampos StreamPosRow,
1333 const std::string & rsTable,
1334 bool bOnlyClassIDTable =
false );
1365 const ObjID & rObjID,
1366 unsigned long ulClassID,
1367 bool bOnlyClassIDTable =
false );
1394 const ObjID & rObjID,
1395 unsigned long ulClassID,
1396 bool bOnlyClassIDTable =
false );
1455 #pragma warning( default : 4251 )
long long NUM_PTR
Definition EuDef_NULL_PTR.h:93
Header for IndexPool Header für IndexPool TransactionIndexPool RealIndexPool IndexPool::Delet...
Header for TableInterface and TableInterface::TableInterfaceTable
For each library, here 'GlobalObjects' there is a type file.
#define __glo_export_dll
Definition GloTypes.h:63
Base class for the individual attributes of a Record.
Definition GloBaseRecordAttribute.h:109
In objects of this class, the information for GlobalObjects is how a persistent class attribute is st...
Definition GloClassInfoAttribute.h:76
Has a pointer to an ObjectStrIndex and allows iteration through this index. Is instantiated e....
Definition GloIndexPool.h:2497
Has a pointer to a TableObjIdIndex and allows to iterate through this index. Is instantiated e....
Definition GloIndexPool.h:1315
An object ID consists of the class ID, a database ID and the actual unique object number (all unsigne...
Definition GloObjID.h:77
The real index as opposed to the TransactionIndexPool, which is created for each transaction
Definition GloIndexPool.h:5151
Objects of this class transport the data from the tables into the persistent object and from these ag...
Definition GloRecord.h:101
This class is the interface to a GlobalObjects schema. It contains all class information to store obj...
Definition GloSchemaInterface.h:84
An object of this class or subclass accesses tables and reads or writes data records (Record) and bin...
Definition GloTableInterface.h:87
Objects of this type are managed in the m_pAllSetObjectStrIndexIteratorMap to ensure that an AllSet w...
Definition GloTableReaderInterface.h:99
AllSetObjectStrIndexIteratorItem(IndexPool::ObjectStrIndexIterator *pObjectStrIndexIterator, const std::string &m_sIndexName)
std::string m_sIndexName
Definition GloTableReaderInterface.h:123
std::size_t getObjectStrIndexSize() const
AllSetObjectStrIndexIteratorItem(const AllSetObjectStrIndexIteratorItem &)
int setCurrentObject(const ObjID &rObjID)
IndexPool::ObjectStrIndexIterator * m_pObjectStrIndexIterator
Definition GloTableReaderInterface.h:112
int setPosition(std::size_t nPosition)
bool inObjectStrIndex(const ObjID &rObjID)
AllSetObjectStrIndexIteratorItem()
~AllSetObjectStrIndexIteratorItem()
An object of this class accesses tables and reads data records (Record) and binary files (eut::Blob).
Definition GloTableReaderInterface.h:77
int setFilterInAllSet(NUM_PTR ipClientAllSetAddress, const std::string &rsRangeStartIndex, const std::string &rsRangeEndIndex) const
std::map< NUM_PTR, IndexPool::TableObjIdIndexIterator *, std::less< NUM_PTR > > * m_pAllSetTableObjIdIndexIteratorMap
Definition GloTableReaderInterface.h:314
int getObjIDs(std::map< ObjID, ObjID, std::less< ObjID > > &rRetValMap, unsigned long ulClassID)
int getObjectData(Record *&prRetVal, const ObjID &rObjID, ReaderInfo *pReaderInfo, bool bInRecursion)
TableReaderInterface(const SchemaInterface &rScheme, RealIndexPool *pRealIndexPool)
int getSizeFromAllSet(std::size_t &rnSize, NUM_PTR ipClientAllSetAddress) const
int generateRecord(Record *&prRetVal, const std::string &sFieldNameRow, const std::string &sDataRow, std::streampos StreamPosRow, const std::string &rsTable, bool bOnlyClassIDTable=false)
IndexPool::ObjectStrIndexIterator * openAllSet(int &riErr, NUM_PTR ipClientAllSetAddress, unsigned long ulClassID, const std::string &rsIndexName)
int openAllSet(NUM_PTR ipClientAllSetAddress, unsigned long ulClassID, bool bWithSubClasses)
int setFilterInAllSet(NUM_PTR ipClientAllSetAddress, const std::string &rsIndexFilterValue) const
int removeFilterInAllSet(NUM_PTR ipClientAllSetAddress) const
int getObjIdFromAllSet(ObjID &rObjID, NUM_PTR ipClientAllSetAddress, EnSeekMode eMode) const
int getIndexedObjIdListFromAllSet(std::list< ObjID > &rRetValList, NUM_PTR ipClientAllSetAddress, const std::string &rsIndexSearchValue, EnComparisionOp eComparisionOp) const
int setFilterInAllSet(NUM_PTR ipClientAllSetAddress, const std::string &rsIndexFilterValue, EnComparisionOp eComparisionOp) const
TransactionIndexPool * getTransactionIndexPool() const
int isAllSetOpen(NUM_PTR ipClientAllSetAddress) const
int setCurrentObjectInAllSet(const ObjID &rObjID, NUM_PTR ipClientAllSetAddress) const
std::map< NUM_PTR, AllSetObjectStrIndexIteratorItem *, std::less< NUM_PTR > > * m_pAllSetObjectStrIndexIteratorMap
Definition GloTableReaderInterface.h:335
TransactionIndexPool * m_pTransactionIndexPool
Definition GloTableReaderInterface.h:353
virtual ~TableReaderInterface()
std::map< ObjID, Record *, std::less< ObjID > > m_RecursionRecordMap
Definition GloTableReaderInterface.h:293
void deleteAllSetTableObjIdIndexIteratorMap(std::map< NUM_PTR, IndexPool::TableObjIdIndexIterator *, std::less< NUM_PTR > > *pMapToDelete)
int closeAllSet(NUM_PTR ipClientAllSetAddress)
int getObjectDataFromDataRow(Record *&prRetVal, const ObjID &rObjID, unsigned long ulClassID, bool bOnlyClassIDTable=false)
int getObjIDs(std::list< ObjID > *pRetValList, std::map< ObjID, ObjID, std::less< ObjID > > *pRetValMap, unsigned long ulClassID)
int openAllSet(NUM_PTR ipClientAllSetAddress, unsigned long ulClassID, const std::string &rsIndexName)
RealIndexPool * getRealIndexPool() const
int getIndexedObjIdListFromAllSet(std::list< ObjID > &rRetValList, NUM_PTR ipClientAllSetAddress, const std::string &rsIndexSearchValue, EnQueryType eQuerryType) const
int objIDInAllSet(const ObjID &rObjID, NUM_PTR ipClientAllSetAddress) const
int getAllObjIDs(std::list< ObjID > &rRetValList)
int setPositionInAllSet(std::size_t nPosition, NUM_PTR ipClientAllSetAddress) const
int getObjectDataFromDataRow(std::shared_ptr< Record > &sprRetVal, const ObjID &rObjID, unsigned long ulClassID, bool bOnlyClassIDTable=false)
void deleteAllSetObjectStrIndexIteratorMap(std::map< NUM_PTR, AllSetObjectStrIndexIteratorItem *, std::less< NUM_PTR > > *pMapToDelete)
virtual int openTable(const std::string &sTableName)
int getRecord(Record *&prRetVal, const std::string &sTableName, const ObjID &rObjID, unsigned long ulClassID, bool bOnlyClassIDTable=false)
int getObjectData(Record *&prRetVal, const ObjID &rObjID, ReaderInfo *pReaderInfo)
int setTransactionIndexPool(TransactionIndexPool *pTransactionIndexPool)
int getIndexedObjIdListFromAllSet(std::list< ObjID > &rRetValList, NUM_PTR ipClientAllSetAddress, const std::string &rsRangeStartIndex, const std::string &rsRangeEndIndex) const
TableReaderInterface(const TableReaderInterface &)
int getRecordAttribute(BaseRecordAttribute *&prRetVal, const ClassInfoAttribute &rClassInfoAttribute, const ObjID &rObjID, const std::string &sPath)
int getObjIDs(std::list< ObjID > &rRetValList, unsigned long ulClassID)
IndexPool::TableObjIdIndexIterator * openAllSet(int &riErr, NUM_PTR ipClientAllSetAddress, unsigned long ulClassID, bool bWithSubClasses=true)
int getRecord(Record *&prRetVal, const ObjID &rObjID, ReaderInfo *pReaderInfo)
This index is generated in each transaction and changes such as saving, deleting or inserting an obje...
Definition GloIndexPool.h:5924
Definition GloAbstractBaseLot.h:42
EnComparisionOp
Definition GloTypes.h:1583
EnSeekMode
Definition GloTypes.h:166
EnQueryType
Definition GloTypes.h:1179
Objects of this structure transport data to objects of type TableReaderInterface.
Definition GloReaderWriterInfo.h:112