OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ColumnDescriptor Struct Reference

specifies the content in-memory of a row in the column metadata table More...

#include <ColumnDescriptor.h>

+ Collaboration diagram for ColumnDescriptor:

Public Member Functions

 ColumnDescriptor ()
 
 ColumnDescriptor (const int tableId, const int columnId, const std::string &columnName, const SQLTypeInfo columnType, int32_t db_id)
 
 ColumnDescriptor (const bool isGeoPhyCol)
 
std::string toString () const
 
std::string getDefaultValueLiteral () const
 

Public Attributes

int tableId
 
int columnId
 
std::string columnName
 
std::string sourceName
 
SQLTypeInfo columnType
 
std::string chunks
 
bool isSystemCol
 
bool isVirtualCol
 
std::string virtualExpr
 
bool isDeletedCol
 
bool isGeoPhyCol {false}
 
std::optional< std::string > default_value
 
int32_t db_id
 

Detailed Description

specifies the content in-memory of a row in the column metadata table

ColumnDescriptor

Definition at line 33 of file ColumnDescriptor.h.

Constructor & Destructor Documentation

ColumnDescriptor::ColumnDescriptor ( )
inline

Definition at line 48 of file ColumnDescriptor.h.

48 : isSystemCol(false), isVirtualCol(false), isDeletedCol(false) {}
ColumnDescriptor::ColumnDescriptor ( const int  tableId,
const int  columnId,
const std::string &  columnName,
const SQLTypeInfo  columnType,
int32_t  db_id 
)
inline

Definition at line 49 of file ColumnDescriptor.h.

54  : tableId(tableId)
58  , columnType(columnType)
59  , isSystemCol(false)
60  , isVirtualCol(false)
61  , isDeletedCol(false)
62  , db_id(db_id) {}
std::string sourceName
SQLTypeInfo columnType
std::string columnName
ColumnDescriptor::ColumnDescriptor ( const bool  isGeoPhyCol)
inline

Definition at line 63 of file ColumnDescriptor.h.

References isGeoPhyCol.

63  : ColumnDescriptor() {
64  this->isGeoPhyCol = isGeoPhyCol;
65  }

Member Function Documentation

std::string ColumnDescriptor::getDefaultValueLiteral ( ) const
inline

Definition at line 76 of file ColumnDescriptor.h.

References CHECK, columnType, default_value, SQLTypeInfo::get_subtype(), SQLTypeInfo::is_array(), is_datetime(), SQLTypeInfo::is_geometry(), SQLTypeInfo::is_string(), SQLTypeInfo::is_string_array(), SQLTypeInfo::is_time(), and split().

Referenced by DBHandler::populateThriftColumnType().

76  {
77  // some preprocessing of strings, arrays and especially arrays of strings
78  CHECK(default_value.has_value());
80  return "\'" + default_value.value() + "\'";
81  } else if (columnType.is_array()) {
82  auto value = default_value.value();
83  CHECK(value.front() == '{' && value.back() == '}');
84  value = value.substr(1, value.length() - 2);
86  auto elements = split(value, ", ");
87  value = "ARRAY[";
88  for (size_t i = 0; i < elements.size(); ++i) {
89  value += "'" + elements[i] + "'";
90  if (i != elements.size() - 1) {
91  value += ", ";
92  }
93  }
94  value += "]";
95  } else {
96  value = "ARRAY[" + value + "]";
97  }
98  return value;
99  } else {
100  return default_value.value();
101  }
102  }
HOST DEVICE SQLTypes get_subtype() const
Definition: sqltypes.h:392
bool is_time() const
Definition: sqltypes.h:579
std::vector< std::string > split(std::string_view str, std::string_view delim, std::optional< size_t > maxsplit)
split apart a string into a vector of substrings
std::optional< std::string > default_value
#define CHECK(condition)
Definition: Logger.h:291
bool is_geometry() const
Definition: sqltypes.h:597
SQLTypeInfo columnType
bool is_string() const
Definition: sqltypes.h:561
bool is_string_array() const
Definition: sqltypes.h:564
bool is_array() const
Definition: sqltypes.h:585
constexpr auto is_datetime(SQLTypes type)
Definition: sqltypes.h:325

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

std::string ColumnDescriptor::toString ( ) const
inline

Definition at line 67 of file ColumnDescriptor.h.

References columnId, columnName, columnType, db_id, default_value, tableId, and typeName().

67  {
68  return ::typeName(this) + "(tableId=" + ::toString(tableId) +
69  ", columnId=" + ::toString(columnId) +
70  ", columnName=" + ::toString(columnName) +
71  ", columnType=" + ::toString(columnType) +
72  ", defaultValue=" + ::toString(default_value) +
73  ", db_id=" + ::toString(db_id) + ")";
74  }
std::optional< std::string > default_value
std::string typeName(const T *v)
Definition: toString.h:106
SQLTypeInfo columnType
std::string columnName
std::string toString() const

+ Here is the call graph for this function:

Member Data Documentation

int ColumnDescriptor::columnId

Definition at line 35 of file ColumnDescriptor.h.

Referenced by foreign_storage::anonymous_namespace{AbstractTextFileDataWrapper.cpp}::add_placeholder_metadata(), Catalog_Namespace::Catalog::addColumn(), Catalog_Namespace::Catalog::addColumnDescriptor(), Catalog_Namespace::Catalog::addColumnNontransactional(), Fragmenter_Namespace::ScalarChunkConverter< BUFFER_DATA_TYPE, INSERT_DATA_TYPE >::addDataBlocksToInsertData(), NumericValueConverter< int64_t, TARGET_TYPE >::addDataBlocksToInsertData(), Fragmenter_Namespace::FixedLenArrayChunkConverter::addDataBlocksToInsertData(), Fragmenter_Namespace::StringChunkConverter::addDataBlocksToInsertData(), Fragmenter_Namespace::DateChunkConverter< BUFFER_DATA_TYPE >::addDataBlocksToInsertData(), DictionaryValueConverter< TARGET_TYPE >::addDataBlocksToInsertData(), StringValueConverter::addDataBlocksToInsertData(), ArrayValueConverter< ELEMENT_CONVERTER >::addDataBlocksToInsertData(), GeoPointValueConverter::addDataBlocksToInsertData(), GeoMultiPointValueConverter::addDataBlocksToInsertData(), GeoLinestringValueConverter::addDataBlocksToInsertData(), GeoMultiLinestringValueConverter::addDataBlocksToInsertData(), GeoPolygonValueConverter::addDataBlocksToInsertData(), GeoMultiPolygonValueConverter::addDataBlocksToInsertData(), Catalog_Namespace::Catalog::addToColumnMap(), Catalog_Namespace::Catalog::alterColumnTypeTransactional(), Parser::InsertStmt::analyze(), foreign_storage::LazyParquetChunkLoader::appendRowGroups(), Catalog_Namespace::Catalog::buildColumnsMapUnlocked(), AlterTableAlterColumnCommand::collectExpectedCatalogChanges(), ddl_utils::alter_column_utils::compare_column_descriptors(), Fragmenter_Namespace::copyColumnDataOfShard(), Catalog_Namespace::Catalog::createTable(), Catalog_Namespace::Catalog::dropColumn(), Catalog_Namespace::Catalog::dropColumnNontransactional(), Catalog_Namespace::Catalog::dropColumnPolicies(), Parser::AddColumnStmt::execute(), Parser::DropColumnStmt::execute(), import_export::fill_missing_columns(), GeoLinestringValueConverter::GeoLinestringValueConverter(), GeoMultiLinestringValueConverter::GeoMultiLinestringValueConverter(), GeoMultiPointValueConverter::GeoMultiPointValueConverter(), GeoMultiPolygonValueConverter::GeoMultiPolygonValueConverter(), GeoPointValueConverter::GeoPointValueConverter(), GeoPolygonValueConverter::GeoPolygonValueConverter(), anonymous_namespace{DdlCommandExecutor.cpp}::get_alter_column_src_dst_cds(), get_column_type(), foreign_storage::get_sub_type_column_descriptor(), json_utils::get_value(), Catalog_Namespace::Catalog::getDeletedColumnIfRowsDeleted(), TableOptimizer::getDeletedColumnStats(), import_export::Loader::getStringDict(), ColumnFetcher::linearizeFixedLenArrayColFrags(), ColumnFetcher::linearizeVarLenArrayColFrags(), foreign_storage::anonymous_namespace{LazyParquetChunkLoader.cpp}::metadata_scan_rowgroup_interval(), anonymous_namespace{ExecutionKernel.cpp}::need_to_hold_chunk(), DBHandler::populateThriftColumnType(), foreign_storage::LazyParquetChunkLoader::previewFiles(), TableOptimizer::recomputeColumnMetadata(), Catalog_Namespace::Catalog::removeColumnDescriptor(), Catalog_Namespace::Catalog::removeFromColumnMap(), Catalog_Namespace::Catalog::renameColumn(), import_export::Importer::set_geo_physical_import_buffer(), import_export::Importer::set_geo_physical_import_buffer_columnar(), json_utils::set_value(), toString(), Fragmenter_Namespace::InsertOrderFragmenter::updateChunkStats(), Fragmenter_Namespace::InsertOrderFragmenter::updateColumn(), Fragmenter_Namespace::InsertOrderFragmenter::updateColumnChunkMetadata(), Fragmenter_Namespace::InsertOrderFragmenter::updateColumnMetadata(), Catalog_Namespace::Catalog::updateInColumnMap(), TableOptimizer::vacuumFragments(), and anonymous_namespace{DdlCommandExecutor.cpp}::validate_alter_type_metadata().

