Poco::Data

template < class C >

class BulkExtraction

Library: Data
Package: DataCore
Header: Poco/Data/BulkExtraction.h

Description

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

Inheritance

Direct Base Classes: AbstractExtraction

All Base Classes: AbstractExtraction

Member Summary

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

Types

CValType

typedef typename C::value_type CValType;

Ptr

typedef SharedPtr < Type > Ptr;

Type

typedef BulkExtraction < ValType > Type;

ValPtr

typedef SharedPtr < ValType > ValPtr;

ValType

typedef C ValType;

Constructors

BulkExtraction inline

BulkExtraction(
    C & result,
    Poco::UInt32 limit,
    const Position & pos = Position (0)
);

BulkExtraction inline

BulkExtraction(
    C & result,
    const CValType & def,
    Poco::UInt32 limit,
    const Position & pos = Position (0)
);

Destructor

~BulkExtraction virtual inline

virtual ~BulkExtraction();

Member Functions

createPreparation inline

AbstractPreparation::Ptr createPreparation(
    AbstractPreparator::Ptr & pPrep,
    std::size_t col
);

extract virtual inline

std::size_t extract(
    std::size_t col
);

isNull virtual inline

bool isNull(
    std::size_t row
) const;

numOfColumnsHandled virtual inline

std::size_t numOfColumnsHandled() const;

numOfRowsAllowed virtual inline

std::size_t numOfRowsAllowed() const;

numOfRowsHandled virtual inline

std::size_t numOfRowsHandled() const;

reset virtual inline

virtual void reset();

result protected inline

const C & result() const;