Library: Data
Package: DataCore
Header: Poco/Data/BulkExtraction.h
Specialization for bulk extraction of values from a query result set. Bulk extraction support is provided only for following STL containers: - std::vector - std::deque - std::list
Direct Base Classes: AbstractExtraction
All Base Classes: AbstractExtraction
Member Functions: createPreparation, extract, isNull, numOfColumnsHandled, numOfRowsAllowed, numOfRowsHandled, reset, result
Inherited Functions: canExtract, createPreparation, extract, getEmptyStringIsNull, getExtractor, getForceEmptyString, getLimit, isBulk, isNull, isValueNull, numOfColumnsHandled, numOfRowsAllowed, numOfRowsHandled, position, reset, setEmptyStringIsNull, setExtractor, setForceEmptyString, setLimit
typedef typename C::value_type CValType;
typedef SharedPtr < Type > Ptr;
typedef BulkExtraction < ValType > Type;
typedef SharedPtr < ValType > ValPtr;
typedef C ValType;
BulkExtraction(
C & result,
Poco::UInt32 limit,
const Position & pos = Position (0)
);
BulkExtraction(
C & result,
const CValType & def,
Poco::UInt32 limit,
const Position & pos = Position (0)
);
virtual ~BulkExtraction();
AbstractPreparation::Ptr createPreparation(
AbstractPreparator::Ptr & pPrep,
std::size_t col
);
std::size_t extract(
std::size_t col
);
bool isNull(
std::size_t row
) const;
See also: Poco::Data::AbstractExtraction::isNull()
std::size_t numOfColumnsHandled() const;
std::size_t numOfRowsAllowed() const;
std::size_t numOfRowsHandled() const;
virtual void reset();
See also: Poco::Data::AbstractExtraction::reset()
const C & result() const;