std::string ColumnDescriptor::columnName

Definition at line 36 of file ColumnDescriptor.h.

Referenced by import_export::TypedImportBuffer::add_arrow_values(), import_export::TypedImportBuffer::add_value(), import_export::TypedImportBuffer::add_values(), Catalog_Namespace::Catalog::addColumn(), Catalog_Namespace::Catalog::addColumnNontransactional(), import_export::TypedImportBuffer::addDefaultValues(), import_export::TypedImportBuffer::addDictEncodedString(), Catalog_Namespace::Catalog::addToColumnMap(), Catalog_Namespace::Catalog::alterColumnTypeTransactional(), Parser::QuerySpec::analyze_select_clause(), foreign_storage::ParquetFixedLengthArrayEncoder::appendNullArrayOrCheckArraySize(), foreign_storage::LazyParquetChunkLoader::appendRowGroups(), Catalog_Namespace::Catalog::buildColumnsMapUnlocked(), ddl_utils::alter_column_utils::compare_column_descriptors(), Catalog_Namespace::Catalog::createTable(), Catalog_Namespace::Catalog::dropColumn(), Catalog_Namespace::Catalog::dropColumnNontransactional(), anonymous_namespace{ArrowImporter.h}::error_context(), Parser::CreateDataframeStmt::execute(), Parser::AddColumnStmt::execute(), Parser::DropColumnStmt::execute(), Parser::CreateTableStmt::executeDryRun(), Catalog_Namespace::Catalog::expandGeoColumn(), import_export::fill_missing_columns(), DBHandler::fillGeoColumns(), import_export::Importer::gdalToColumnDescriptorsGeo(), import_export::Importer::gdalToColumnDescriptorsRaster(), anonymous_namespace{DdlCommandExecutor.cpp}::get_alter_column_src_dst_cds(), foreign_storage::get_sub_type_column_descriptor(), json_utils::get_value(), Catalog_Namespace::Catalog::getAllDictionariesWithColumnInName(), Parser::LocalQueryConnector::getColumnDescriptors(), Catalog_Namespace::Catalog::getDictionary(), import_export::Importer::importGDALRaster(), anonymous_namespace{RelAlgExecutor.cpp}::insert_one_dict_str(), foreign_storage::TextFileBufferParser::isNullDatum(), import_export::parse_add_metadata_columns(), Parser::InsertIntoTableAsSelectStmt::populateData(), DBHandler::populateThriftColumnType(), ArrowForeignStorage::prepareTable(), foreign_storage::LazyParquetChunkLoader::previewFiles(), foreign_storage::GeospatialEncoder::processGeoElement(), TableOptimizer::recomputeColumnMetadata(), Catalog_Namespace::Catalog::removeFromColumnMap(), Catalog_Namespace::Catalog::removeTableFromMap(), Catalog_Namespace::Catalog::renameColumn(), ddl_utils::set_column_descriptor(), ddl_utils::set_default_encoding(), json_utils::set_value(), Catalog_Namespace::Catalog::setColumnDictionary(), Catalog_Namespace::Catalog::setColumnSharedDictionary(), Fragmenter_Namespace::size_of_raw_column(), toString(), Fragmenter_Namespace::InsertOrderFragmenter::updateColumn(), Catalog_Namespace::Catalog::updateInColumnMap(), foreign_storage::anonymous_namespace{LazyParquetChunkLoader.cpp}::validate_allowed_mapping(), anonymous_namespace{DdlCommandExecutor.cpp}::validate_alter_type_metadata(), ddl_utils::validate_and_set_array_size(), ddl_utils::validate_and_set_compressed_encoding(), ddl_utils::validate_and_set_date_encoding(), ddl_utils::validate_and_set_default_value(), ddl_utils::validate_and_set_dictionary_encoding(), ddl_utils::validate_and_set_encoding(), ddl_utils::validate_and_set_fixed_encoding(), ddl_utils::validate_and_set_none_encoding(), ddl_utils::validate_and_set_sparse_encoding(), foreign_storage::anonymous_namespace{LazyParquetChunkLoader.cpp}::validate_max_repetition_and_definition_level(), and validate_shared_dictionary().

