OmniSciDB  04ee39c94c
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() [1/3]

ColumnDescriptor::ColumnDescriptor ( )
inline

Definition at line 43 of file ColumnDescriptor.h.

◆ ColumnDescriptor() [2/3]

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() [3/3]

ColumnDescriptor::ColumnDescriptor ( const bool  isGeoPhyCol)
inline

Definition at line 56 of file ColumnDescriptor.h.

References isGeoPhyCol.

Member Data Documentation

◆ chunks

std::string ColumnDescriptor::chunks

Definition at line 36 of file ColumnDescriptor.h.

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

◆ columnId

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(), Fragmenter_Namespace::FixedLenArrayChunkConverter::addDataBlocksToInsertData(), Fragmenter_Namespace::StringChunkConverter::addDataBlocksToInsertData(), Fragmenter_Namespace::DateChunkConverter< BUFFER_DATA_TYPE >::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(), Parser::AddColumnStmt::execute(), get_column_type(), Catalog_Namespace::Catalog::getDeletedColumnIfRowsDeleted(), Importer_NS::Loader::getStringDict(), anonymous_namespace{ExecutionDispatch.cpp}::need_to_hold_chunk(), MapDHandler::populateThriftColumnType(), TableOptimizer::recomputeMetadata(), Catalog_Namespace::Catalog::renameColumn(), Importer_NS::Importer::set_geo_physical_import_buffer(), Importer_NS::Importer::set_geo_physical_import_buffer_columnar(), Fragmenter_Namespace::InsertOrderFragmenter::updateChunkStats(), Fragmenter_Namespace::InsertOrderFragmenter::updateColumn(), Fragmenter_Namespace::InsertOrderFragmenter::updateColumnMetadata(), and Catalog_Namespace::Catalog::vacuumDeletedRows().

◆ columnName

◆ columnType

SQLTypeInfo ColumnDescriptor::columnType

Definition at line 35 of file ColumnDescriptor.h.

Referenced by Importer_NS::TypedImportBuffer::add_arrow_values(), Importer_NS::TypedImportBuffer::add_value(), Importer_NS::TypedImportBuffer::add_values(), Catalog_Namespace::Catalog::addColumn(), Catalog_Namespace::Catalog::addReferenceToForeignDict(), Parser::InsertStmt::analyze(), Parser::InsertValuesStmt::analyze(), Chunk_NS::Chunk::appendData(), Chunk_NS::Chunk::begin_iterator(), Catalog_Namespace::Catalog::buildMaps(), anonymous_namespace{RelAlgExecutor.cpp}::cast_to_column_type(), CodeGenerator::codegenColVar(), TargetValueConverterFactory::create(), ArrayConverterFactory< ELEMENT_FACTORY >::create(), Chunk_NS::Chunk::createChunkBuffer(), Catalog_Namespace::Catalog::createTable(), anonymous_namespace{ArrowImporter.h}::data_conversion_error(), Catalog_Namespace::Catalog::delDictionary(), Parser::InsertValuesStmt::determineLeafIndex(), DictionaryValueConverter< TARGET_TYPE >::DictionaryValueConverter(), Parser::AddColumnStmt::execute(), Catalog_Namespace::Catalog::expandGeoColumn(), Fragmenter_Namespace::FixedLenArrayChunkConverter::FixedLenArrayChunkConverter(), Importer_NS::Importer::gdalToColumnDescriptors(), get_column_type(), Chunk_NS::Chunk::getChunkBuffer(), Executor::getColLazyFetchInfo(), Parser::InsertIntoTableAsSelectStmt::LocalConnector::getColumnDescriptors(), Executor::getNumBytesForFetchedRow(), Chunk_NS::Chunk::getNumElemsForBytesInsertData(), Importer_NS::Loader::getStringDict(), Chunk_NS::Chunk::init_encoder(), anonymous_namespace{Execute.cpp}::insert_one_dict_str(), Chunk_NS::Chunk::isChunkOnDevice(), Fragmenter_Namespace::isDatumVectorData(), Fragmenter_Namespace::isStringVectorData(), anonymous_namespace{ExecutionDispatch.cpp}::need_to_hold_chunk(), TextConverterFactory::operator()(), ArraysConverterFactory::operator()(), Parser::InsertIntoTableAsSelectStmt::populateData(), MapDHandler::populateThriftColumnType(), random_fill(), Catalog_Namespace::Catalog::removeTableFromMap(), Catalog_Namespace::Catalog::renameColumn(), scan_chunk(), Importer_NS::Importer::set_geo_physical_import_buffer(), Importer_NS::Importer::set_geo_physical_import_buffer_columnar(), Parser::DDLStmt::setColumnDescriptor(), Catalog_Namespace::Catalog::setColumnDictionary(), Catalog_Namespace::Catalog::setColumnSharedDictionary(), Fragmenter_Namespace::shuffleByIndexes(), Fragmenter_Namespace::sizeOfRawColumn(), Fragmenter_Namespace::sortIndexes(), TEST(), RelAlgTranslator::translateGeoColumn(), anonymous_namespace{ArrowImporter.h}::type_conversion_error(), Importer_NS::TypedImportBuffer::TypedImportBuffer(), Fragmenter_Namespace::InsertOrderFragmenter::updateChunkStats(), Fragmenter_Namespace::InsertOrderFragmenter::updateColumn(), Fragmenter_Namespace::InsertOrderFragmenter::updateColumnMetadata(), and Parser::anonymous_namespace{ParserNode.cpp}::validate_shard_column_type().

◆ isDeletedCol

◆ isGeoPhyCol

bool ColumnDescriptor::isGeoPhyCol {false}

◆ isSystemCol

◆ isVirtualCol

◆ sourceName

std::string ColumnDescriptor::sourceName

◆ tableId

◆ virtualExpr

std::string ColumnDescriptor::virtualExpr

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