Poco::Data::ODBC

class Extractor

File Information

Library: Data/ODBC
Package: ODBC
Header: Poco/Data/ODBC/Extractor.h

Description

Extracts and converts data values from the result row returned by ODBC. If NULL is received, the incoming val value is not changed and false is returned

Inheritance

Direct Base Classes: Poco::Data::AbstractExtractor

All Base Classes: Poco::Data::AbstractExtractor

Member Summary

Member Functions: extract, getDataExtraction, isNull, reset, setDataExtraction

Inherited Functions: extract, isNull, reset, reverseTranscode, transcode, transcodeRequired

Types

PreparatorPtr

typedef Preparator::Ptr PreparatorPtr;

Constructors

Extractor

Extractor(
    const StatementHandle & rStmt,
    Preparator::Ptr pPreparator,
    Poco::TextEncoding::Ptr pDBEncoding = __nullptr,
    Poco::TextEncoding::Ptr pToEncoding = __nullptr
);

Creates the Extractor.

Destructor

~Extractor virtual

~Extractor();

Destroys the Extractor.

Member Functions

extract virtual

bool extract(
    std::size_t pos,
    Poco::Int8 & val
);

Extracts an Int8.

extract virtual

bool extract(
    std::size_t pos,
    std::vector < Poco::Int8 > & val
);

Extracts an Int8 vector.

extract virtual

bool extract(
    std::size_t pos,
    std::deque < Poco::Int8 > & val
);

Extracts an Int8 deque.

extract virtual

bool extract(
    std::size_t pos,
    std::list < Poco::Int8 > & val
);

Extracts an Int8 list.

extract virtual

bool extract(
    std::size_t pos,
    Poco::UInt8 & val
);

Extracts an UInt8.

extract virtual

bool extract(
    std::size_t pos,
    std::vector < Poco::UInt8 > & val
);

Extracts an UInt8 vector.

extract virtual

bool extract(
    std::size_t pos,
    std::deque < Poco::UInt8 > & val
);

Extracts an UInt8 deque.

extract virtual

bool extract(
    std::size_t pos,
    std::list < Poco::UInt8 > & val
);

Extracts an UInt8 list.

extract virtual

bool extract(
    std::size_t pos,
    Poco::Int16 & val
);

Extracts an Int16.

extract virtual

bool extract(
    std::size_t pos,
    std::vector < Poco::Int16 > & val
);

Extracts an Int16 vector.

extract virtual

bool extract(
    std::size_t pos,
    std::deque < Poco::Int16 > & val
);

Extracts an Int16 deque.

extract virtual

bool extract(
    std::size_t pos,
    std::list < Poco::Int16 > & val
);

Extracts an Int16 list.

extract virtual

bool extract(
    std::size_t pos,
    Poco::UInt16 & val
);

Extracts an UInt16.

extract virtual

bool extract(
    std::size_t pos,
    std::vector < Poco::UInt16 > & val
);

Extracts an UInt16 vector.

extract virtual

bool extract(
    std::size_t pos,
    std::deque < Poco::UInt16 > & val
);

Extracts an UInt16 deque.

extract virtual

bool extract(
    std::size_t pos,
    std::list < Poco::UInt16 > & val
);

Extracts an UInt16 list.

extract virtual

bool extract(
    std::size_t pos,
    Poco::Int32 & val
);

Extracts an Int32.

extract virtual

bool extract(
    std::size_t pos,
    std::vector < Poco::Int32 > & val
);

Extracts an Int32 vector.

extract virtual

bool extract(
    std::size_t pos,
    std::deque < Poco::Int32 > & val
);

Extracts an Int32 deque.

extract virtual

bool extract(
    std::size_t pos,
    std::list < Poco::Int32 > & val
);

Extracts an Int32 list.

extract virtual

bool extract(
    std::size_t pos,
    Poco::UInt32 & val
);

Extracts an UInt32.

extract virtual

bool extract(
    std::size_t pos,
    std::vector < Poco::UInt32 > & val
);

Extracts an UInt32 vector.

extract virtual

bool extract(
    std::size_t pos,
    std::deque < Poco::UInt32 > & val
);

Extracts an UInt32 deque.

extract virtual

bool extract(
    std::size_t pos,
    std::list < Poco::UInt32 > & val
);