SQLTypeInfo ColumnDescriptor::columnType

Definition at line 38 of file ColumnDescriptor.h.

Referenced by import_export::TypedImportBuffer::add_arrow_values(), foreign_storage::anonymous_namespace{AbstractTextFileDataWrapper.cpp}::add_placeholder_metadata(), import_export::TypedImportBuffer::add_value(), import_export::TypedImportBuffer::add_values(), Catalog_Namespace::Catalog::addColumn(), Catalog_Namespace::Catalog::addColumnNontransactional(), import_export::TypedImportBuffer::addDefaultValues(), import_export::TypedImportBuffer::addDictEncodedString(), import_export::TypedImportBuffer::addDictEncodedStringArray(), Catalog_Namespace::Catalog::addReferenceToForeignDict(), Catalog_Namespace::Catalog::addToColumnMap(), Catalog_Namespace::Catalog::alterColumnTypeTransactional(), Parser::InsertStmt::analyze(), Chunk_NS::Chunk::appendData(), Chunk_NS::Chunk::appendEncodedData(), Chunk_NS::Chunk::appendEncodedDataAtIndices(), foreign_storage::LazyParquetChunkLoader::appendRowGroups(), ArrayValueConverter< ELEMENT_CONVERTER >::ArrayValueConverter(), Chunk_NS::Chunk::begin_iterator(), Catalog_Namespace::Catalog::buildColumnsMapUnlocked(), foreign_storage::cache_blocks(), import_export::TypedImportBuffer::clear(), ddl_utils::alter_column_utils::compare_column_descriptors(), Fragmenter_Namespace::FixedLenArrayChunkConverter::convertToColumnarFormat(), TargetValueConverterFactory::create(), ArrayConverterFactory< ELEMENT_FACTORY >::create(), Fragmenter_Namespace::anonymous_namespace{InsertOrderFragmenter.cpp}::create_array_elem_type_chunk(), foreign_storage::anonymous_namespace{LazyParquetChunkLoader.cpp}::create_parquet_array_encoder(), foreign_storage::anonymous_namespace{LazyParquetChunkLoader.cpp}::create_parquet_date_encoder(), foreign_storage::anonymous_namespace{LazyParquetChunkLoader.cpp}::create_parquet_date_from_timestamp_encoder(), foreign_storage::anonymous_namespace{LazyParquetChunkLoader.cpp}::create_parquet_decimal_encoder(), foreign_storage::anonymous_namespace{LazyParquetChunkLoader.cpp}::create_parquet_floating_point_encoder(), foreign_storage::anonymous_namespace{LazyParquetChunkLoader.cpp}::create_parquet_geospatial_encoder(), foreign_storage::anonymous_namespace{LazyParquetChunkLoader.cpp}::create_parquet_integral_encoder(), foreign_storage::anonymous_namespace{LazyParquetChunkLoader.cpp}::create_parquet_none_type_encoder(), foreign_storage::anonymous_namespace{LazyParquetChunkLoader.cpp}::create_parquet_string_encoder(), foreign_storage::anonymous_namespace{LazyParquetChunkLoader.cpp}::create_parquet_time_encoder(), foreign_storage::anonymous_namespace{LazyParquetChunkLoader.cpp}::create_parquet_timestamp_encoder(), data_conversion::create_source(), data_conversion::create_string_view_encoder(), Chunk_NS::Chunk::createChunkBuffer(), Fragmenter_Namespace::anonymous_namespace{InsertOrderFragmenter.cpp}::BaseAlterColumnContext::createChunkScratchBuffer(), ArrowForeignStorageBase::createDecimalColumn(), Catalog_Namespace::Catalog::createTable(), anonymous_namespace{ArrowImporter.h}::data_conversion_error(), Catalog_Namespace::Catalog::delDictionaryNontransactional(), DictionaryValueConverter< TARGET_TYPE >::DictionaryValueConverter(), Catalog_Namespace::Catalog::doTruncateTable(), Parser::AddColumnStmt::execute(), Parser::DropColumnStmt::execute(), RelAlgExecutor::executeSimpleInsert(), Catalog_Namespace::Catalog::expandGeoColumn(), import_export::fill_missing_columns(), DBHandler::fillGeoColumns(), Fragmenter_Namespace::FixedLenArrayChunkConverter::FixedLenArrayChunkConverter(), Fragmenter_Namespace::anonymous_namespace{InsertOrderFragmenter.cpp}::BaseAlterColumnContext::freeChunkScratchBuffer(), import_export::Importer::gdalToColumnDescriptorsGeo(), import_export::Importer::gdalToColumnDescriptorsRaster(), anonymous_namespace{DdlCommandExecutor.cpp}::get_alter_column_src_dst_cds(), get_column_type(), foreign_storage::Csv::get_placeholder_metadata(), foreign_storage::get_sub_type_column_descriptor(), json_utils::get_value(), import_export::TypedImportBuffer::getAsBytes(), Chunk_NS::Chunk::getChunkBuffer(), Parser::LocalQueryConnector::getColumnDescriptors(), Catalog_Namespace::Catalog::getColumnDictDirectory(), getDefaultValueLiteral(), import_export::TypedImportBuffer::getElementSize(), data_conversion::BaseConvertEncoder::getMetadata(), foreign_storage::ParquetArrayImportEncoder::getNullArrayDatum(), Chunk_NS::Chunk::getNumElemsForBytesEncodedDataAtIndices(), Chunk_NS::Chunk::getNumElemsForBytesInsertData(), data_conversion::StringViewSource::getSourceData(), import_export::Loader::getStringDict(), import_export::TypedImportBuffer::getStringDictBuffer(), import_export::TypedImportBuffer::getTypeInfo(), foreign_storage::GeospatialEncoder::hasBoundsColumn(), foreign_storage::GeospatialEncoder::hasPolyRingsColumn(), foreign_storage::GeospatialEncoder::hasRingOrLineSizesColumn(), import_export::Importer::importGDALRaster(), Chunk_NS::Chunk::initEncoder(), data_conversion::StringViewToScalarEncoder< DataType, MetadataType >::initialize(), data_conversion::StringViewToStringNoneEncoder::initialize(), data_conversion::StringViewToStringDictEncoder< IdType >::initialize(), data_conversion::StringViewToArrayEncoder< ScalarEncoderType >::initialize(), anonymous_namespace{RelAlgExecutor.cpp}::insert_one_dict_str(), foreign_storage::anonymous_namespace{LazyParquetChunkLoader.cpp}::is_microsecond_precision(), foreign_storage::anonymous_namespace{LazyParquetChunkLoader.cpp}::is_millisecond_precision(), foreign_storage::anonymous_namespace{LazyParquetChunkLoader.cpp}::is_nanosecond_precision(), Chunk_NS::Chunk::isChunkOnDevice(), foreign_storage::LazyParquetChunkLoader::isColumnMappingSupported(), Fragmenter_Namespace::isDatumVectorData(), foreign_storage::TextFileBufferParser::isNullDatum(), Fragmenter_Namespace::isStringVectorData(), foreign_storage::ParquetDataWrapper::loadBuffersUsingLazyParquetChunkLoader(), anonymous_namespace{ExecutionKernel.cpp}::need_to_hold_chunk(), Executor::needLinearizeAllFragments(), TextConverterFactory::operator()(), ArraysConverterFactory::operator()(), foreign_storage::ParquetFixedLengthArrayEncoder::ParquetFixedLengthArrayEncoder(), foreign_storage::ParquetGeospatialImportEncoder::ParquetGeospatialImportEncoder(), import_export::parse_add_metadata_columns(), import_export::TypedImportBuffer::pop_value(), Parser::InsertIntoTableAsSelectStmt::populateData(), DBHandler::populateThriftColumnType(), ArrowForeignStorage::prepareTable(), foreign_storage::LazyParquetChunkLoader::previewFiles(), foreign_storage::GeospatialEncoder::processGeoElement(), foreign_storage::TextFileBufferParser::processInvalidGeoColumn(), foreign_storage::GeospatialEncoder::processNullGeoElement(), foreign_storage::ParquetRowGroupReader::readAndValidateRowGroup(), TableOptimizer::recomputeColumnMetadata(), Catalog_Namespace::Catalog::refreshDictionaryCachesForTableUnlocked(), Catalog_Namespace::Catalog::removeFromColumnMap(), Catalog_Namespace::Catalog::removeTableFromMap(), Catalog_Namespace::Catalog::renameColumn(), foreign_storage::anonymous_namespace{LazyParquetChunkLoader.cpp}::resize_values_buffer(), ddl_utils::set_column_descriptor(), ddl_utils::set_default_encoding(), Catalog_Namespace::anonymous_namespace{Catalog.cpp}::set_dict_key(), import_export::Importer::set_geo_physical_import_buffer(), import_export::Importer::set_geo_physical_import_buffer_columnar(), json_utils::set_value(), Chunk_NS::Chunk::setChunkBuffer(), Catalog_Namespace::Catalog::setColumnDictionary(), Catalog_Namespace::Catalog::setColumnSharedDictionary(), foreign_storage::ParquetFixedLengthArrayEncoder::setNullFixedLengthArraySentinel(), Fragmenter_Namespace::shuffleByIndexes(), Fragmenter_Namespace::size_of_raw_column(), foreign_storage::anonymous_namespace{AbstractTextFileDataWrapper.cpp}::skip_metadata_scan(), Fragmenter_Namespace::sortIndexes(), GeoPointValueConverter::toCompressedCoords(), toString(), anonymous_namespace{ArrowImporter.h}::type_conversion_error(), import_export::TypedImportBuffer::TypedImportBuffer(), Fragmenter_Namespace::InsertOrderFragmenter::updateChunkStats(), Fragmenter_Namespace::InsertOrderFragmenter::updateColumn(), Fragmenter_Namespace::InsertOrderFragmenter::updateColumnMetadata(), Catalog_Namespace::Catalog::updateInColumnMap(), foreign_storage::anonymous_namespace{LazyParquetChunkLoader.cpp}::validate_allowed_mapping(), anonymous_namespace{DdlCommandExecutor.cpp}::validate_alter_type_metadata(), ddl_utils::validate_and_set_array_size(), ddl_utils::validate_and_set_compressed_encoding(), ddl_utils::validate_and_set_date_encoding(), ddl_utils::validate_and_set_default_value(), ddl_utils::validate_and_set_dictionary_encoding(), ddl_utils::validate_and_set_encoding(), ddl_utils::validate_and_set_fixed_encoding(), ddl_utils::validate_and_set_none_encoding(), ddl_utils::validate_and_set_sparse_encoding(), ddl_utils::validate_and_set_type(), foreign_storage::anonymous_namespace{LazyParquetChunkLoader.cpp}::validate_date_mapping(), foreign_storage::anonymous_namespace{LazyParquetChunkLoader.cpp}::validate_decimal_mapping(), foreign_storage::anonymous_namespace{LazyParquetChunkLoader.cpp}::validate_floating_point_mapping(), foreign_storage::anonymous_namespace{LazyParquetChunkLoader.cpp}::validate_geospatial_mapping(), foreign_storage::anonymous_namespace{LazyParquetChunkLoader.cpp}::validate_integral_mapping(), foreign_storage::anonymous_namespace{LazyParquetChunkLoader.cpp}::validate_max_repetition_and_definition_level(), foreign_storage::anonymous_namespace{LazyParquetChunkLoader.cpp}::validate_none_type_mapping(), Parser::anonymous_namespace{ParserNode.cpp}::validate_shard_column_type(), foreign_storage::anonymous_namespace{LazyParquetChunkLoader.cpp}::validate_string_mapping(), foreign_storage::anonymous_namespace{LazyParquetChunkLoader.cpp}::validate_time_mapping(), foreign_storage::anonymous_namespace{LazyParquetChunkLoader.cpp}::validate_timestamp_mapping(), foreign_storage::GeospatialEncoder::validateChunksSizing(), foreign_storage::GeospatialEncoder::validateMetadataSizing(), and import_export::TypedImportBuffer::~TypedImportBuffer().

