taco-db  0.1.0
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Friends | List of all members
taco::SysTable_IndexColumn Class Reference

SysTable_IndexColumn is an in-memory cached record in the system catalog SysTable_IndexColumn. More...

#include <catalog/systables/IndexColumn.h>

Public Member Functions

constexpr Oid idxcolidxid () const
 Returns the index ID. More...
 
constexpr int16_t idxcolid () const
 Returns the key column number in the index (counting from 0). More...
 
constexpr int16_t idxcoltabcolid () const
 Returns the column number in the indexed table. More...
 
constexpr Oid idxcoltypid () const
 Returns the type id of the key column in the index. More...
 
constexpr bool idxcolisnullable () const
 Returns whether this key column can be NULL. More...
 
constexpr uint64_t idxcoltypparam () const
 Returns the type parameter of this key column. More...
 
constexpr Oid idxcoleqfuncid () const
 Returns the = operator function id. More...
 
constexpr Oid idxcolltfuncid () const
 Returns the < operator function id. More...
 

Static Public Member Functions

static constexpr FieldId idxcolidxid_colid ()
 
static constexpr FieldId idxcolid_colid ()
 
static constexpr FieldId idxcoltabcolid_colid ()
 
static constexpr FieldId idxcoltypid_colid ()
 
static constexpr FieldId idxcolisnullable_colid ()
 
static constexpr FieldId idxcoltypparam_colid ()
 
static constexpr FieldId idxcoleqfuncid_colid ()
 
static constexpr FieldId idxcolltfuncid_colid ()
 

Private Member Functions

 SysTable_IndexColumn (Oid idxcolidxid, int16_t idxcolid, int16_t idxcoltabcolid, Oid idxcoltypid, bool idxcolisnullable, uint64_t idxcoltypparam, Oid idxcoleqfuncid, Oid idxcolltfuncid)
 
std::vector< DatumGetDatumVector () const
 Returns all the fields as a datum vector. More...
 
 SysTable_IndexColumn (const SysTable_IndexColumn &)=default
 
SysTable_IndexColumnoperator= (const SysTable_IndexColumn &)=default
 

Static Private Member Functions

static SysTable_IndexColumnCreate (const std::vector< Datum > &)
 Creates a new SysTable_IndexColumn with a data vector read from some record payload. More...
 

Private Attributes

Oid m_idxcolidxid
 
int16_t m_idxcolid
 
int16_t m_idxcoltabcolid
 
Oid m_idxcoltypid
 
bool m_idxcolisnullable
 
uint64_t m_idxcoltypparam
 
Oid m_idxcoleqfuncid
 
Oid m_idxcolltfuncid
 

Friends

class BootstrapCatCache
 
class CatCacheInternalAccess
 

Detailed Description

SysTable_IndexColumn is an in-memory cached record in the system catalog SysTable_IndexColumn.

Constructor & Destructor Documentation

◆ SysTable_IndexColumn() [1/2]

taco::SysTable_IndexColumn::SysTable_IndexColumn ( Oid  idxcolidxid,
int16_t  idxcolid,
int16_t  idxcoltabcolid,
Oid  idxcoltypid,
bool  idxcolisnullable,
uint64_t  idxcoltypparam,
Oid  idxcoleqfuncid,
Oid  idxcolltfuncid 
)
inlineprivate

◆ SysTable_IndexColumn() [2/2]

taco::SysTable_IndexColumn::SysTable_IndexColumn ( const SysTable_IndexColumn )
privatedefault

Member Function Documentation

◆ Create()

SysTable_IndexColumn * taco::SysTable_IndexColumn::Create ( const std::vector< Datum > &  data)
staticprivate

Creates a new SysTable_IndexColumn with a data vector read from some record payload.

This function is private and only accessible to the catalog cache implementation.

◆ GetDatumVector()

std::vector< Datum > taco::SysTable_IndexColumn::GetDatumVector ( ) const
private

Returns all the fields as a datum vector.

Note that the entry itself must be kept alive when the datum vector is accessed, as we may return references without copying the underlying data. This function is private and only accessible to the catalog cache implementation.