Extracts an UInt32 list.

extract virtual

bool extract(
    std::size_t pos,
    Poco::Int64 & val
);

Extracts an Int64.

extract virtual

bool extract(
    std::size_t pos,
    std::vector < Poco::Int64 > & val
);

Extracts an Int64 vector.

extract virtual

bool extract(
    std::size_t pos,
    std::deque < Poco::Int64 > & val
);

Extracts an Int64 deque.

extract virtual

bool extract(
    std::size_t pos,
    std::list < Poco::Int64 > & val
);

Extracts an Int64 list.

extract virtual

bool extract(
    std::size_t pos,
    Poco::UInt64 & val
);

Extracts an UInt64.

extract virtual

bool extract(
    std::size_t pos,
    std::vector < Poco::UInt64 > & val
);

Extracts an UInt64 vector.

extract virtual

bool extract(
    std::size_t pos,
    std::deque < Poco::UInt64 > & val
);

Extracts an UInt64 deque.

extract virtual

bool extract(
    std::size_t pos,
    std::list < Poco::UInt64 > & val
);

Extracts an UInt64 list.

extract virtual

bool extract(
    std::size_t pos,
    long & val
);

Extracts a long.

extract virtual

bool extract(
    std::size_t pos,
    unsigned long & val
);

Extracts an unsigned long.

extract virtual

bool extract(
    std::size_t pos,
    std::vector < long > & val
);

Extracts a long vector.

extract virtual

bool extract(
    std::size_t pos,
    std::deque < long > & val
);

Extracts a long deque.

extract virtual

bool extract(
    std::size_t pos,
    std::list < long > & val
);

Extracts a long list.

extract virtual

bool extract(
    std::size_t pos,
    bool & val
);

Extracts a boolean.

extract virtual

bool extract(
    std::size_t pos,
    std::vector < bool > & val
);

Extracts a boolean vector.

extract virtual

bool extract(
    std::size_t pos,
    std::deque < bool > & val
);

Extracts a boolean deque.

extract virtual

bool extract(
    std::size_t pos,
    std::list < bool > & val
);

Extracts a boolean list.

extract virtual

bool extract(
    std::size_t pos,
    float & val
);

Extracts a float.

extract virtual

bool extract(
    std::size_t pos,
    std::vector < float > & val
);

Extracts a float vector.

extract virtual

bool extract(
    std::size_t pos,
    std::deque < float > & val
);

Extracts a float deque.

extract virtual

bool extract(
    std::size_t pos,
    std::list < float > & val
);

Extracts a float list.

extract virtual

bool extract(
    std::size_t pos,
    double & val
);

Extracts a double.

extract virtual

bool extract(
    std::size_t pos,
    std::vector < double > & val
);

Extracts a double vector.

extract virtual

bool extract(
    std::size_t pos,
    std::deque < double > & val
);

Extracts a double deque.

extract virtual

bool extract(
    std::size_t pos,
    std::list < double > & val
);

Extracts a double list.

extract virtual

bool extract(
    std::size_t pos,
    char & val
);

Extracts a single character.

extract virtual

bool extract(
    std::size_t pos,
    std::vector < char > & val
);

Extracts a single character vector.

extract virtual

bool extract(
    std::size_t pos,
    std::deque < char > & val
);

Extracts a single character deque.

extract virtual

bool extract(
    std::size_t pos,
    std::list < char > & val
);

Extracts a single character list.

extract virtual

bool extract(
    std::size_t pos,
    std::string & val
);

Extracts a string.

extract virtual

bool extract(
    std::size_t pos,
    std::vector < std::string > & val
);

Extracts a string vector.

extract virtual

bool extract(
    std::size_t pos,
    std::deque < std::string > & val
);

Extracts a string deque.

extract virtual

bool extract(
    std::size_t pos,
    std::list < std::string > & val
);

Extracts a string list. Extracts a single character list.

extract virtual

bool extract(
    std::size_t pos,
    UTF16String & val
);

Extracts a string.

extract virtual

bool extract(
    std::size_t pos,
    std::vector < UTF16String > & val
);

Extracts a string vector.

extract virtual

bool extract(
    std::size_t pos,
    std::deque < UTF16String > & val
);

Extracts a string deque.

extract virtual

bool extract(
    std::size_t pos,
    std::list < UTF16String > & val
);

Extracts a string list.

extract

bool extract(
    std::size_t pos,
    Poco::Data::BLOB & val
);

Extracts a BLOB.

extract

bool extract(
    std::size_t pos,
    Poco::Data::CLOB & val
);

Extracts a CLOB.

extract

bool extract(
    std::size_t pos,
    std::vector < Poco::Data::BLOB > & val
);

Extracts a BLOB vector.

extract

bool extract(
    std::size_t pos,
    std::deque < Poco::Data::BLOB > & val
);

Extracts a BLOB deque.

extract

bool extract(
    std::size_t pos,
    std::list < Poco::Data::BLOB > & val
);

Extracts a BLOB list.

extract

bool extract(
    std::size_t pos,
    std::vector < Poco::Data::CLOB > & val
);

Extracts a CLOB vector.

extract

bool extract(
    std::size_t pos,
    std::deque < Poco::Data::CLOB > & val
);

Extracts a CLOB deque.

extract

bool extract(
    std::size_t pos,
    std::list < Poco::Data::CLOB > & val
);

Extracts a CLOB list.

extract

bool extract(
    std::size_t pos,
    Poco::Data::Date & val
);

Extracts a Date.

extract

bool extract(
    std::size_t pos,
    std::vector < Poco::Data::Date > & val
);

Extracts a Date vector.

extract

bool extract(
    std::size_t pos,
    std::deque < Poco::Data::Date > & val
);

Extracts a Date deque.

extract

bool extract(
    std::size_t pos,
    std::list < Poco::Data::Date > & val
);

Extracts a Date list.

extract

bool extract(
    std::size_t pos,
    Poco::Data::Time & val
);

Extracts a Time.

extract

bool extract(
    std::size_t pos,
    std::vector < Poco::Data::Time > & val
);

Extracts a Time vector.

extract

bool extract(
    std::size_t pos,
    std::deque < Poco::Data::Time > & val
);

Extracts a Time deque.

extract

bool extract(
    std::size_t pos,
    std::list < Poco::Data::Time > & val
);

Extracts a Time list.

extract

bool extract(
    std::size_t pos,
    Poco::DateTime & val
);

Extracts a DateTime.

extract

bool extract(
    std::size_t pos,
    std::vector < Poco::DateTime > & val
);

Extracts a DateTime vector.

extract

bool extract(
    std::size_t pos,
    std::deque < Poco::DateTime > & val
);

Extracts a DateTime deque.

extract

bool extract(
    std::size_t pos,
    std::list < Poco::DateTime > & val
);

Extracts a DateTime list.

extract

bool extract(
    std::size_t pos,
    Poco::UUID & val
);

Extracts a UUID.

extract

bool extract(
    std::size_t pos,
    Poco::Any & val
);

Extracts an Any.

extract

bool extract(
    std::size_t pos,
    std::vector < Poco::Any > & val
);

Extracts an Any vector.

extract

bool extract(
    std::size_t pos,
    std::deque < Poco::Any > & val
);

Extracts an Any deque.

extract

bool extract(
    std::size_t pos,
    std::list < Poco::Any > & val
);

Extracts an Any list.

extract

bool extract(
    std::size_t pos,
    Poco::DynamicAny & val
);

Extracts a DynamicAny.

extract

bool extract(
    std::size_t pos,
    std::vector < Poco::DynamicAny > & val
);

Extracts a DynamicAny vector.

extract

bool extract(
    std::size_t pos,
    std::deque < Poco::DynamicAny > & val
);

Extracts a DynamicAny deque.

extract

bool extract(
    std::size_t pos,
    std::list < Poco::DynamicAny > & val
);

Extracts a DynamicAny list.

getDataExtraction inline

Preparator::DataExtraction getDataExtraction() const;

Returns data extraction mode.

isNull virtual

bool isNull(
    std::size_t col,
    std::size_t row = POCO_DATA_INVALID_ROW
);

Returns true if the value at [col,row] is null.

reset virtual inline

void reset();

Resets the internally cached length indicators.

setDataExtraction inline

void setDataExtraction(
    Preparator::DataExtraction ext
);

Set data extraction mode.