eckit::sql::SQLSession class

Derived classes

class SQLMATCHSubquerySession

Public static functions

static auto readIncludeFile(const std::string&) -> std::string

Constructors, destructors, conversion operators

SQLSession(std::unique_ptr<SQLOutput> out, std::unique_ptr<SQLOutputConfig> config = 0, const std::string& csvDelimiter = ",")
SQLSession(std::unique_ptr<SQLOutputConfig> config, const std::string& csvDelimiter = ",")
SQLSession(std::unique_ptr<SQLOutput> out, const std::string& csvDelimiter)
SQLSession(const std::string& csvDelimiter = ",")
~SQLSession() virtual

Public functions

auto selectFactory() -> SQLSelectFactory& virtual
auto findTable(const std::string& name) -> SQLTable& virtual
void setStatement(SQLStatement*) virtual
auto statement() -> SQLStatement& virtual
auto output() -> SQLOutput& virtual
auto currentDatabase() const -> const SQLDatabase& virtual
auto currentDatabase() -> SQLDatabase& virtual
auto execute(SQLStatement&) -> unsigned long long virtual
void interactive() virtual
auto lastExecuteResult() -> unsigned long long
auto csvDelimiter() -> std::string
auto newFileOutput(const eckit::PathName& path) -> std::unique_ptr<SQLOutput>

Friends

auto operator<<(std::ostream& s, const SQLSession& p) -> std::ostream&