class
#include <eckit/sql/SQLOutput.h>
SQLOutput
Derived classes
- class SQLDistinctOutput
-
template<typename T = odb::SelectIterator>class SQLIteratorOutput
- class SQLMATCHSubquerySessionOutput
- class SQLOrderOutput
- class SQLSimpleOutput
Constructors, destructors, conversion operators
- SQLOutput()
- ~SQLOutput() virtual
Public functions
- void preprepare(SQLSelect&) virtual
- void prepare(SQLSelect&) pure virtual
- void updateTypes(SQLSelect&) virtual
- void cleanup(SQLSelect&) pure virtual
- void reset() pure virtual
- void flush() pure virtual
- auto cachedNext() -> bool virtual
-
auto output(const expression::
Expressions&) -> bool pure virtual - void outputReal(double, bool) pure virtual
- void outputDouble(double, bool) pure virtual
- void outputInt(double, bool) pure virtual
- void outputUnsignedInt(double, bool) pure virtual
- void outputString(const char*, size_t, bool) pure virtual
- void outputBitfield(double, bool) pure virtual
- auto count() -> unsigned long long pure virtual
Private functions
-
void print(std::
ostream&) const virtual
Friends
-
auto operator<<(std::
ostream& s, const SQLOutput& p) -> std:: ostream&
Function documentation
bool eckit:: sql:: SQLOutput:: cachedNext() virtual
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.