1 #ifndef CATALOG_INDEXDESC_H
2 #define CATALOG_INDEXDESC_H
17 std::vector<std::shared_ptr<SysTable_IndexColumn>> index_columns,
18 std::unique_ptr<Schema> key_schema);
47 IndexDesc(std::shared_ptr<const SysTable_Index> index,
48 std::vector<std::shared_ptr<SysTable_IndexColumn>> index_columns,
49 std::unique_ptr<Schema> key_schema):
54 std::shared_ptr<const SysTable_Index>
m_index;
Definition: IndexDesc.h:11
static IndexDesc * Create(std::shared_ptr< const SysTable_Index > index, std::vector< std::shared_ptr< SysTable_IndexColumn >> index_columns, std::unique_ptr< Schema > key_schema)
This overload simply passes the arguments to the constructor.
Definition: IndexDesc.cpp:6
std::unique_ptr< Schema > m_key_schema
Definition: IndexDesc.h:56
const Schema * GetKeySchema() const
Returns the cached index key schema, which we guanrantee ‘IsLayoutComputed() == true’.
Definition: IndexDesc.h:41
const SysTable_Index * GetIndexEntry() const
Returns the cached Index entry associated with this index descriptor.
Definition: IndexDesc.h:27
std::shared_ptr< const SysTable_Index > m_index
Definition: IndexDesc.h:54
const SysTable_IndexColumn * GetIndexColumnEntry(FieldId keyid) const
Definition: IndexDesc.h:32
IndexDesc(std::shared_ptr< const SysTable_Index > index, std::vector< std::shared_ptr< SysTable_IndexColumn >> index_columns, std::unique_ptr< Schema > key_schema)
Definition: IndexDesc.h:47
std::vector< std::shared_ptr< SysTable_IndexColumn > > m_index_columns
Definition: IndexDesc.h:55
A Schema object stores the information for accessing an ordered set of typed fields either from a dis...
Definition: Schema.h:39
SysTable_IndexColumn is an in-memory cached record in the system catalog SysTable_IndexColumn.
Definition: IndexColumn.h:16
SysTable_Index is an in-memory cached record in the system catalog SysTable_Index.
Definition: Index.h:16
int16_t FieldId
Definition: tdb_base.h:212
This header file includes all internal struct representation of system catalog records.