Go to the documentation of this file.    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;
 
   62 #endif  // CATALOG_INDEXDESC_H 
 
SysTable_Index is an in-memory cached record in the system catalog SysTable_Index.
Definition: Index.h:16
 
constexpr const SysTable_IndexColumn * GetIndexColumnEntry(FieldId keyid) const
Definition: IndexDesc.h:32
 
int16_t FieldId
Definition: tdb_base.h:213
 
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
 
std::shared_ptr< const SysTable_Index > m_index
Definition: IndexDesc.h:54
 
SysTable_IndexColumn is an in-memory cached record in the system catalog SysTable_IndexColumn.
Definition: IndexColumn.h:16
 
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
 
constexpr const SysTable_Index * GetIndexEntry() const
Returns the cached Index entry associated with this index descriptor.
Definition: IndexDesc.h:27
 
std::unique_ptr< Schema > m_key_schema
Definition: IndexDesc.h:56
 
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
 
Definition: IndexDesc.h:11
 
constexpr const Schema * GetKeySchema() const
Returns the cached index key schema, which we guanrantee ‘IsLayoutComputed() == true’.
Definition: IndexDesc.h:41