1 #ifndef INCLUDE_ORA_QUERYABLEVECTORSTREAMER_H
2 #define INCLUDE_ORA_QUERYABLEVECTORSTREAMER_H
8 #include <boost/shared_ptr.hpp>
10 #include "Reflex/Type.h"
15 class ContainerSchema;
16 class IRelationalData;
18 class MultiRecordInsertOperation;
29 void setRecordId(
const std::vector<int>& identity );
60 void setRecordId(
const std::vector<int>& identity );
79 void setRecordId(
const std::vector<int>& identity );
88 std::vector<boost::shared_ptr<IVectorLoader> >
m_loaders;
123 return m_mappingElement;
135 return m_arrayHandler.get();
Reflex::Type m_objectType
Reflex::Type m_objectType
QueryableVectorStreamer(const Reflex::Type &objectType, MappingElement &mapping, ContainerSchema &contSchema)
IRelationalWriter * newWriter()
IRelationalReader * newReader()
IRelationalUpdater * newUpdater()
MultiRecordInsertOperation * m_insertOperation
bool build(DataElement &offset, IRelationalData &relationalData, RelationalBuffer &operationBuffer)
QueryableVectorWriter(const Reflex::Type &objectType, MappingElement &mapping, ContainerSchema &contSchema)
Constructor.
std::vector< int > m_tmpIds
DataElement * dataElement()
void write(int oid, const void *data)
Writes a data element.
~QueryableVectorStreamer()
DataElement m_localElement
ContainerSchema & m_schema
IArrayHandler * arrayHandler()
void setRecordId(const std::vector< int > &identity)
virtual ~QueryableVectorReader()
DataElement * m_dataElement
MappingElement & m_mappingElement
std::vector< boost::shared_ptr< IVectorLoader > > m_loaders
std::auto_ptr< IArrayHandler > m_arrayHandler
void update(int oid, const void *data)
Updates a data element.
ContainerSchema & m_schema
std::vector< int > m_recordId
unsigned int offset(bool)
QueryableVectorWriter m_writer
QueryableVectorReader(const Reflex::Type &objectType, MappingElement &mapping, ContainerSchema &contSchema)
Constructor.
void setRecordId(const std::vector< int > &identity)
void read(void *address)
Reads a data element.
void setRecordId(const std::vector< int > &identity)
Reflex::Type m_objectType
MappingElement & m_mapping
ContainerSchema & m_schema
std::auto_ptr< IRelationalWriter > m_dataWriter
Reflex::Type & objectType()
MappingElement & mapping()
RelationalBuffer * m_buffer
QueryableVectorUpdater(const Reflex::Type &objectType, MappingElement &mapping, ContainerSchema &contSchema)
Constructor.
bool build(DataElement &offset, IRelationalData &relationalData)
bool build(DataElement &offset, IRelationalData &relationalData, RelationalBuffer &operationBuffer)
MappingElement & m_mapping
virtual ~QueryableVectorUpdater()
virtual ~QueryableVectorWriter()