Library: Data
Package: DataCore
Header: Poco/Data/BulkExtraction.h
Container Data Type specialization extension for extraction of values from a query result set.
This class is intended for PocoData internal use - it is used by StatementImpl to automaticaly create internal BulkExtraction in cases when statement returns data and no external storage was supplied. It is later used by RecordSet to retrieve the fetched data after statement execution. It takes ownership of the Column pointer supplied as constructor argument. Column object, in turn owns the data container pointer.
InternalBulkExtraction objects can not be copied or assigned.
Direct Base Classes: BulkExtraction < C >
All Base Classes: BulkExtraction < C >
Member Functions: column, isNull, reset, value
typedef typename C::value_type CValType;
typedef SharedPtr < Type > Ptr;
typedef InternalBulkExtraction < ValType > Type;
typedef SharedPtr < ValType > ValPtr;
typedef C ValType;
explicit InternalBulkExtraction(
C & result,
Column < C > * pColumn,
Poco::UInt32 limit,
const Position & pos = Position (0)
);
Creates InternalBulkExtraction.
Destroys InternalBulkExtraction.
const Column < C > & column() const;
bool isNull(
std::size_t row
) const;
void reset();
const CValType & value(
int index
) const;