eckit::sql::expression::function::FunctionSTDEV class

Base classes

class FunctionVAR

Public static functions

static auto arity() -> int
static auto help() -> const char*
static auto number(double) -> std::shared_ptr<SQLExpression>

Constructors, destructors, conversion operators

FunctionSTDEV(const std::string&, const expression::Expressions&)
FunctionSTDEV(const FunctionSTDEV&)
~FunctionSTDEV()

Public functions

auto clone() const -> std::shared_ptr<SQLExpression> override
void prepare(SQLSelect&) override
void cleanup(SQLSelect&) override
void partialResult() override
auto isAggregate() const -> bool override
void eval(double* out, bool& missing) const virtual
void print(std::ostream& s) const override
void preprepare(SQLSelect&) override
void updateType(SQLSelect& sql) override
auto isConstant() const -> bool override
auto simplify(bool&) -> std::shared_ptr<SQLExpression> override
auto reshift(int minColumnShift) const -> std::shared_ptr<SQLExpression> override
auto args() -> expression::Expressions&
auto evalAsString(bool& missing) const -> std::string virtual
auto andSplit(expression::Expressions&) -> bool virtual
auto isNumber() const -> bool virtual
void title(const std::string&) virtual
auto title() const -> std::string virtual
void output(SQLOutput&) const 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

auto eval(bool& missing) const -> double override
auto type() const -> const eckit::sql::type::SQLType* override

Function documentation

static int eckit::sql::expression::function::FunctionSTDEV::arity()

static const char* eckit::sql::expression::function::FunctionSTDEV::help()

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

void eckit::sql::expression::function::FunctionSTDEV::prepare(SQLSelect&) override

void eckit::sql::expression::function::FunctionSTDEV::cleanup(SQLSelect&) override

void eckit::sql::expression::function::FunctionSTDEV::partialResult() override

bool eckit::sql::expression::function::FunctionSTDEV::isAggregate() const override

void eckit::sql::expression::function::FunctionSTDEV::eval(double* out, bool& missing) const virtual

void eckit::sql::expression::function::FunctionSTDEV::print(std::ostream& s) const override

void eckit::sql::expression::function::FunctionSTDEV::preprepare(SQLSelect&) override

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

void eckit::sql::expression::function::FunctionSTDEV::updateType(SQLSelect& sql) override

bool eckit::sql::expression::function::FunctionSTDEV::isConstant() const override

std::shared_ptr<SQLExpression> eckit::sql::expression::function::FunctionSTDEV::simplify(bool&) override

std::shared_ptr<SQLExpression> eckit::sql::expression::function::FunctionSTDEV::reshift(int minColumnShift) const override

expression::Expressions& eckit::sql::expression::function::FunctionSTDEV::args()

std::string eckit::sql::expression::function::FunctionSTDEV::evalAsString(bool& missing) const virtual

bool eckit::sql::expression::function::FunctionSTDEV::andSplit(expression::Expressions&) virtual

bool eckit::sql::expression::function::FunctionSTDEV::isNumber() const virtual

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

std::string eckit::sql::expression::function::FunctionSTDEV::title() const virtual

void eckit::sql::expression::function::FunctionSTDEV::output(SQLOutput&) const virtual

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

bool eckit::sql::expression::function::FunctionSTDEV::isBitfield() const virtual

BitfieldDef eckit::sql::expression::function::FunctionSTDEV::bitfieldDef() const

bool eckit::sql::expression::function::FunctionSTDEV::hasMissingValue() const virtual

double eckit::sql::expression::function::FunctionSTDEV::missingValue() const