class
#include <eckit/sql/SQLSimpleOutput.h>
SQLSimpleOutput
Base classes
- class SQLOutput
Constructors, destructors, conversion operators
-
SQLSimpleOutput(const SQLOutputConfig& config,
std::
ostream& out) - ~SQLSimpleOutput() override
Public functions
- void preprepare(SQLSelect&) virtual
- auto cachedNext() -> bool virtual
Private functions
-
void print(std::
ostream&) const override - void reset() override
- void flush() override
-
auto output(const expression::
Expressions&) -> bool override - void prepare(SQLSelect&) override
- void updateTypes(SQLSelect&) override
- void cleanup(SQLSelect&) override
- auto count() -> unsigned long long override
- void outputReal(double, bool) override
- void outputDouble(double, bool) override
- void outputInt(double, bool) override
- void outputUnsignedInt(double, bool) override
- void outputString(const char*, size_t, bool) override
- void outputBitfield(double, bool) override
Function documentation
void eckit:: sql:: SQLSimpleOutput:: preprepare(SQLSelect&) virtual
#include <eckit/sql/SQLOutput.h>
bool eckit:: sql:: SQLSimpleOutput:: cachedNext() virtual
#include <eckit/sql/SQLOutput.h>
If an iterator in the chain has started caching output (e.g. the OrderBy iterator), start flushing those through. Returns true when row is output, false otherwise.