Kùzu C++ API
Loading...
Searching...
No Matches
kuzu::catalog::CatalogEntry Class Reference

#include <catalog_entry.h>

Inheritance diagram for kuzu::catalog::CatalogEntry:
kuzu::catalog::FunctionCatalogEntry kuzu::catalog::TableCatalogEntry

Public Member Functions

 CatalogEntry ()=default
 
 CatalogEntry (CatalogEntryType type, std::string name)
 
 DELETE_COPY_DEFAULT_MOVE (CatalogEntry)
 
virtual ~CatalogEntry ()=default
 
CatalogEntryType getType () const
 
void rename (std::string name_)
 
std::string getName () const
 
common::transaction_t getTimestamp () const
 
void setTimestamp (common::transaction_t timestamp_)
 
bool isDeleted () const
 
void setDeleted (bool deleted_)
 
bool hasParent () const
 
void setHasParent (bool hasParent)
 
CatalogEntrygetPrev () const
 
std::unique_ptr< CatalogEntrymovePrev ()
 
void setPrev (std::unique_ptr< CatalogEntry > prev_)
 
CatalogEntrygetNext () const
 
void setNext (CatalogEntry *next_)
 
virtual void serialize (common::Serializer &serializer) const
 
virtual std::string toCypher (main::ClientContext *) const
 
template<class TARGET >
const TARGET & constCast () const
 
template<class TARGET >
const TARGET * constPtrCast () const
 
template<class TARGET >
TARGET * ptrCast ()
 

Static Public Member Functions

static std::unique_ptr< CatalogEntrydeserialize (common::Deserializer &deserializer)
 

Protected Member Functions

virtual void copyFrom (const CatalogEntry &other)
 

Protected Attributes

CatalogEntryType type
 
std::string name
 
common::transaction_t timestamp
 
bool deleted = false
 
bool hasParent_ = false
 
std::unique_ptr< CatalogEntryprev
 
CatalogEntrynext = nullptr
 

Constructor & Destructor Documentation

◆ CatalogEntry() [1/2]

kuzu::catalog::CatalogEntry::CatalogEntry ( )
default

◆ CatalogEntry() [2/2]

kuzu::catalog::CatalogEntry::CatalogEntry ( CatalogEntryType type,
std::string name )
inline

◆ ~CatalogEntry()

virtual kuzu::catalog::CatalogEntry::~CatalogEntry ( )
virtualdefault

Member Function Documentation

◆ constCast()

template<class TARGET >
const TARGET & kuzu::catalog::CatalogEntry::constCast ( ) const
inline

◆ constPtrCast()

template<class TARGET >
const TARGET * kuzu::catalog::CatalogEntry::constPtrCast ( ) const
inline

◆ copyFrom()

virtual void kuzu::catalog::CatalogEntry::copyFrom ( const CatalogEntry & other)
protectedvirtual

◆ DELETE_COPY_DEFAULT_MOVE()

kuzu::catalog::CatalogEntry::DELETE_COPY_DEFAULT_MOVE ( CatalogEntry )

◆ deserialize()

static std::unique_ptr< CatalogEntry > kuzu::catalog::CatalogEntry::deserialize ( common::Deserializer & deserializer)
static

◆ getName()

std::string kuzu::catalog::CatalogEntry::getName ( ) const
inline

◆ getNext()

CatalogEntry * kuzu::catalog::CatalogEntry::getNext ( ) const
inline

◆ getPrev()

CatalogEntry * kuzu::catalog::CatalogEntry::getPrev ( ) const
inline

◆ getTimestamp()

common::transaction_t kuzu::catalog::CatalogEntry::getTimestamp ( ) const
inline

◆ getType()

CatalogEntryType kuzu::catalog::CatalogEntry::getType ( ) const
inline

◆ hasParent()

bool kuzu::catalog::CatalogEntry::hasParent ( ) const
inline

◆ isDeleted()

bool kuzu::catalog::CatalogEntry::isDeleted ( ) const
inline

◆ movePrev()

std::unique_ptr< CatalogEntry > kuzu::catalog::CatalogEntry::movePrev ( )
inline

◆ ptrCast()

template<class TARGET >
TARGET * kuzu::catalog::CatalogEntry::ptrCast ( )
inline

◆ rename()

void kuzu::catalog::CatalogEntry::rename ( std::string name_)
inline

◆ serialize()

virtual void kuzu::catalog::CatalogEntry::serialize ( common::Serializer & serializer) const
virtual

◆ setDeleted()

void kuzu::catalog::CatalogEntry::setDeleted ( bool deleted_)
inline

◆ setHasParent()

void kuzu::catalog::CatalogEntry::setHasParent ( bool hasParent)
inline

◆ setNext()

void kuzu::catalog::CatalogEntry::setNext ( CatalogEntry * next_)
inline

◆ setPrev()

void kuzu::catalog::CatalogEntry::setPrev ( std::unique_ptr< CatalogEntry > prev_)
inline

◆ setTimestamp()

void kuzu::catalog::CatalogEntry::setTimestamp ( common::transaction_t timestamp_)
inline

◆ toCypher()

virtual std::string kuzu::catalog::CatalogEntry::toCypher ( main::ClientContext * ) const
inlinevirtual

Member Data Documentation

◆ deleted

bool kuzu::catalog::CatalogEntry::deleted = false
protected

◆ hasParent_

bool kuzu::catalog::CatalogEntry::hasParent_ = false
protected

◆ name

std::string kuzu::catalog::CatalogEntry::name
protected

◆ next

CatalogEntry* kuzu::catalog::CatalogEntry::next = nullptr
protected

◆ prev

std::unique_ptr<CatalogEntry> kuzu::catalog::CatalogEntry::prev
protected

◆ timestamp

common::transaction_t kuzu::catalog::CatalogEntry::timestamp
protected

◆ type

CatalogEntryType kuzu::catalog::CatalogEntry::type
protected

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