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 für IndexPool Header für IndexPool TransactionIndexPool RealIndexPool IndexPool::Dele...
Header für TableInterface und TableInterface::TableInterfaceTable
Für jede Bibliothek, hier 'GlobalObjects' gibt es eine Typen-Datei.
#define __glo_export_dll
Definition GloTypes.h:63
Basisklasse für die einzelnen Attribute eines Record.
Definition GloBaseRecordAttribute.h:109
In Objekten dieser Klasse sind die Information für GlobalObjects, wie ein persistentes Klassenattribu...
Definition GloClassInfoAttribute.h:76
Hat einen Zeiger auf einen ObjectStrIndex und ermöglicht das iterieren durch diesen Index....
Definition GloIndexPool.h:2497
Hat einen Zeiger auf einen TableObjIdIndex und ermöglicht das iterieren durch diesen Index....
Definition GloIndexPool.h:1315
Ein Objekt-ID besteht aus der Klassen-ID, einer Datenbank-ID und der eigentlichen eindeutigen ObjektZ...
Definition GloObjID.h:77
Der reale Index im Gegensatz zum TransactionIndexPool, welcher für jede Transaktion erstellt wird.
Definition GloIndexPool.h:5151
Objekte dieser Klasse transportieren die Daten von den Tabellen ins persistente Objekt und von diesen...
Definition GloRecord.h:101
Diese Klasse ist die Schnittstelle zu einem GlobalObjects-Schema. Sie beinhaltet alle Klasseninformat...
Definition GloSchemaInterface.h:84
Ein Objekt dieser Klasse bzw. der Unterklasse greift auf Tabellen zu und liest bzw....
Definition GloTableInterface.h:87
In der m_pAllSetObjectStrIndexIteratorMap werden Objekte dieses Typs verwaltet, um in der Methode Tab...
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()
Ein Objekt dieser Klasse greift auf Tabellen zu und liest Datensätze (Record) und Binärdateien (eut::...
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)
Dieser Index wird in jeder Transaktion generiert und die Änderungen wie speichern,...
Definition GloIndexPool.h:5924
Definition GloAbstractBaseLot.h:42
EnComparisionOp
Definition GloTypes.h:1583
EnSeekMode
Definition GloTypes.h:166
EnQueryType
Definition GloTypes.h:1179
Objekte dieser Struktur transportieren Daten zu Objekten des Typs TableReaderInterface.
Definition GloReaderWriterInfo.h:112