int32_t ColumnDescriptor::db_id

Definition at line 46 of file ColumnDescriptor.h.

Referenced by Catalog_Namespace::Catalog::addColumn(), Catalog_Namespace::Catalog::addColumnNontransactional(), Catalog_Namespace::Catalog::buildColumnsMapUnlocked(), anonymous_namespace{DdlCommandExecutor.cpp}::get_alter_column_src_dst_cds(), foreign_storage::get_sub_type_column_descriptor(), json_utils::get_value(), anonymous_namespace{ExecutionKernel.cpp}::need_to_hold_chunk(), heavydb.common.ttypes.TStringDictKey::read(), heavydb.thrift.ttypes.TColumnRange::read(), heavydb.thrift.ttypes.TDictionaryGeneration::read(), heavydb.thrift.ttypes.TTableGeneration::read(), heavydb.thrift.ttypes.TTableCacheStatus::read(), heavydb.thrift.ttypes.TInsertData::read(), heavydb.thrift.ttypes.TInsertChunks::read(), heavydb.thrift.Heavy.set_table_epoch_args::read(), heavydb.thrift.Heavy.get_table_epoch_args::read(), heavydb.thrift.Heavy.get_table_epochs_args::read(), heavydb.thrift.Heavy.set_table_epochs_args::read(), Catalog_Namespace::anonymous_namespace{Catalog.cpp}::set_dict_key(), json_utils::set_value(), toString(), heavydb.common.ttypes.TStringDictKey::write(), heavydb.thrift.ttypes.TColumnRange::write(), heavydb.thrift.ttypes.TDictionaryGeneration::write(), heavydb.thrift.ttypes.TTableGeneration::write(), heavydb.thrift.ttypes.TTableCacheStatus::write(), heavydb.thrift.ttypes.TInsertData::write(), heavydb.thrift.ttypes.TInsertChunks::write(), heavydb.thrift.Heavy.set_table_epoch_args::write(), heavydb.thrift.Heavy.get_table_epoch_args::write(), heavydb.thrift.Heavy.get_table_epochs_args::write(), and heavydb.thrift.Heavy.set_table_epochs_args::write().

