#include <SelectIterator.h>
|
| | SelectIterator (const std::string &select, eckit::sql::SQLSession &session, sql::SQLSelectOutput &output) |
| |
| | ~SelectIterator () |
| |
| bool | isNewDataset () |
| |
| const double * | data () const |
| |
| double & | data (size_t i) |
| |
| const core::MetaData & | columns () const |
| |
| const core::MetaData & | columns (const core::MetaData &) |
| |
| void | setNumberOfColumns (size_t) |
| |
| const std::map< std::string, std::string > & | properties () const |
| |
| int | close () |
| |
| int | setColumn (size_t index, std::string name, api::ColumnType type) |
| |
| void | writeHeader () |
| |
| int | setBitfieldColumn (size_t index, std::string name, api::ColumnType type, eckit::sql::BitfieldDef b) |
| |
| void | missingValue (size_t, double) |
| |
| void | setOutputRowBuffer (double *data, size_t count=0) |
| | Set an output buffer for retrieving the next row(s) More...
|
| |
| size_t | dataOffset (size_t i) const |
| | The offset of a given column in the doubles[] data array. More...
|
| |
| size_t | rowDataSizeDoubles () const |
| |
| bool | next () |
| |
Definition at line 45 of file SelectIterator.h.
◆ SelectIterator()
| odc::SelectIterator::SelectIterator |
( |
const std::string & |
select, |
|
|
eckit::sql::SQLSession & |
session, |
|
|
sql::SQLSelectOutput & |
output |
|
) |
| |
◆ ~SelectIterator()
| odc::SelectIterator::~SelectIterator |
( |
| ) |
|
◆ close()
| int odc::SelectIterator::close |
( |
| ) |
|
|
inline |
◆ columns() [1/2]
◆ columns() [2/2]
◆ data() [1/2]
| const double* odc::SelectIterator::data |
( |
| ) |
const |
|
inline |
◆ data() [2/2]
| double& odc::SelectIterator::data |
( |
size_t |
i | ) |
|
|
inline |
◆ dataOffset()
| size_t odc::SelectIterator::dataOffset |
( |
size_t |
i | ) |
const |
|
inline |
The offset of a given column in the doubles[] data array.
Definition at line 73 of file SelectIterator.h.
◆ isNewDataset()
| bool odc::SelectIterator::isNewDataset |
( |
| ) |
|
|
inline |
◆ missingValue()
| void odc::SelectIterator::missingValue |
( |
size_t |
, |
|
|
double |
|
|
) |
| |
|
inline |
◆ next()
| bool odc::SelectIterator::next |
( |
| ) |
|
◆ parse()
| void odc::SelectIterator::parse |
( |
| ) |
|
|
private |
◆ properties()
| const std::map<std::string, std::string>& odc::SelectIterator::properties |
( |
| ) |
const |
|
inline |
◆ rowDataSizeDoubles()
| size_t odc::SelectIterator::rowDataSizeDoubles |
( |
| ) |
const |
|
inline |
◆ setBitfieldColumn()
| int odc::SelectIterator::setBitfieldColumn |
( |
size_t |
index, |
|
|
std::string |
name, |
|
|
api::ColumnType |
type, |
|
|
eckit::sql::BitfieldDef |
b |
|
) |
| |
|
inline |
◆ setColumn()
| int odc::SelectIterator::setColumn |
( |
size_t |
index, |
|
|
std::string |
name, |
|
|
api::ColumnType |
type |
|
) |
| |
|
inline |
◆ setNumberOfColumns()
| void odc::SelectIterator::setNumberOfColumns |
( |
size_t |
| ) |
|
|
inline |
◆ setOutputRowBuffer()
| void odc::SelectIterator::setOutputRowBuffer |
( |
double * |
data, |
|
|
size_t |
count = 0 |
|
) |
| |
Set an output buffer for retrieving the next row(s)
Definition at line 66 of file SelectIterator.cc.
◆ writeHeader()
| void odc::SelectIterator::writeHeader |
( |
| ) |
|
|
inline |
◆ odc::IteratorProxy< odc::SelectIterator, odc::Select, const double >
◆ noMore_
| bool odc::SelectIterator::noMore_ |
|
private |
◆ output_
◆ refCount_
| int odc::SelectIterator::refCount_ |
|
protected |
◆ select_
| std::string odc::SelectIterator::select_ |
|
private |
◆ selectStmt_
| eckit::sql::SQLSelect* odc::SelectIterator::selectStmt_ |
|
private |
◆ session_
| eckit::sql::SQLSession& odc::SelectIterator::session_ |
|
private |
The documentation for this class was generated from the following files: