Go to the documentation of this file.
    7 #ifndef CATALOG_SYSTABLES_Index_H 
    8 #define CATALOG_SYSTABLES_Index_H 
   70     constexpr 
const std::string&
 
  131     inline static constexpr 
FieldId 
  136     inline static constexpr 
FieldId 
  141     inline static constexpr 
FieldId 
  146     inline static constexpr 
FieldId 
  151     inline static constexpr 
FieldId 
  156     inline static constexpr 
FieldId 
  161     inline static constexpr 
FieldId 
  171 #endif  // CATALOG_SYSTABLES_Index_H 
  
bool m_idxunique
Definition: Index.h:100
 
static constexpr FieldId idxncols_colid()
Definition: Index.h:152
 
int16_t m_idxncols
Definition: Index.h:101
 
constexpr Oid idxid() const
Returns the index ID.
Definition: Index.h:23
 
std::string m_idxname
Definition: Index.h:103
 
constexpr bool idxunique() const
Returns whether this is a unique index.
Definition: Index.h:47
 
SysTable_Index is an in-memory cached record in the system catalog SysTable_Index.
Definition: Index.h:16
 
Oid m_idxtabid
Definition: Index.h:98
 
constexpr uint8_t idxtyp() const
Returns the type id of the index, see index/idxtyps.h.
Definition: Index.h:39
 
SysTable_Index & operator=(const SysTable_Index &)=default
 
static SysTable_Index * Create(const std::vector< Datum > &)
Creates a new SysTable_Index with a data vector read from some record payload.
Definition: Index.cpp:17
 
int16_t FieldId
Definition: tdb_base.h:213
 
constexpr Oid idxtabid() const
Returns the table id of that the index is built on (may be InvalidOid).
Definition: Index.h:31
 
Some internal functions of catalog cache implementations.
Definition: CatCacheBase.h:38
 
Oid m_idxid
Definition: Index.h:97
 
static constexpr FieldId idxtabid_colid()
Definition: Index.h:137
 
static constexpr FieldId idxname_colid()
Definition: Index.h:162
 
constexpr const std::string & idxname() const
Returns the index name.
Definition: Index.h:71
 
static constexpr FieldId idxfid_colid()
Definition: Index.h:157
 
static constexpr FieldId idxunique_colid()
Definition: Index.h:147
 
SysTable_Index(Oid idxid, Oid idxtabid, uint8_t idxtyp, bool idxunique, int16_t idxncols, uint32_t idxfid, std::string idxname)
Definition: Index.h:78
 
uint32_t m_idxfid
Definition: Index.h:102
 
BootstrapCatCache stores hard-coded data needed to bootstrap the entire database catalog.
Definition: BootstrapCatCache.h:21
 
constexpr int16_t idxncols() const
Returns the number of key columns.
Definition: Index.h:55
 
uint32_t Oid
Definition: tdb_base.h:211
 
static constexpr FieldId idxid_colid()
Definition: Index.h:132
 
std::vector< Datum > GetDatumVector() const
Returns all the fields as a datum vector.
Definition: Index.cpp:39
 
constexpr uint32_t idxfid() const
Returns the file ID of the index if any.
Definition: Index.h:63
 
uint8_t m_idxtyp
Definition: Index.h:99
 
static constexpr FieldId idxtyp_colid()
Definition: Index.h:142