OmniSciDB
a5dc49c757
|
#include <NPoints.h>
Public Member Functions | |
NPoints (const Analyzer::GeoOperator *geo_operator) | |
size_t | size () const final |
SQLTypeInfo | getNullType () const final |
const Analyzer::Expr * | getOperand (const size_t index) final |
std::tuple< std::vector < llvm::Value * >, llvm::Value * > | codegenLoads (const std::vector< llvm::Value * > &arg_lvs, const std::vector< llvm::Value * > &pos_lvs, CgenState *cgen_state) final |
std::vector< llvm::Value * > | codegen (const std::vector< llvm::Value * > &args, CodeGenerator::NullCheckCodegen *nullcheck_codegen, CgenState *cgen_state, const CompilationOptions &co) final |
Public Member Functions inherited from spatial_type::Codegen | |
Codegen (const Analyzer::GeoOperator *geo_operator) | |
auto | isNullable () const |
auto | getTypeInfo () const |
std::string | getName () const |
virtual std::unique_ptr < CodeGenerator::NullCheckCodegen > | getNullCheckCodegen (llvm::Value *null_lv, CgenState *cgen_state, Executor *executor) |
virtual | ~Codegen () |
Protected Attributes | |
SQLTypeInfo | geo_ti_ |
std::unique_ptr < Analyzer::ColumnVar > | col_var_owned_ |
Protected Attributes inherited from spatial_type::Codegen | |
const Analyzer::GeoOperator * | operator_ |
bool | is_nullable_ {true} |
Additional Inherited Members | |
Static Public Member Functions inherited from spatial_type::Codegen | |
static std::unique_ptr< Codegen > | init (const Analyzer::GeoOperator *geo_operator) |
static char const * | pointIsNullFunctionName (SQLTypeInfo const &) |
|
inline |
Definition at line 26 of file NPoints.h.
|
inlinefinalvirtual |
Implements spatial_type::Codegen.
Definition at line 111 of file NPoints.h.
References run_benchmark_import::args, CHECK, CHECK_EQ, and kENCODING_GEOINT.
|
inlinefinalvirtual |
Implements spatial_type::Codegen.
Definition at line 54 of file NPoints.h.
References CHECK, CHECK_GT, get_column_descriptor(), SQLTypeInfo::get_elem_type(), get_int_type(), Analyzer::Expr::get_type_info(), getOperand(), Analyzer::GeoOperator::getOperand(), spatial_type::Codegen::getTypeInfo(), spatial_type::Codegen::isNullable(), kPOINT, log2_bytes(), and spatial_type::Codegen::operator_.
|
inlinefinalvirtual |
Implements spatial_type::Codegen.
Definition at line 30 of file NPoints.h.
References kINT.
|
inlinefinalvirtual |
Reimplemented from spatial_type::Codegen.
Definition at line 32 of file NPoints.h.
References CHECK, CHECK_EQ, col_var_owned_, geo_ti_, get_column_descriptor(), SQLTypeInfo::get_notnull(), Analyzer::GeoOperator::getOperand(), SQLTypeInfo::is_geometry(), spatial_type::Codegen::is_nullable_, and spatial_type::Codegen::operator_.
Referenced by codegenLoads().
|
inlinefinalvirtual |
|
protected |
Definition at line 138 of file NPoints.h.
Referenced by getOperand().
|
protected |
Definition at line 137 of file NPoints.h.
Referenced by getOperand().