OmniSciDB  1dac507f6e
 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(), NumericValueConverter< int64_t, TARGET_TYPE >::addDataBlocksToInsertData(), 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(), 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(), Parser::AddColumnStmt::execute(), GeoLinestringValueConverter::GeoLinestringValueConverter(), GeoMultiPolygonValueConverter::GeoMultiPolygonValueConverter(), GeoPointValueConverter::GeoPointValueConverter(), GeoPolygonValueConverter::GeoPolygonValueConverter(), get_column_type(), Catalog_Namespace::Catalog::getDeletedColumnIfRowsDeleted(), Importer_NS::Loader::getStringDict(), Importer_NS::Importer::importDelimited(), Importer_NS::Importer::importGDAL(), 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().

std::string ColumnDescriptor::columnName

Definition at line 33 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::addTableToMap(), Parser::InsertValuesStmt::analyze(), Parser::QuerySpec::analyze_select_clause(), Catalog_Namespace::Catalog::buildMaps(), Catalog_Namespace::Catalog::createTable(), Catalog_Namespace::Catalog::delDictionary(), Parser::InsertValuesStmt::determineLeafIndex(), anonymous_namespace{ArrowImporter.h}::error_context(), Parser::AddColumnStmt::execute(), Parser::CreateTableStmt::executeDryRun(), Catalog_Namespace::Catalog::expandGeoColumn(), Importer_NS::Importer::gdalToColumnDescriptors(), Parser::InsertIntoTableAsSelectStmt::LocalConnector::getColumnDescriptors(), Catalog_Namespace::Catalog::getDictionary(), Importer_NS::Importer::importDelimited(), Importer_NS::Importer::importGDAL(), Importer_NS::ImportDriver::importGeoTable(), anonymous_namespace{Execute.cpp}::insert_one_dict_str(), Parser::InsertIntoTableAsSelectStmt::populateData(), MapDHandler::populateThriftColumnType(), Catalog_Namespace::Catalog::removeTableFromMap(), Catalog_Namespace::Catalog::renameColumn(), Parser::DDLStmt::setColumnDescriptor(), Catalog_Namespace::Catalog::setColumnDictionary(), Catalog_Namespace::Catalog::setColumnSharedDictionary(), Fragmenter_Namespace::sizeOfRawColumn(), Fragmenter_Namespace::InsertOrderFragmenter::updateColumn(), and validate_shared_dictionary().

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(), Importer_NS::TypedImportBuffer::addDictEncodedString(), 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(), Importer_NS::TypedImportBuffer::clear(), 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(), Catalog_Namespace::Catalog::doTruncateTable(), Parser::AddColumnStmt::execute(), Catalog_Namespace::Catalog::expandGeoColumn(), Fragmenter_Namespace::FixedLenArrayChunkConverter::FixedLenArrayChunkConverter(), Importer_NS::Importer::gdalToColumnDescriptors(), get_column_type(), Importer_NS::TypedImportBuffer::getAsBytes(), Chunk_NS::Chunk::getChunkBuffer(), Executor::getColLazyFetchInfo(), Parser::InsertIntoTableAsSelectStmt::LocalConnector::getColumnDescriptors(), Catalog_Namespace::Catalog::getColumnDictDirectory(), Importer_NS::TypedImportBuffer::getElementSize(), Chunk_NS::Chunk::getNumElemsForBytesInsertData(), Importer_NS::Loader::getStringDict(), Importer_NS::TypedImportBuffer::getStringDictBuffer(), Importer_NS::TypedImportBuffer::getTypeInfo(), Importer_NS::Importer::importDelimited(), Importer_NS::Importer::importGDAL(), Importer_NS::ImportDriver::importGeoTable(), 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()(), Importer_NS::TypedImportBuffer::pop_value(), Parser::InsertIntoTableAsSelectStmt::populateData(), MapDHandler::populateThriftColumnType(), Catalog_Namespace::Catalog::removeTableFromMap(), Catalog_Namespace::Catalog::renameColumn(), 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(), GeoPointValueConverter::toCompressedCoords(), 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(), Parser::anonymous_namespace{ParserNode.cpp}::validate_shard_column_type(), and Importer_NS::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: