eckit::sql::expression::SQLExpressionEvaluated class

Base classes

class SQLExpression

Public static functions

static auto number(double) -> std::shared_ptr<SQLExpression>

Constructors, destructors, conversion operators

SQLExpressionEvaluated(SQLExpression&)
~SQLExpressionEvaluated() override

Public functions

void prepare(SQLSelect&) override
void updateType(SQLSelect&) override
void cleanup(SQLSelect&) override
auto eval(bool& missing) const -> double override
void eval(double* out, bool& missing) const override
auto evalAsString(bool& missing) const -> std::string override
auto isConstant() const -> bool override
auto isNumber() const -> bool override
auto simplify(bool&) -> std::shared_ptr<SQLExpression> override
auto clone() const -> std::shared_ptr<SQLExpression> override
auto reshift(int minColumnShift) const -> std::shared_ptr<SQLExpression> override
auto isAggregate() const -> bool override
auto type() const -> const type::SQLType* override
void output(SQLOutput& o) const override
void preprepare(SQLSelect&) virtual
auto andSplit(expression::Expressions&) -> bool virtual
void tables(std::set<const SQLTable*>&) virtual
void title(const std::string&) virtual
auto title() const -> std::string virtual
void partialResult() virtual
void expandStars(const std::vector<std::reference_wrapper<const SQLTable>>&, expression::Expressions&) virtual
auto isBitfield() const -> bool virtual
auto bitfieldDef() const -> BitfieldDef
auto hasMissingValue() const -> bool virtual
auto missingValue() const -> double
auto shared_from_this(T... args) -> T
auto weak_from_this(T... args) -> T

Private functions

void print(std::ostream&) const override

Friends

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

Function documentation

static std::shared_ptr<SQLExpression> eckit::sql::expression::SQLExpressionEvaluated::number(double)

void eckit::sql::expression::SQLExpressionEvaluated::preprepare(SQLSelect&) virtual

pre-prepare ideally wouldn't exist. To enable a two-pass prepare of SQL columns for SQLSelect, this is here.

bool eckit::sql::expression::SQLExpressionEvaluated::andSplit(expression::Expressions&) virtual

void eckit::sql::expression::SQLExpressionEvaluated::tables(std::set<const SQLTable*>&) virtual

void eckit::sql::expression::SQLExpressionEvaluated::title(const std::string&) virtual

std::string eckit::sql::expression::SQLExpressionEvaluated::title() const virtual

void eckit::sql::expression::SQLExpressionEvaluated::partialResult() virtual

void eckit::sql::expression::SQLExpressionEvaluated::expandStars(const std::vector<std::reference_wrapper<const SQLTable>>&, expression::Expressions&) virtual

bool eckit::sql::expression::SQLExpressionEvaluated::isBitfield() const virtual

BitfieldDef eckit::sql::expression::SQLExpressionEvaluated::bitfieldDef() const

bool eckit::sql::expression::SQLExpressionEvaluated::hasMissingValue() const virtual

double eckit::sql::expression::SQLExpressionEvaluated::missingValue() const