#include <WriterBufferingIterator.h>
|
| | WriterBufferingIterator (Owner &owner, eckit::DataHandle *, bool openDataHandle, const odc::sql::TableDef *tableDef=0) |
| |
| | ~WriterBufferingIterator () |
| |
| int | open () |
| |
| double * | data () |
| |
| double & | data (size_t i) |
| |
| int | setColumn (size_t index, std::string name, api::ColumnType type) |
| |
| int | setBitfieldColumn (size_t index, std::string name, api::ColumnType type, eckit::sql::BitfieldDef b) |
| |
| void | missingValue (size_t i, double) |
| |
| template<typename T > |
| unsigned long | pass1 (T &, const T &) |
| |
| unsigned long | gatherStats (const double *values, unsigned long count) |
| |
| int | close () |
| |
| const core::MetaData & | columns () const |
| |
| const core::MetaData & | columns (const core::MetaData &md) |
| |
| void | setNumberOfColumns (size_t n) |
| |
| Owner & | owner () |
| |
| eckit::DataHandle & | dataHandle () |
| |
| void | property (std::string key, std::string value) |
| |
| size_t | dataOffset (size_t i) const |
| | The offset of a given column in the doubles[] data array. More...
|
| |
| int | setOptimalCodecs () |
| |
| void | writeHeader () |
| |
| int | writeRow (const double *values, unsigned long count) |
| |
| size_t | rowDataSizeDoubles () const |
| |
| size_t | rowsBufferSize () |
| |
| void | rowsBufferSize (size_t n) |
| |
| void | flush () |
| |
| std::vector< eckit::PathName > | outputFiles () |
| |
| bool | next () |
| |
Definition at line 34 of file WriterBufferingIterator.h.
◆ Owner
◆ WriterBufferingIterator() [1/2]
| odc::WriterBufferingIterator::WriterBufferingIterator |
( |
Owner & |
owner, |
|
|
eckit::DataHandle * |
dh, |
|
|
bool |
openDataHandle, |
|
|
const odc::sql::TableDef * |
tableDef = 0 |
|
) |
| |
◆ ~WriterBufferingIterator()
| odc::WriterBufferingIterator::~WriterBufferingIterator |
( |
| ) |
|
◆ WriterBufferingIterator() [2/2]
◆ allocBuffers()
| void odc::WriterBufferingIterator::allocBuffers |
( |
| ) |
|
|
private |
◆ allocRowsBuffer()
| void odc::WriterBufferingIterator::allocRowsBuffer |
( |
| ) |
|
|
private |
◆ close()
| int odc::WriterBufferingIterator::close |
( |
| ) |
|
◆ columns() [1/2]
◆ columns() [2/2]
◆ data() [1/2]
| double * odc::WriterBufferingIterator::data |
( |
| ) |
|
◆ data() [2/2]
| double & odc::WriterBufferingIterator::data |
( |
size_t |
i | ) |
|
◆ dataHandle()
| eckit::DataHandle& odc::WriterBufferingIterator::dataHandle |
( |
| ) |
|
|
inline |
◆ dataOffset()
| size_t odc::WriterBufferingIterator::dataOffset |
( |
size_t |
i | ) |
const |
|
inline |
◆ doWriteRow()
◆ flush()
| void odc::WriterBufferingIterator::flush |
( |
| ) |
|
◆ gatherStats()
| unsigned long odc::WriterBufferingIterator::gatherStats |
( |
const double * |
values, |
|
|
unsigned long |
count |
|
) |
| |
◆ missingValue()
| void odc::WriterBufferingIterator::missingValue |
( |
size_t |
i, |
|
|
double |
missingValue |
|
) |
| |
◆ next()
| bool odc::WriterBufferingIterator::next |
( |
| ) |
|
◆ open()
| int odc::WriterBufferingIterator::open |
( |
| ) |
|
◆ operator=()
◆ outputFiles()
| std::vector< eckit::PathName > odc::WriterBufferingIterator::outputFiles |
( |
| ) |
|
◆ owner()
| Owner& odc::WriterBufferingIterator::owner |
( |
| ) |
|
|
inline |
◆ pass1()
template<typename T >
| unsigned long odc::WriterBufferingIterator::pass1 |
( |
T & |
it, |
|
|
const T & |
end |
|
) |
| |
◆ pass1init()
template<typename T >
| void odc::WriterBufferingIterator::pass1init |
( |
T & |
it, |
|
|
const T & |
end |
|
) |
| |
|
private |
◆ property()
| void odc::WriterBufferingIterator::property |
( |
std::string |
key, |
|
|
std::string |
value |
|
) |
| |
|
inline |
◆ resetColumnsBuffer()
| void odc::WriterBufferingIterator::resetColumnsBuffer |
( |
| ) |
|
|
private |
◆ rowDataSizeDoubles()
| size_t odc::WriterBufferingIterator::rowDataSizeDoubles |
( |
| ) |
const |
|
inline |
◆ rowDataSizeDoublesInternal()
| size_t odc::WriterBufferingIterator::rowDataSizeDoublesInternal |
( |
| ) |
const |
|
private |
◆ rowsBufferSize() [1/2]
| size_t odc::WriterBufferingIterator::rowsBufferSize |
( |
| ) |
|
|
inline |
◆ rowsBufferSize() [2/2]
| void odc::WriterBufferingIterator::rowsBufferSize |
( |
size_t |
n | ) |
|
|
inline |
◆ serializeHeader()
| std::pair< Buffer, size_t > odc::WriterBufferingIterator::serializeHeader |
( |
size_t |
dataSize, |
|
|
size_t |
rowsNumber |
|
) |
| |
|
private |
◆ setBitfieldColumn()
| int odc::WriterBufferingIterator::setBitfieldColumn |
( |
size_t |
index, |
|
|
std::string |
name, |
|
|
api::ColumnType |
type, |
|
|
eckit::sql::BitfieldDef |
b |
|
) |
| |
◆ setColumn()
| int odc::WriterBufferingIterator::setColumn |
( |
size_t |
index, |
|
|
std::string |
name, |
|
|
api::ColumnType |
type |
|
) |
| |
◆ setNumberOfColumns()
| void odc::WriterBufferingIterator::setNumberOfColumns |
( |
size_t |
n | ) |
|
|
inline |
◆ setOptimalCodecs()
| int odc::WriterBufferingIterator::setOptimalCodecs |
( |
| ) |
|
◆ writeHeader()
| void odc::WriterBufferingIterator::writeHeader |
( |
| ) |
|
◆ writeRow()
| int odc::WriterBufferingIterator::writeRow |
( |
const double * |
values, |
|
|
unsigned long |
count |
|
) |
| |
◆ IteratorProxy< WriterBufferingIterator, Owner >
◆ codecOptimizer_
◆ columnByteSizes_
| size_t* odc::WriterBufferingIterator::columnByteSizes_ |
|
protected |
◆ columnOffsets_
| size_t* odc::WriterBufferingIterator::columnOffsets_ |
|
protected |
◆ columns_
◆ f_
| eckit::DataHandle* odc::WriterBufferingIterator::f_ |
|
protected |
◆ initialisedColumns_
| bool odc::WriterBufferingIterator::initialisedColumns_ |
|
private |
◆ lastValues_
| double* odc::WriterBufferingIterator::lastValues_ |
|
protected |
◆ nextRow_
| double* odc::WriterBufferingIterator::nextRow_ |
|
protected |
◆ nextRowInBuffer_
| unsigned char* odc::WriterBufferingIterator::nextRowInBuffer_ |
|
private |
◆ nrows_
| unsigned long long odc::WriterBufferingIterator::nrows_ |
|
protected |
◆ openDataHandle_
| bool odc::WriterBufferingIterator::openDataHandle_ |
|
private |
◆ owner_
| Owner& odc::WriterBufferingIterator::owner_ |
|
protected |
◆ path_
| eckit::PathName odc::WriterBufferingIterator::path_ |
|
protected |
◆ properties_
◆ refCount_
| int odc::WriterBufferingIterator::refCount_ |
◆ rowByteSize_
| size_t odc::WriterBufferingIterator::rowByteSize_ |
|
private |
◆ rowDataSizeDoubles_
| size_t odc::WriterBufferingIterator::rowDataSizeDoubles_ |
|
private |
◆ rowsBuffer_
| eckit::Buffer odc::WriterBufferingIterator::rowsBuffer_ |
|
private |
◆ rowsBufferSize_
| size_t odc::WriterBufferingIterator::rowsBufferSize_ |
|
private |
◆ tableDef_
| const odc::sql::TableDef* odc::WriterBufferingIterator::tableDef_ |
|
private |
The documentation for this class was generated from the following files: