eckit::sql::SQLTable class

Constructors, destructors, conversion operators

SQLTable(SQLDatabase&, const std::string&, const std::string&)
~SQLTable() virtual

Public functions

void loadIOMAP(std::istream&)
void addColumn(const std::string& name, int index, const type::SQLType& type, bool hasMissingValue, double missingValue, bool isBitfield = false, const BitfieldDef& bitfieldDef = BitfieldDef())
void addLinkFrom(const SQLTable&)
auto hasLinkFrom(const SQLTable&) const -> bool
void addLinkTo(const SQLTable&)
auto hasLinkTo(const SQLTable&) const -> bool
auto isParentOf(const SQLTable&) const -> bool
auto column(const std::string&) const -> const SQLColumn& virtual
void updateColumnDoublesWidth(const std::string& name, size_t nDoubles)
void updateColumnMissingValues(const std::string& name, bool hasMissing, double missingValue)
auto hasColumn(const std::string& name) const -> bool virtual
auto noRows() const -> unsigned long long
auto columnNames() const -> ColumnNames
auto bitColumnNames(const std::string&) const -> FieldNames
auto name() const -> const std::string&
auto fullName() const -> std::string
auto owner() const -> SQLDatabase&
auto path() const -> const std::string&
void print(std::ostream& s) const virtual
auto iterator(const std::vector<std::reference_wrapper<const SQLColumn>>&, std::function<void(SQLTableIterator&)> metadataUpdateCallback) const -> SQLTableIterator* pure virtual

Private functions

auto createSQLColumn(const type::SQLType& type, const std::string& name, size_t index, bool hasMissingValue, double missingValue, const BitfieldDef& d = BitfieldDef()) -> SQLColumn* virtual

Friends

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