int ColumnDescriptor::tableId

Definition at line 34 of file ColumnDescriptor.h.

Referenced by Catalog_Namespace::Catalog::addColumn(), Catalog_Namespace::Catalog::addColumnDescriptor(), Catalog_Namespace::Catalog::addColumnNontransactional(), Catalog_Namespace::Catalog::addDictionaryNontransactional(), Catalog_Namespace::Catalog::addToColumnMap(), Catalog_Namespace::Catalog::alterColumnTypeTransactional(), Catalog_Namespace::Catalog::buildColumnsMapUnlocked(), AlterTableAlterColumnCommand::collectExpectedCatalogChanges(), ddl_utils::alter_column_utils::compare_column_descriptors(), Catalog_Namespace::Catalog::createTable(), Catalog_Namespace::Catalog::delDictionaryNontransactional(), Catalog_Namespace::Catalog::doTruncateTable(), Catalog_Namespace::Catalog::dropColumn(), Catalog_Namespace::Catalog::dropColumnNontransactional(), GeoLinestringValueConverter::GeoLinestringValueConverter(), GeoMultiLinestringValueConverter::GeoMultiLinestringValueConverter(), GeoMultiPointValueConverter::GeoMultiPointValueConverter(), GeoMultiPolygonValueConverter::GeoMultiPolygonValueConverter(), GeoPointValueConverter::GeoPointValueConverter(), GeoPolygonValueConverter::GeoPolygonValueConverter(), anonymous_namespace{DdlCommandExecutor.cpp}::get_alter_column_src_dst_cds(), Catalog_Namespace::anonymous_namespace{Catalog.cpp}::get_checked_table_name(), get_column_type(), foreign_storage::get_sub_type_column_descriptor(), json_utils::get_value(), Catalog_Namespace::Catalog::getAllDictionariesWithColumnInName(), Catalog_Namespace::Catalog::getDictionary(), ColumnFetcher::linearizeFixedLenArrayColFrags(), ColumnFetcher::linearizeVarLenArrayColFrags(), anonymous_namespace{ExecutionKernel.cpp}::need_to_hold_chunk(), foreign_storage::LazyParquetChunkLoader::previewFiles(), Catalog_Namespace::Catalog::removeColumnDescriptor(), Catalog_Namespace::Catalog::removeFromColumnMap(), import_export::Importer::set_geo_physical_import_buffer(), import_export::Importer::set_geo_physical_import_buffer_columnar(), json_utils::set_value(), toString(), Fragmenter_Namespace::InsertOrderFragmenter::updateColumnMetadata(), and Catalog_Namespace::Catalog::updateInColumnMap().


The documentation for this struct was generated from the following file: