OmniSciDB
a5dc49c757
|
#include "../Logger/Logger.h"
#include "funcannotations.h"
#include <cassert>
#include <cfloat>
#include <cstdint>
#include <cstdlib>
#include <limits>
#include <type_traits>
Go to the source code of this file.
Classes | |
struct | serialize_detail::IntType< overload > |
struct | serialize_detail::IntType< 1 > |
struct | serialize_detail::IntType< 2 > |
struct | serialize_detail::IntType< 4 > |
struct | serialize_detail::IntType< 8 > |
Namespaces | |
serialize_detail | |
Macros | |
#define | NULL_BOOLEAN INT8_MIN |
#define | NULL_TINYINT INT8_MIN |
#define | NULL_SMALLINT INT16_MIN |
#define | NULL_INT INT32_MIN |
#define | NULL_BIGINT INT64_MIN |
#define | NULL_FLOAT FLT_MIN |
#define | NULL_DOUBLE DBL_MIN |
#define | NULL_ARRAY_BOOLEAN (INT8_MIN + 1) |
#define | NULL_ARRAY_TINYINT (INT8_MIN + 1) |
#define | NULL_ARRAY_SMALLINT (INT16_MIN + 1) |
#define | NULL_ARRAY_INT (INT32_MIN + 1) |
#define | NULL_ARRAY_BIGINT (INT64_MIN + 1) |
#define | NULL_ARRAY_FLOAT (FLT_MIN * 2.0) |
#define | NULL_ARRAY_DOUBLE (DBL_MIN * 2.0) |
#define | NULL_ARRAY_COMPRESSED_32 0x80000000U |
#define | CONSTEXPR constexpr |
Functions | |
template<class T > | |
constexpr int64_t | inline_int_null_value () |
template<class T > | |
constexpr int64_t | inline_int_null_array_value () |
template<class T > | |
constexpr int64_t | max_valid_int_value () |
template<typename T > | |
constexpr T | inline_fp_null_value () |
template<> | |
constexpr float | inline_fp_null_value< float > () |
template<> | |
constexpr double | inline_fp_null_value< double > () |
template<typename T > | |
DEVICE T | inline_fp_null_array_value () |
template<> | |
DEVICE float | inline_fp_null_array_value< float > () |
template<> | |
DEVICE double | inline_fp_null_array_value< double > () |
template<typename SQL_TYPE_INFO > | |
int64_t | inline_int_null_val (const SQL_TYPE_INFO &ti) |
template<typename SQL_TYPE_INFO > | |
int64_t | inline_fixed_encoding_null_val (const SQL_TYPE_INFO &ti) |
template<typename SQL_TYPE_INFO > | |
double | inline_fp_null_val (const SQL_TYPE_INFO &ti) |
template<typename SQL_TYPE_INFO > | |
int64_t | inline_int_null_array_val (const SQL_TYPE_INFO &ti) |
template<typename SQL_TYPE_INFO > | |
int64_t | inline_fixed_encoding_null_array_val (const SQL_TYPE_INFO &ti) |
template<typename T , bool array = false> | |
CONSTEXPR DEVICE serialize_detail::IntType < sizeof(T)>::type | serialized_null_value () |
template<typename T , bool array = false> | |
CONSTEXPR DEVICE bool | is_null (const T &value) |
template<typename T > | |
CONSTEXPR DEVICE T | inline_null_value () |
template<typename T , bool array = false> | |
CONSTEXPR DEVICE void | set_null (T &value) |
#define CONSTEXPR constexpr |
Definition at line 48 of file InlineNullValues.h.
Referenced by inline_null_value(), and serialized_null_value().
#define NULL_ARRAY_BIGINT (INT64_MIN + 1) |
Definition at line 41 of file InlineNullValues.h.
Referenced by get_null_value(), SQLTypeInfo::is_null_fixlen_array(), and FixedLengthArrayNoneEncoder::is_null_ignore_not_null().
#define NULL_ARRAY_BOOLEAN (INT8_MIN + 1) |
Definition at line 37 of file InlineNullValues.h.
Referenced by get_null_value(), and FixedLengthArrayNoneEncoder::is_null_ignore_not_null().
#define NULL_ARRAY_COMPRESSED_32 0x80000000U |
Definition at line 45 of file InlineNullValues.h.
Referenced by get_null_value(), and SQLTypeInfo::is_null_point_coord_array().
#define NULL_ARRAY_DOUBLE (DBL_MIN * 2.0) |
Definition at line 43 of file InlineNullValues.h.
Referenced by Parser::InsertValuesStmt::analyze(), import_export::ImporterUtils::composeNullPointCoords(), Geospatial::compress_coords(), Geospatial::compress_null_point(), GeoPointValueConverter::convertToColumnarFormat(), GeoMultiPointValueConverter::convertToColumnarFormat(), GeoLinestringValueConverter::convertToColumnarFormat(), GeoMultiLinestringValueConverter::convertToColumnarFormat(), GeoPolygonValueConverter::convertToColumnarFormat(), GeoMultiPolygonValueConverter::convertToColumnarFormat(), get_null_value(), spatial_type::PointConstructor::getNullCheckCodegen(), Geospatial::GeoTypesFactory::getNullGeoColumns(), inline_fp_null_array_value< double >(), SQLTypeInfo::is_null_fixlen_array(), FixedLengthArrayNoneEncoder::is_null_ignore_not_null(), Geospatial::is_null_point(), SQLTypeInfo::is_null_point_coord_array(), import_export::NullArrayDatum(), import_export::Importer::set_geo_physical_import_buffer(), import_export::Importer::set_geo_physical_import_buffer_columnar(), foreign_storage::ParquetFixedLengthArrayEncoder::setNullFixedLengthArraySentinel(), and writeBackCellGeoPoint().
#define NULL_ARRAY_FLOAT (FLT_MIN * 2.0) |
Definition at line 42 of file InlineNullValues.h.
Referenced by get_null_value(), inline_fp_null_array_value< float >(), SQLTypeInfo::is_null_fixlen_array(), FixedLengthArrayNoneEncoder::is_null_ignore_not_null(), import_export::NullArrayDatum(), and foreign_storage::ParquetFixedLengthArrayEncoder::setNullFixedLengthArraySentinel().
#define NULL_ARRAY_INT (INT32_MIN + 1) |
Definition at line 40 of file InlineNullValues.h.
Referenced by get_null_value(), SQLTypeInfo::is_null_fixlen_array(), and FixedLengthArrayNoneEncoder::is_null_ignore_not_null().
#define NULL_ARRAY_SMALLINT (INT16_MIN + 1) |
Definition at line 39 of file InlineNullValues.h.
Referenced by get_null_value(), SQLTypeInfo::is_null_fixlen_array(), and FixedLengthArrayNoneEncoder::is_null_ignore_not_null().
#define NULL_ARRAY_TINYINT (INT8_MIN + 1) |
Definition at line 38 of file InlineNullValues.h.
Referenced by get_null_value(), SQLTypeInfo::is_null_fixlen_array(), and FixedLengthArrayNoneEncoder::is_null_ignore_not_null().
#define NULL_BIGINT INT64_MIN |
Definition at line 33 of file InlineNullValues.h.
Referenced by anonymous_namespace{DdlCommandExecutor.cpp}::add_table_details(), import_export::QueryExporterCSV::exportResults(), get_null_value(), import_export::anonymous_namespace{QueryExporterGDAL.cpp}::insert_array_column(), import_export::anonymous_namespace{QueryExporterGDAL.cpp}::insert_scalar_column(), SQLTypeInfo::is_null(), Analyzer::anonymous_namespace{Analyzer.cpp}::is_null_value(), result_set::lazy_decode(), anonymous_namespace{ResultSet.cpp}::materializeMode(), ResultSet::ResultSetComparator< BUFFER_ITERATOR_TYPE >::operator()(), Analyzer::Constant::set_null_value(), import_export::anonymous_namespace{QueryExporterCSV.cpp}::target_value_to_string(), FixedLengthArrayNoneEncoder::update_elem_stats(), ArrayNoneEncoder::update_elem_stats(), DBHandler::value_to_thrift(), and DBHandler::value_to_thrift_column().
#define NULL_BOOLEAN INT8_MIN |
Definition at line 29 of file InlineNullValues.h.
Referenced by import_export::QueryExporterCSV::exportResults(), get_null_value(), import_export::anonymous_namespace{QueryExporterGDAL.cpp}::insert_array_column(), import_export::anonymous_namespace{QueryExporterGDAL.cpp}::insert_scalar_column(), SQLTypeInfo::is_null(), Analyzer::anonymous_namespace{Analyzer.cpp}::is_null_value(), Analyzer::Constant::set_null_value(), import_export::anonymous_namespace{QueryExporterCSV.cpp}::target_value_to_string(), FixedLengthArrayNoneEncoder::update_elem_stats(), ArrayNoneEncoder::update_elem_stats(), DBHandler::value_to_thrift(), and DBHandler::value_to_thrift_column().
#define NULL_DOUBLE DBL_MIN |
Definition at line 35 of file InlineNullValues.h.
Referenced by import_export::TypedImportBuffer::add_value(), import_export::TypedImportBuffer::add_values(), import_export::TypedImportBuffer::addDefaultValues(), Parser::InsertValuesStmt::analyze(), ResultSet::calculateQuantile(), CodeGenerator::codegenCmp(), CodeGenerator::codegenConstantWidthBucketExpr(), CodeGenerator::codegenDiv(), CodeGenerator::codegenFpArith(), CodeGenerator::codegenIsNullNumber(), import_export::ImporterUtils::composeNullPointCoords(), Geospatial::compress_null_point(), GeoPointValueConverter::convertToColumnarFormat(), GeoMultiPointValueConverter::convertToColumnarFormat(), GeoLinestringValueConverter::convertToColumnarFormat(), GeoMultiLinestringValueConverter::convertToColumnarFormat(), GeoPolygonValueConverter::convertToColumnarFormat(), GeoMultiPolygonValueConverter::convertToColumnarFormat(), import_export::QueryExporterCSV::exportResults(), float_to_double_bin(), get_null_value(), Geospatial::GeoPoint::getColumns(), Geospatial::GeoMultiPoint::getColumns(), Geospatial::GeoLineString::getColumns(), Geospatial::GeoMultiLineString::getColumns(), Geospatial::GeoPolygon::getColumns(), Geospatial::GeoMultiPolygon::getColumns(), Geospatial::GeoTypesFactory::getNullGeoColumns(), import_export::Importer::importGDALRaster(), inline_fp_null_value< double >(), CgenState::inlineFpNull(), import_export::anonymous_namespace{QueryExporterGDAL.cpp}::insert_array_column(), import_export::anonymous_namespace{QueryExporterGDAL.cpp}::insert_scalar_column(), SQLTypeInfo::is_null(), Analyzer::anonymous_namespace{Analyzer.cpp}::is_null_value(), ResultSet::isNullIval(), ResultSet::makeTargetValue(), ResultSet::ResultSetComparator< BUFFER_ITERATOR_TYPE >::materializeApproxQuantileColumn(), NullDatum(), ResultSet::nullScalarTargetValue(), ResultSet::ResultSetComparator< BUFFER_ITERATOR_TYPE >::operator()(), pair_to_double(), import_export::Importer::set_geo_physical_import_buffer(), import_export::Importer::set_geo_physical_import_buffer_columnar(), Analyzer::Constant::set_null_value(), import_export::TDatumToDatum(), CrossSectionTableFunctions::tf_cross_section_2d_impl(), FixedLengthArrayNoneEncoder::update_elem_stats(), ArrayNoneEncoder::update_elem_stats(), DBHandler::value_to_thrift(), and DBHandler::value_to_thrift_column().
#define NULL_FLOAT FLT_MIN |
Definition at line 34 of file InlineNullValues.h.
Referenced by import_export::TypedImportBuffer::add_value(), import_export::TypedImportBuffer::add_values(), import_export::TypedImportBuffer::addDefaultValues(), CodeGenerator::codegenCmp(), CodeGenerator::codegenDiv(), CodeGenerator::codegenFpArith(), CodeGenerator::codegenIsNullNumber(), import_export::QueryExporterCSV::exportResults(), float_to_double_bin(), get_null_value(), import_export::Importer::importGDALRaster(), inline_fp_null_value< float >(), CgenState::inlineFpNull(), import_export::anonymous_namespace{QueryExporterGDAL.cpp}::insert_array_column(), import_export::anonymous_namespace{QueryExporterGDAL.cpp}::insert_scalar_column(), SQLTypeInfo::is_null(), Analyzer::anonymous_namespace{Analyzer.cpp}::is_null_value(), ResultSet::isNullIval(), null_val_bit_pattern(), NullDatum(), ResultSet::nullScalarTargetValue(), Analyzer::Constant::set_null_value(), import_export::TDatumToDatum(), CrossSectionTableFunctions::tf_cross_section_2d_impl(), FixedLengthArrayNoneEncoder::update_elem_stats(), ArrayNoneEncoder::update_elem_stats(), DBHandler::value_to_thrift(), and DBHandler::value_to_thrift_column().
#define NULL_INT INT32_MIN |
Definition at line 32 of file InlineNullValues.h.
Referenced by anonymous_namespace{ResultSetIteration.cpp}::build_string_array_target_value(), DictionaryConverterFactory< TARGET_TYPE >::create(), import_export::QueryExporterCSV::exportResults(), get_null_value(), JoinColumnIterator::getElementSwitch(), import_export::Importer::importGDALRaster(), import_export::anonymous_namespace{QueryExporterGDAL.cpp}::insert_array_column(), import_export::anonymous_namespace{QueryExporterGDAL.cpp}::insert_scalar_column(), SQLTypeInfo::is_null(), Analyzer::anonymous_namespace{Analyzer.cpp}::is_null_value(), ResultSet::isNullIval(), result_set::lazy_decode(), ResultSet::makeStringTargetValue(), ResultSet::nullScalarTargetValue(), Analyzer::Constant::set_null_value(), string_decompress(), FixedLengthArrayNoneEncoder::update_elem_stats(), ArrayNoneEncoder::update_elem_stats(), DBHandler::value_to_thrift(), and DBHandler::value_to_thrift_column().
#define NULL_SMALLINT INT16_MIN |
Definition at line 31 of file InlineNullValues.h.
Referenced by import_export::QueryExporterCSV::exportResults(), get_null_value(), JoinColumnIterator::getElementSwitch(), import_export::Importer::importGDALRaster(), import_export::anonymous_namespace{QueryExporterGDAL.cpp}::insert_array_column(), import_export::anonymous_namespace{QueryExporterGDAL.cpp}::insert_scalar_column(), SQLTypeInfo::is_null(), Analyzer::anonymous_namespace{Analyzer.cpp}::is_null_value(), result_set::lazy_decode(), Analyzer::Constant::set_null_value(), FixedLengthArrayNoneEncoder::update_elem_stats(), ArrayNoneEncoder::update_elem_stats(), DBHandler::value_to_thrift(), and DBHandler::value_to_thrift_column().
#define NULL_TINYINT INT8_MIN |
Definition at line 30 of file InlineNullValues.h.
Referenced by import_export::QueryExporterCSV::exportResults(), get_null_value(), import_export::anonymous_namespace{QueryExporterGDAL.cpp}::insert_array_column(), import_export::anonymous_namespace{QueryExporterGDAL.cpp}::insert_scalar_column(), SQLTypeInfo::is_null(), Analyzer::anonymous_namespace{Analyzer.cpp}::is_null_value(), Analyzer::Constant::set_null_value(), FixedLengthArrayNoneEncoder::update_elem_stats(), ArrayNoneEncoder::update_elem_stats(), DBHandler::value_to_thrift(), and DBHandler::value_to_thrift_column().
|
inline |
Definition at line 249 of file InlineNullValues.h.
References CHECK, CHECK_EQ, inline_int_null_array_val(), kENCODING_DATE_IN_DAYS, kENCODING_DICT, kENCODING_FIXED, and kENCODING_NONE.
Referenced by import_export::NullArrayDatum(), and foreign_storage::ParquetFixedLengthArrayEncoder::setNullFixedLengthArraySentinel().
|
inline |
Definition at line 153 of file InlineNullValues.h.
References CHECK, CHECK_EQ, inline_int_null_val(), kENCODING_DATE_IN_DAYS, kENCODING_DICT, kENCODING_FIXED, and kENCODING_NONE.
Referenced by import_export::TypedImportBuffer::add_value(), import_export::TypedImportBuffer::add_values(), import_export::TypedImportBuffer::addDefaultValues(), CodeGenerator::codegen(), Executor::codegenWindowFunctionAggregateCalls(), RelAlgExecutor::executeSimpleInsert(), PerfectJoinHashTable::fetchColumnsForDevice(), BaselineJoinHashTable::fetchColumnsForDevice(), anonymous_namespace{ColumnarResults.cpp}::fixed_encoding_nullable_val(), anonymous_namespace{WindowFunctionIR.cpp}::get_null_value_by_size(), anonymous_namespace{WindowFunctionIR.cpp}::get_null_value_by_size_with_encoding(), PerfectJoinHashTable::getHashJoinArgs(), ResultSet::getUniqueStringsForDictEncodedTargetCol(), PerfectJoinHashTableBuilder::initOneToManyHashTableOnCpu(), PerfectJoinHashTableBuilder::initOneToOneHashTableOnCpu(), inline_int_null_val(), anonymous_namespace{RelAlgExecutor.cpp}::insert_one_dict_str(), anonymous_namespace{WindowContext.cpp}::integer_comparator_asc(), anonymous_namespace{WindowContext.cpp}::integer_comparator_desc(), result_set::lazy_decode(), NullDatum(), anonymous_namespace{ArrowImporter.h}::ArrowValue< void * >::operator DATA_TYPE(), anonymous_namespace{ArrowImporter.h}::ArrowValue< std::string >::operator DATA_TYPE(), QueryRewriter::rewriteColumnarUpdate(), synthesize_metadata_table_function(), and import_export::TDatumToDatum().
DEVICE T inline_fp_null_array_value | ( | ) |
Definition at line 94 of file InlineNullValues.h.
References logger::FATAL, LOG, and heavydb.dtypes::T.
|
inline |
Definition at line 109 of file InlineNullValues.h.
References NULL_ARRAY_DOUBLE.
Referenced by anonymous_namespace{TypedDataAccessors.h}::put_null_array().
|
inline |
Definition at line 104 of file InlineNullValues.h.
References NULL_ARRAY_FLOAT.
Referenced by anonymous_namespace{TypedDataAccessors.h}::put_null_array().
|
inline |
Definition at line 197 of file InlineNullValues.h.
References CHECK, inline_fp_null_value< double >(), inline_fp_null_value< float >(), kDOUBLE, kFLOAT, and run_benchmark_import::type.
Referenced by CodeGenerator::codegenConstantWidthBucketExpr(), spatial_type::PointConstructor::codegenOperandIsNull(), GroupByAndAggregate::codegenOutputSlot(), Analyzer::WidthBucketExpr::compute_bucket(), anonymous_namespace{ArrowResultSetConverter.cpp}::create_or_append_validity(), anonymous_namespace{RelAlgTranslator.cpp}::datum_from_scalar_tv(), get_agg_initial_val(), anonymous_namespace{TypedDataAccessors.h}::NullSentinelSupplier::get_null_sentinel_for_type(), CgenState::getOrAddLiteral(), anonymous_namespace{Execute.cpp}::inline_null_val(), null_val_bit_pattern(), anonymous_namespace{ArrowImporter.h}::ArrowValue< void * >::operator DATA_TYPE(), synthesize_metadata(), and import_export::anonymous_namespace{QueryExporterCSV.cpp}::target_value_to_string().
|
inline |
Definition at line 74 of file InlineNullValues.h.
References logger::FATAL, LOG, and heavydb.dtypes::T.
|
inline |
Definition at line 89 of file InlineNullValues.h.
References NULL_DOUBLE.
Referenced by TreeModelPredictionMgr::codegen(), NumericConverterFactory< SOURCE_TYPE, TARGET_TYPE >::create(), anonymous_namespace{WindowFunctionIR.cpp}::get_null_value_by_size(), anonymous_namespace{WindowFunctionIR.cpp}::get_null_value_by_size_with_encoding(), anonymous_namespace{TypedDataAccessors.h}::get_scalar(), ArrowResultSet::getRowAt(), inline_fp_null_val(), anonymous_namespace{TypedDataAccessors.h}::put_null(), SqliteMemDatabase::runSelect(), synthesize_metadata_table_function(), and anonymous_namespace{ExternalExecutor.cpp}::vt_column().
|
inline |
Definition at line 84 of file InlineNullValues.h.
References NULL_FLOAT.
Referenced by NumericConverterFactory< SOURCE_TYPE, TARGET_TYPE >::create(), anonymous_namespace{WindowFunctionIR.cpp}::get_null_value_by_size(), anonymous_namespace{WindowFunctionIR.cpp}::get_null_value_by_size_with_encoding(), anonymous_namespace{TypedDataAccessors.h}::get_scalar(), ArrowResultSet::getRowAt(), inline_fp_null_val(), anonymous_namespace{TypedDataAccessors.h}::put_null(), SqliteMemDatabase::runSelect(), synthesize_metadata_table_function(), and anonymous_namespace{ExternalExecutor.cpp}::vt_column().
|
inline |
Definition at line 212 of file InlineNullValues.h.
References CHECK_EQ, kBIGINT, kBOOLEAN, kDATE, kDECIMAL, kENCODING_DICT, kENCODING_NONE, kINT, kINTERVAL_DAY_TIME, kINTERVAL_YEAR_MONTH, kNUMERIC, kSMALLINT, kTIME, kTIMESTAMP, kTINYINT, and run_benchmark_import::type.
Referenced by inline_fixed_encoding_null_array_val().
|
inline |
Definition at line 60 of file InlineNullValues.h.
|
inline |
Definition at line 115 of file InlineNullValues.h.
References CHECK_EQ, inline_fixed_encoding_null_val(), kBIGINT, kBOOLEAN, kDATE, kDECIMAL, kENCODING_DICT, kENCODING_FIXED, kENCODING_NONE, kINT, kINTERVAL_DAY_TIME, kINTERVAL_YEAR_MONTH, kNUMERIC, kSMALLINT, kTIME, kTIMESTAMP, kTINYINT, and run_benchmark_import::type.
Referenced by ResultSetLogicalValuesBuilder::build(), InValuesBitmap::codegen(), CodeGenerator::codegen(), CodeGenerator::codegenAdd(), CodeGenerator::codegenBinOpWithOverflowForCPU(), CodeGenerator::codegenCastBetweenIntTypes(), CodeGenerator::codegenCastBetweenIntTypesOverflowChecks(), CodeGenerator::codegenCmp(), CodeGenerator::codegenConstantWidthBucketExpr(), CodeGenerator::codegenDiv(), CodeGenerator::codegenMod(), CodeGenerator::codegenMul(), spatial_type::PointConstructor::codegenOperandIsNull(), GroupByAndAggregate::codegenOutputSlot(), CodeGenerator::codegenSub(), anonymous_namespace{ArrowResultSetConverter.cpp}::create_or_append_validity(), CodeGenerator::createInValuesBitmap(), anonymous_namespace{RelAlgTranslator.cpp}::datum_from_scalar_tv(), anonymous_namespace{ColumnarResults.cpp}::fixed_encoding_nullable_val(), get_agg_initial_val(), anonymous_namespace{TypedDataAccessors.h}::NullSentinelSupplier::get_null_sentinel_for_type(), anonymous_namespace{WindowFunctionIR.cpp}::get_null_value_by_size(), anonymous_namespace{WindowFunctionIR.cpp}::get_null_value_by_size_with_encoding(), getExpressionRange(), RelAlgTranslator::getInIntegerSetExpr(), spatial_type::PointConstructor::getNullCheckCodegen(), CgenState::getOrAddLiteral(), ArrowResultSet::getRowAt(), inline_fixed_encoding_null_val(), anonymous_namespace{Execute.cpp}::inline_null_val(), CgenState::inlineIntNull(), ResultSet::isNullIval(), result_set::lazy_decode(), ResultSet::makeTargetValue(), null_val_bit_pattern(), ResultSet::nullScalarTargetValue(), SqliteMemDatabase::runSelect(), synthesize_metadata(), import_export::anonymous_namespace{QueryExporterCSV.cpp}::target_value_to_string(), and ResultSet::translateDictEncodedColumns().
|
inline |
Definition at line 54 of file InlineNullValues.h.
Definition at line 353 of file InlineNullValues.h.
Referenced by import_export::TypedImportBuffer::addDefaultValues(), Parser::InsertValuesStmt::analyze(), ArrayNoneEncoder::appendData(), Array< T >::Array(), ChunkIter_get_nth(), ChunkIter_get_nth_point_coords(), spatial_type::Distance::codegenLoads(), spatial_type::PointAccessors::codegenLoads(), spatial_type::Transform::codegenLoads(), spatial_type::PointConstructor::codegenLoads(), convertBoolBitmapBufferWithNulls(), Fragmenter_Namespace::FixedLenArrayChunkConverter::convertToColumnarFormat(), ArrayValueConverter< ELEMENT_CONVERTER >::convertToColumnarFormat(), TableFunctionExecutionContext::execute(), Parser::AddColumnStmt::execute(), RelAlgExecutor::executeSimpleInsert(), import_export::QueryExporterCSV::exportResults(), anonymous_namespace{ResultSetIteration.cpp}::GeoQueryOutputFetchHandler::fetch(), QueryRewriter::generateCaseExprForCountDistinctOnGroupByCol(), data_conversion::anonymous_namespace{StringViewSource.h}::get_materialized_string_views(), ArrayNoneEncoder::getArrayDatumAtIndex(), Column< GeoPoint >::getItem(), Geo::GeoNestedArray< Point2D >::getPoint(), flatbuffer::NestedArray< char >::getValue(), import_export::import_thread_delimited(), import_export::anonymous_namespace{QueryExporterGDAL.cpp}::insert_array_column(), import_export::anonymous_namespace{QueryExporterGDAL.cpp}::insert_scalar_column(), anonymous_namespace{TypedDataAccessors.h}::integer_setter(), Column< T >::isNull(), flatbuffer::Column< Geo::MultiLineString, GeoMultiLineString >::isNull(), flatbuffer::NestedArray< char >::isNull(), Column< GeoPoint >::isNull(), Column< TextEncodingDict >::isNull(), foreign_storage::TextFileBufferParser::isNullDatum(), ResultSet::makeVarlenTargetValue(), foreign_storage::CsvFileBufferParser::parseBuffer(), foreign_storage::RegexFileBufferParser::parseBuffer(), NumericValueConverter< int64_t, TARGET_TYPE >::processArrayBuffer(), DictionaryValueConverter< TARGET_TYPE >::processArrayBuffer(), anonymous_namespace{TypedDataAccessors.h}::put_scalar(), SqliteConnector::query_with_text_params(), ArrowForeignStorageBase::replaceNullValuesImpl(), Fragmenter_Namespace::set_chunk_stats(), flatbuffer::TextEncodingNone::str(), import_export::StringToArray(), Geo::GeoNestedArray< Point2D >::toCoordsWorker(), RelAlgTranslator::translateCurrentDate(), RelAlgTranslator::translateCurrentTime(), RelAlgTranslator::translateUoper(), and DBHandler::value_to_thrift_column().
|
inline |
Definition at line 68 of file InlineNullValues.h.
|
inline |
Definition at line 327 of file InlineNullValues.h.
References CHECK, CONSTEXPR, and heavydb.dtypes::T.
Definition at line 375 of file InlineNullValues.h.
Referenced by Column< T >::operator[](), Column< TextEncodingDict >::operator[](), foreign_storage::anonymous_namespace{InternalCatalogDataWrapper.cpp}::populate_import_buffers_for_catalog_users(), foreign_storage::anonymous_namespace{InternalMemoryStatsDataWrapper.cpp}::populate_import_buffers_for_memory_details(), foreign_storage::anonymous_namespace{InternalStorageStatsDataWrapper.cpp}::populate_import_buffers_for_storage_details(), set_null< Timestamp >(), Column< T >::setNull(), and Column< TextEncodingDict >::setNull().