OmniSciDB  340b00dbf6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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)
 
 ColumnDescriptor (const bool isGeoPhyCol)
 

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}
 

Detailed Description

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

ColumnDescriptor

Definition at line 30 of file ColumnDescriptor.h.

Constructor & Destructor Documentation

ColumnDescriptor::ColumnDescriptor ( )
inline

Definition at line 43 of file ColumnDescriptor.h.

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

Definition at line 44 of file ColumnDescriptor.h.

48  : tableId(tableId)
52  , columnType(columnType)
53  , isSystemCol(false)
54  , isVirtualCol(false)
55  , isDeletedCol(false) {}
std::string sourceName
SQLTypeInfo columnType
std::string columnName
ColumnDescriptor::ColumnDescriptor ( const bool  isGeoPhyCol)
inline

Definition at line 56 of file ColumnDescriptor.h.

References isGeoPhyCol.

56  : ColumnDescriptor() {
57  this->isGeoPhyCol = isGeoPhyCol;
58  }

Member Data Documentation

std::string ColumnDescriptor::chunks

Definition at line 36 of file ColumnDescriptor.h.

Referenced by Catalog_Namespace::Catalog::buildMaps().

int ColumnDescriptor::columnId

Definition at line 32 of file ColumnDescriptor.h.

Referenced by Catalog_Namespace::Catalog::addColumn(), 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(), GeoLinestringValueConverter::addDataBlocksToInsertData(), GeoPolygonValueConverter::addDataBlocksToInsertData(), GeoMultiPolygonValueConverter::addDataBlocksToInsertData(), Catalog_Namespace::Catalog::addTableToMap(), Parser::InsertStmt::analyze(), Parser::InsertValuesStmt::analyze(), Catalog_Namespace::Catalog::buildMaps(), Fragmenter_Namespace::copyColumnDataOfShard(), Catalog_Namespace::Catalog::createTable(), Catalog_Namespace::Catalog::dropColumn(), Parser::AddColumnStmt::execute(), Parser::DropColumnStmt::execute(), GeoLinestringValueConverter::GeoLinestringValueConverter(), GeoMultiPolygonValueConverter::GeoMultiPolygonValueConverter(), GeoPointValueConverter::GeoPointValueConverter(), GeoPolygonValueConverter::GeoPolygonValueConverter(), get_column_type(), foreign_storage::get_sub_type_column_descriptor(), Catalog_Namespace::Catalog::getDeletedColumnIfRowsDeleted(), import_export::Loader::getStringDict(), import_export::Importer::importDelimited(), import_export::Importer::importGDAL(), foreign_storage::anonymous_namespace{LazyParquetChunkLoader.cpp}::metadata_scan_rowgroup_interval(), anonymous_namespace{ExecutionKernel.cpp}::need_to_hold_chunk(), DBHandler::populateThriftColumnType(), TableOptimizer::recomputeMetadata(), Catalog_Namespace::Catalog::renameColumn(), import_export::Importer::set_geo_physical_import_buffer(), import_export::Importer::set_geo_physical_import_buffer_columnar(), Fragmenter_Namespace::InsertOrderFragmenter::updateChunkStats(), Fragmenter_Namespace::InsertOrderFragmenter::updateColumn(), Fragmenter_Namespace::InsertOrderFragmenter::updateColumnChunkMetadata(), Fragmenter_Namespace::InsertOrderFragmenter::updateColumnMetadata(), and Catalog_Namespace::Catalog::vacuumDeletedRows().

std::string ColumnDescriptor::columnName

