OmniSciDB
a5dc49c757
|
Go to the source code of this file.
Classes | |
class | OverflowOrUnderflow |
Functions | |
const SQLTypeInfo | get_compact_type (const TargetInfo &target) |
void | set_compact_type (TargetInfo &target, const SQLTypeInfo &new_type) |
int64_t | inline_int_null_val (const SQLTypeInfo &ti) |
int64_t | inline_fixed_encoding_null_val (const SQLTypeInfo &ti) |
double | inline_fp_null_val (const SQLTypeInfo &ti) |
uint64_t | exp_to_scale (const unsigned exp) |
size_t | get_bit_width (const SQLTypeInfo &ti) |
bool | is_unsigned_type (const SQLTypeInfo &ti) |
|
inline |
Definition at line 167 of file SqlTypesLayout.h.
References run_benchmark_import::res.
Referenced by Executor::castToFP(), CodeGenerator::codegenCastBetweenIntTypes(), CodeGenerator::codegenCmpDecimalConst(), CodeGenerator::codegenDeciDiv(), CodeGenerator::codegenDiv(), CodeGenerator::codegenFunctionOperWithCustomTypeHandling(), getExpressionRange(), anonymous_namespace{RelAlgTranslator.cpp}::makeNumericConstant(), ResultSet::makeTargetValue(), pair_to_double(), and anonymous_namespace{ExpressionRange.cpp}::scale_up_interval_endpoint().
|
inline |
Definition at line 175 of file SqlTypesLayout.h.
References SQLTypeInfo::get_elem_type(), SQLTypeInfo::get_size(), SQLTypeInfo::get_type(), SQLTypeInfo::is_decimal(), kARRAY, kBIGINT, kBOOLEAN, kCHAR, kCOLUMN, kCOLUMN_LIST, kDATE, kDOUBLE, kFLOAT, kINT, kINTERVAL_DAY_TIME, kINTERVAL_YEAR_MONTH, kLINESTRING, kMULTILINESTRING, kMULTIPOINT, kMULTIPOLYGON, kNULLT, kPOINT, kPOLYGON, kSMALLINT, kTEXT, kTIME, kTIMESTAMP, kTINYINT, kVARCHAR, and UNREACHABLE.
Referenced by anonymous_namespace{TableFunctionExecutionContext.cpp}::append_literal_buffer(), CodeGenerator::codegen(), CodeGenerator::codegenCastBetweenIntTypes(), CodeGenerator::codegenCastFromFp(), CodeGenerator::codegenHoistedConstantsLoads(), ColSlotContext::ColSlotContext(), TableFunctionExecutionContext::execute(), TableFunctionCompilationContext::generateEntryPoint(), get_agg_initial_val(), anonymous_namespace{ColumnIR.cpp}::get_col_bit_width(), anonymous_namespace{QueryMemoryDescriptor.cpp}::get_col_byte_widths(), anonymous_namespace{QueryMemoryDescriptor.cpp}::is_int_and_no_bigger_than(), and result_set::lazy_decode().
|
inline |
Definition at line 37 of file SqlTypesLayout.h.
References agg_arg(), TargetInfo::agg_arg_type, TargetInfo::agg_kind, CHECK, TargetInfo::is_agg, is_agg_domain_range_equivalent(), TargetInfo::is_distinct, kNULLT, SQLTypeInfo::set_notnull(), and TargetInfo::sql_type.
Referenced by anonymous_namespace{TargetExprBuilder.cpp}::agg_fn_base_names(), baseline_sort(), anonymous_namespace{ResultSetSortImpl.cu}::baseline_sort_int(), anonymous_namespace{GpuSharedMemoryUtils.cpp}::codegen_smem_dest_slot_ptr(), TargetExprCodegen::codegenAggregate(), ColSlotContext::ColSlotContext(), anonymous_namespace{ResultSetReductionJIT.cpp}::emit_aggregate_one_nullable_value(), anonymous_namespace{ResultSetReductionJIT.cpp}::emit_aggregate_one_value(), anonymous_namespace{QueryMemoryDescriptor.cpp}::get_col_byte_widths(), anonymous_namespace{GroupByAndAggregate.cpp}::get_keyless_info(), init_agg_val_vec(), ResultSet::makeTargetValue(), ResultSet::ResultSetComparator< BUFFER_ITERATOR_TYPE >::operator()(), ResultSetStorage::reduceSingleRow(), and set_notnull().
|
inline |
Definition at line 111 of file SqlTypesLayout.h.
References CHECK, CHECK_EQ, SQLTypeInfo::get_comp_param(), SQLTypeInfo::get_compression(), SQLTypeInfo::get_size(), inline_int_null_val(), SQLTypeInfo::is_decimal(), SQLTypeInfo::is_integer(), SQLTypeInfo::is_string(), SQLTypeInfo::is_time(), kENCODING_DATE_IN_DAYS, kENCODING_DICT, kENCODING_FIXED, and kENCODING_NONE.
|
inline |
Definition at line 154 of file SqlTypesLayout.h.
References CHECK, SQLTypeInfo::get_type(), inline_fp_null_value< double >(), inline_fp_null_value< float >(), SQLTypeInfo::is_fp(), kDOUBLE, kFLOAT, and run_benchmark_import::type.
|
inline |
Definition at line 79 of file SqlTypesLayout.h.
References CHECK_EQ, SQLTypeInfo::get_compression(), SQLTypeInfo::get_logical_size(), SQLTypeInfo::get_type(), SQLTypeInfo::is_string(), kBIGINT, kBOOLEAN, kDATE, kDECIMAL, kENCODING_DICT, kINT, kINTERVAL_DAY_TIME, kINTERVAL_YEAR_MONTH, kNUMERIC, kSMALLINT, kTIME, kTIMESTAMP, kTINYINT, and run_benchmark_import::type.
|
inline |
Definition at line 232 of file SqlTypesLayout.h.
References SQLTypeInfo::get_compression(), SQLTypeInfo::get_logical_size(), SQLTypeInfo::get_size(), and kENCODING_DICT.
Referenced by get_join_column_type_kind().
|
inline |
Definition at line 65 of file SqlTypesLayout.h.
References agg_arg(), TargetInfo::agg_arg_type, TargetInfo::agg_kind, TargetInfo::is_agg, kNULLT, and TargetInfo::sql_type.
Referenced by set_notnull().