Class table_functions::TableFunction

class TableFunction

Public Functions

TableFunction(const std::string &name, const TableFunctionOutputRowSizer output_sizer, const std::vector<ExtArgumentType> &input_args, const std::vector<ExtArgumentType> &output_args, const std::vector<ExtArgumentType> &sql_args, const std::vector<std::map<std::string, std::string>> &annotations, bool is_runtime, bool uses_manager)
std::vector<ExtArgumentType> getArgs(const bool ensure_column = false) const
const std::vector<ExtArgumentType> &getInputArgs() const
const std::vector<ExtArgumentType> &getOutputArgs() const
const std::vector<ExtArgumentType> &getSqlArgs() const
const std::vector<std::map<std::string, std::string>> &getAnnotations() const
const ExtArgumentType getRet() const
SQLTypeInfo getInputSQLType(const size_t idx) const
SQLTypeInfo getOutputSQLType(const size_t idx) const
int32_t countScalarArgs() const
auto getInputsSize() const
auto getOutputsSize() const
std::string getName(const bool drop_suffix = false, const bool lower = false) const
auto getSignature() const
bool hasCompileTimeOutputSizeConstant() const
bool hasPreFlightOutputSizer() const
bool hasUserSpecifiedOutputSizeConstant() const
bool hasConstantOutputSize() const
bool hasTableFunctionSpecifiedParameter() const
bool hasUserSpecifiedOutputSizeParameter() const
bool hasNonUserSpecifiedOutputSize() const
bool hasOutputSizeIndependentOfInputSize() const
bool hasOutputSizeKnownPreLaunch() const
bool hasUserSpecifiedOutputSizeMultiplier() const
OutputBufferSizeType getOutputRowSizeType() const
size_t getOutputRowSizeParameter() const
bool containsPreFlightFn() const
std::string getPreFlightFnName() const
const std::map<std::string, std::string> &getAnnotation(const size_t idx) const
const std::map<std::string, std::string> &getInputAnnotation(const size_t input_arg_idx) const
const std::map<std::string, std::string> &getOutputAnnotation(const size_t output_arg_idx) const
const std::map<std::string, std::string> &getFunctionAnnotation() const
std::pair<int32_t, int32_t> getInputID(const size_t idx) const
size_t getSqlOutputRowSizeParameter() const
size_t getOutputRowSizeParameter(const std::vector<SQLTypeInfo> &variant) const
bool isRuntime() const
bool usesManager() const
bool isGPU() const
bool isCPU() const
bool useDefaultSizer() const
std::string toString() const
std::string toStringSQL() const

Private Members

const std::string name_
const TableFunctionOutputRowSizer output_sizer_
const std::vector<ExtArgumentType> input_args_
const std::vector<ExtArgumentType> output_args_
const std::vector<ExtArgumentType> sql_args_
const std::vector<std::map<std::string, std::string>> annotations_
const bool is_runtime_
const bool uses_manager_