Definition at line 33 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::addTableToMap(), Parser::InsertValuesStmt::analyze(), Parser::QuerySpec::analyze_select_clause(), foreign_storage::ParquetFixedLengthArrayEncoder::appendNullArrayOrCheckArraySize(), Catalog_Namespace::Catalog::buildMaps(), Catalog_Namespace::Catalog::createTable(), Parser::InsertValuesStmt::determineLeafIndex(), Catalog_Namespace::Catalog::dropColumn(), Catalog_Namespace::Catalog::dumpCreateTable(), Catalog_Namespace::Catalog::dumpSchema(), anonymous_namespace{ArrowImporter.h}::error_context(), Parser::CreateDataframeStmt::execute(), Parser::AddColumnStmt::execute(), Parser::DropColumnStmt::execute(), Parser::CreateTableStmt::executeDryRun(), Catalog_Namespace::Catalog::expandGeoColumn(), import_export::Importer::gdalToColumnDescriptors(), foreign_storage::get_sub_type_column_descriptor(), Parser::LocalConnector::getColumnDescriptors(), Catalog_Namespace::Catalog::getDictionary(), import_export::Importer::importDelimited(), import_export::Importer::importGDAL(), anonymous_namespace{RelAlgExecutor.cpp}::insert_one_dict_str(), foreign_storage::csv_file_buffer_parser::is_null_datum(), Parser::InsertIntoTableAsSelectStmt::populateData(), DBHandler::populateThriftColumnType(), ArrowForeignStorage::prepareTable(), foreign_storage::ParquetGeospatialEncoder::processGeoElement(), Catalog_Namespace::Catalog::removeTableFromMap(), Catalog_Namespace::Catalog::renameColumn(), ddl_utils::set_column_descriptor(), ddl_utils::set_default_encoding(), Catalog_Namespace::Catalog::setColumnDictionary(), Catalog_Namespace::Catalog::setColumnSharedDictionary(), foreign_storage::ParquetFixedLengthArrayEncoder::setNullFixedLengthArraySentinel(), Fragmenter_Namespace::sizeOfRawColumn(), Fragmenter_Namespace::InsertOrderFragmenter::updateColumn(), foreign_storage::anonymous_namespace{LazyParquetChunkLoader.cpp}::validate_allowed_mapping(), 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_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 35 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(), import_export::TypedImportBuffer::addDictEncodedString(), Catalog_Namespace::Catalog::addReferenceToForeignDict(), Parser::InsertStmt::analyze(), Parser::InsertValuesStmt::analyze(), foreign_storage::ParquetGeospatialEncoder::appendBaseAndRenderGroupDataAndUpdateMetadata(), Chunk_NS::Chunk::appendData(), ArrayValueConverter< ELEMENT_CONVERTER >::ArrayValueConverter(), Chunk_NS::Chunk::begin_iterator(), Catalog_Namespace::Catalog::buildMaps(), import_export::TypedImportBuffer::clear(), CodeGenerator::codegenColVar(), Fragmenter_Namespace::FixedLenArrayChunkConverter::convertToColumnarFormat(), TargetValueConverterFactory::create(), ArrayConverterFactory< ELEMENT_FACTORY >::create(), 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_decimal_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(), Chunk_NS::Chunk::createChunkBuffer(), ArrowForeignStorageBase::createDecimalColumn(), Catalog_Namespace::Catalog::createTable(), anonymous_namespace{ArrowImporter.h}::data_conversion_error(), Catalog_Namespace::Catalog::delDictionary(), Parser::InsertValuesStmt::determineLeafIndex(), DictionaryValueConverter< TARGET_TYPE >::DictionaryValueConverter(), Catalog_Namespace::Catalog::doTruncateTable(), Catalog_Namespace::Catalog::dumpCreateTable(), Catalog_Namespace::Catalog::dumpSchema(), Parser::AddColumnStmt::execute(), Parser::DropColumnStmt::execute(), Catalog_Namespace::Catalog::expandGeoColumn(), Fragmenter_Namespace::FixedLenArrayChunkConverter::FixedLenArrayChunkConverter(), import_export::Importer::gdalToColumnDescriptors(), get_column_type(), foreign_storage::get_sub_type_column_descriptor(), import_export::TypedImportBuffer::getAsBytes(), Chunk_NS::Chunk::getChunkBuffer(), Executor::getColLazyFetchInfo(), Parser::LocalConnector::getColumnDescriptors(), Catalog_Namespace::Catalog::getColumnDictDirectory(), Catalog_Namespace::Catalog::getDictionaryToColumnMapping(), import_export::TypedImportBuffer::getElementSize(), Chunk_NS::Chunk::getNumElemsForBytesInsertData(), import_export::Loader::getStringDict(), import_export::TypedImportBuffer::getStringDictBuffer(), import_export::TypedImportBuffer::getTypeInfo(), import_export::Importer::importDelimited(), import_export::Importer::importGDAL(), Chunk_NS::Chunk::initEncoder(), anonymous_namespace{RelAlgExecutor.cpp}::insert_one_dict_str(), foreign_storage::csv_file_buffer_parser::is_null_datum(), Chunk_NS::Chunk::isChunkOnDevice(), Fragmenter_Namespace::isDatumVectorData(), Fragmenter_Namespace::isStringVectorData(), foreign_storage::ParquetDataWrapper::loadBuffersUsingLazyParquetChunkLoader(), anonymous_namespace{ExecutionKernel.cpp}::need_to_hold_chunk(), TextConverterFactory::operator()(), ArraysConverterFactory::operator()(), foreign_storage::ParquetFixedLengthArrayEncoder::ParquetFixedLengthArrayEncoder(), foreign_storage::ParquetGeospatialEncoder::ParquetGeospatialEncoder(), import_export::TypedImportBuffer::pop_value(), Parser::InsertIntoTableAsSelectStmt::populateData(), DBHandler::populateThriftColumnType(), ArrowForeignStorage::prepareTable(), foreign_storage::ParquetGeospatialEncoder::processGeoElement(), foreign_storage::ParquetGeospatialEncoder::processNullGeoElement(), 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(), import_export::Importer::set_geo_physical_import_buffer(), import_export::Importer::set_geo_physical_import_buffer_columnar(), Catalog_Namespace::Catalog::setColumnDictionary(), Catalog_Namespace::Catalog::setColumnSharedDictionary(), foreign_storage::ParquetFixedLengthArrayEncoder::setNullFixedLengthArraySentinel(), Fragmenter_Namespace::shuffleByIndexes(), Fragmenter_Namespace::sizeOfRawColumn(), Fragmenter_Namespace::sortIndexes(), GeoPointValueConverter::toCompressedCoords(), RelAlgTranslator::translateGeoColumn(), anonymous_namespace{ArrowImporter.h}::type_conversion_error(), import_export::TypedImportBuffer::TypedImportBuffer(), Fragmenter_Namespace::InsertOrderFragmenter::updateChunkStats(), Fragmenter_Namespace::InsertOrderFragmenter::updateColumn(), Fragmenter_Namespace::InsertOrderFragmenter::updateColumnMetadata(), foreign_storage::anonymous_namespace{LazyParquetChunkLoader.cpp}::validate_allowed_mapping(), 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_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_array_mapping(), 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_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::ParquetGeospatialEncoder::validateChunksAndMetadataSizing(), and import_export::TypedImportBuffer::~TypedImportBuffer().

bool ColumnDescriptor::isGeoPhyCol {false}
std::string ColumnDescriptor::sourceName
std::string ColumnDescriptor::virtualExpr

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