Poco::Data

template < class T >

class Extraction

File Information

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

Description

Concrete Data Type specific extraction of values from a query result set.

Inheritance

Direct Base Classes: AbstractExtraction

All Base Classes: AbstractExtraction

Member Summary

Member Functions: canExtract, createPreparation, extract, isNull, numOfColumnsHandled, numOfRowsAllowed, numOfRowsHandled, reset

Inherited Functions: canExtract, createPreparation, extract, getEmptyStringIsNull, getExtractor, getForceEmptyString, getLimit, isBulk, isNull, isValueNull, numOfColumnsHandled, numOfRowsAllowed, numOfRowsHandled, position, reset, setEmptyStringIsNull, setExtractor, setForceEmptyString, setLimit

Types Aliases

Ptr

using Ptr = SharedPtr < Type >;

Type

using Type = Extraction < ValType >;

ValPtr

using ValPtr = SharedPtr < ValType >;

ValType

using ValType = T;

Constructors

Extraction inline

Extraction(
    T & result,
    const Position & pos = Position (0)
);

Creates an Extraction object at specified position. Uses an empty object T as default value.

Extraction inline

Extraction(
    T & result,
    const T & def,
    const Position & pos = Position (0)
);

Creates an Extraction object at specified position. Uses the provided def object as default value.

Destructor

~Extraction virtual inline

~Extraction();

Destroys the Extraction object.

Member Functions

canExtract virtual inline

bool canExtract() const;

createPreparation inline

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

extract virtual inline

std::size_t extract(
    std::size_t pos
);

isNull inline

bool isNull(
    std::size_t = 0
) 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

void reset();

Securely control IoT edge devices from anywhere   Connect a Device