eckit::sql::SQLDatabase class

Constructors, destructors, conversion operators

SQLDatabase(const std::string& name = "default")
~SQLDatabase() virtual
SQLDatabase(const SQLDatabase&) deleted
SQLDatabase(SQLDatabase&&) defaulted

Public functions

auto operator=(const SQLDatabase&) -> SQLDatabase& deleted
auto operator=(SQLDatabase&&) -> SQLDatabase& defaulted
void open()
void close()
auto hasTable(const std::string& name) const -> bool
Access SQLTables in DB.
auto table(const std::string& name) -> SQLTable&
auto defaultTable() -> SQLTable&
auto implicitTables() -> std::vector<std::reference_wrapper<SQLTable>>
void addTable(SQLTable* table)
void addImplicitTable(SQLTable* table)
void setLinks(const Links&)
void setLinks()
void addLinks(const Links& ls)
auto links() -> Links&
auto name() const -> const std::string&
auto getVariable(const std::string&) const -> std::shared_ptr<expression::SQLExpression>
void setVariable(const std::string&, std::shared_ptr<expression::SQLExpression>)
auto variables() -> Variables&
auto schemaAnalyzer() -> SchemaAnalyzer&
void setIncludePath(const std::string& includePath)
auto includePath() const -> const std::vector<eckit::PathName>&

Friends

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