eckit::sql::SQLColumn class

Base classes

class SQLIterator

Derived classes

class SQLBitColumn

Constructors, destructors, conversion operators

SQLColumn(const type::SQLType&, SQLTable&, const std::string&, size_t index, bool hasMissingValue, double missingValue, const BitfieldDef& d = BitfieldDef())
~SQLColumn() override

Public functions

void scan()
auto noRows() const -> unsigned long long
auto name() const -> const std::string&
auto index() const -> int
void index(int i)
auto fullName() const -> std::string
auto table() const -> SQLTable*
auto hasMissingValue() const -> bool
auto missingValue() const -> double
void hasMissingValue(bool flag)
void missingValue(double val)
auto isBitfield() const -> bool
auto isMissingValue(const double* val) const -> bool
auto bitfieldDef() const -> const BitfieldDef&
auto dataSizeDoubles() const -> size_t override
void rewind() override
auto next(bool& missing) -> double override
void advance(unsigned long) override
auto type() const -> const type::SQLType&
void updateType(const type::SQLType& type)
void load() virtual
void unload() virtual

Private functions

void print(std::ostream&) const override

Function documentation

const type::SQLType& eckit::sql::SQLColumn::type() const

void eckit::sql::SQLColumn::updateType(const type::SQLType& type)

void eckit::sql::SQLColumn::load() virtual

void eckit::sql::SQLColumn::unload() virtual