#include <CArrayStreamer.h>
Public Member Functions | |
bool | build (DataElement &offset, IRelationalData &relationalData, RelationalBuffer &operationBuffer) |
CArrayWriter (const edm::TypeWithDict &objectType, MappingElement &mapping, ContainerSchema &contSchema) | |
Constructor. More... | |
void | setRecordId (const std::vector< int > &identity) |
void | write (int oid, const void *data) |
Writes a data element. More... | |
virtual | ~CArrayWriter () |
Public Member Functions inherited from ora::IRelationalWriter | |
virtual | ~IRelationalWriter () |
Destructor. More... | |
Private Attributes | |
std::auto_ptr< IArrayHandler > | m_arrayHandler |
std::auto_ptr< IRelationalWriter > | m_dataWriter |
MultiRecordInsertOperation * | m_insertOperation |
DataElement | m_localElement |
MappingElement & | m_mappingElement |
edm::TypeWithDict | m_objectType |
DataElement * | m_offset |
std::vector< int > | m_recordId |
ContainerSchema & | m_schema |
Definition at line 21 of file CArrayStreamer.h.
ora::CArrayWriter::CArrayWriter | ( | const edm::TypeWithDict & | objectType, |
MappingElement & | mapping, | ||
ContainerSchema & | contSchema | ||
) |
Constructor.
Definition at line 17 of file CArrayStreamer.cc.
|
virtual |
Definition at line 31 of file CArrayStreamer.cc.
|
virtual |
Implements ora::IRelationalWriter.
Definition at line 34 of file CArrayStreamer.cc.
References i, edm::TypeWithDict::name(), ora::ArrayHandlerFactory::newArrayHandler(), ora::RelationalBuffer::newMultiRecordInsert(), ora::RelationalStreamerFactory::newWriter(), unpackBuffers-CaloStage2::offset, ora::ClassUtils::resolvedType(), AlCaHLTBitMon_QueryRunRegistry::string, ora::throwException(), and edm::TypeWithDict::toType().
Referenced by psClasses.BuildThread::run().
|
virtual |
|
virtual |
Writes a data element.
Implements ora::IRelationalWriter.
Definition at line 91 of file CArrayStreamer.cc.
References AlCaHLTBitMon_QueryRunRegistry::data, i, ora::InsertCache::processNextIteration(), and ora::throwException().
Referenced by pkg.AbstractPkg::generate().
|
private |
Definition at line 45 of file CArrayStreamer.h.
|
private |
Definition at line 46 of file CArrayStreamer.h.
|
private |
Definition at line 44 of file CArrayStreamer.h.
|
private |
Definition at line 40 of file CArrayStreamer.h.
|
private |
Definition at line 37 of file CArrayStreamer.h.
|
private |
Definition at line 36 of file CArrayStreamer.h.
|
private |
Definition at line 43 of file CArrayStreamer.h.
|
private |
Definition at line 39 of file CArrayStreamer.h.
|
private |
Definition at line 38 of file CArrayStreamer.h.