Poco::Data

template < class C >

class BulkExtraction

File Information

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 Aliases

CValType

using CValType = typename C::value_type;

Ptr

using Ptr = SharedPtr < Type >;

Type

using Type = BulkExtraction < ValType >;

ValPtr

using ValPtr = SharedPtr < ValType >;

ValType

using ValType = C;

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;

Securely control IoT edge devices from anywhere   Connect a Device