◆ idxcoleqfuncid()

constexpr Oid taco::SysTable_IndexColumn::idxcoleqfuncid ( ) const
inlineconstexpr

Returns the = operator function id.

◆ idxcoleqfuncid_colid()

static constexpr FieldId taco::SysTable_IndexColumn::idxcoleqfuncid_colid ( )
inlinestaticconstexpr

◆ idxcolid()

constexpr int16_t taco::SysTable_IndexColumn::idxcolid ( ) const
inlineconstexpr

Returns the key column number in the index (counting from 0).

◆ idxcolid_colid()

static constexpr FieldId taco::SysTable_IndexColumn::idxcolid_colid ( )
inlinestaticconstexpr

◆ idxcolidxid()

constexpr Oid taco::SysTable_IndexColumn::idxcolidxid ( ) const
inlineconstexpr

Returns the index ID.

◆ idxcolidxid_colid()

static constexpr FieldId taco::SysTable_IndexColumn::idxcolidxid_colid ( )
inlinestaticconstexpr

◆ idxcolisnullable()

constexpr bool taco::SysTable_IndexColumn::idxcolisnullable ( ) const
inlineconstexpr

Returns whether this key column can be NULL.

◆ idxcolisnullable_colid()

static constexpr FieldId taco::SysTable_IndexColumn::idxcolisnullable_colid ( )
inlinestaticconstexpr

◆ idxcolltfuncid()

constexpr Oid taco::SysTable_IndexColumn::idxcolltfuncid ( ) const
inlineconstexpr

Returns the < operator function id.

◆ idxcolltfuncid_colid()

static constexpr FieldId taco::SysTable_IndexColumn::idxcolltfuncid_colid ( )
inlinestaticconstexpr

◆ idxcoltabcolid()

constexpr int16_t taco::SysTable_IndexColumn::idxcoltabcolid ( ) const
inlineconstexpr

Returns the column number in the indexed table.

◆ idxcoltabcolid_colid()

static constexpr FieldId taco::SysTable_IndexColumn::idxcoltabcolid_colid ( )
inlinestaticconstexpr

◆ idxcoltypid()

constexpr Oid taco::SysTable_IndexColumn::idxcoltypid ( ) const
inlineconstexpr

Returns the type id of the key column in the index.

◆ idxcoltypid_colid()

static constexpr FieldId taco::SysTable_IndexColumn::idxcoltypid_colid ( )
inlinestaticconstexpr

◆ idxcoltypparam()

constexpr uint64_t taco::SysTable_IndexColumn::idxcoltypparam ( ) const
inlineconstexpr

Returns the type parameter of this key column.

◆ idxcoltypparam_colid()

static constexpr FieldId taco::SysTable_IndexColumn::idxcoltypparam_colid ( )
inlinestaticconstexpr

◆ operator=()

SysTable_IndexColumn& taco::SysTable_IndexColumn::operator= ( const SysTable_IndexColumn )
privatedefault

Friends And Related Function Documentation

◆ BootstrapCatCache

friend class BootstrapCatCache
friend

◆ CatCacheInternalAccess

friend class CatCacheInternalAccess
friend

Member Data Documentation

◆ m_idxcoleqfuncid

Oid taco::SysTable_IndexColumn::m_idxcoleqfuncid
private

◆ m_idxcolid

int16_t taco::SysTable_IndexColumn::m_idxcolid
private

◆ m_idxcolidxid

Oid taco::SysTable_IndexColumn::m_idxcolidxid
private

◆ m_idxcolisnullable

bool taco::SysTable_IndexColumn::m_idxcolisnullable
private

◆ m_idxcolltfuncid

Oid taco::SysTable_IndexColumn::m_idxcolltfuncid
private

◆ m_idxcoltabcolid

int16_t taco::SysTable_IndexColumn::m_idxcoltabcolid
private

◆ m_idxcoltypid

Oid taco::SysTable_IndexColumn::m_idxcoltypid
private

◆ m_idxcoltypparam

uint64_t taco::SysTable_IndexColumn::m_idxcoltypparam
private

The documentation for this class was generated from the following files: