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

#include <property.h>

Public Member Functions

 Property ()=default
 
 Property (std::string name, common::LogicalType dataType, std::unique_ptr< parser::ParsedExpression > defaultExpr)
 
 Property (std::string name, common::LogicalType dataType, std::unique_ptr< parser::ParsedExpression > defaultExpr, common::property_id_t propertyID, common::column_id_t columnID, common::table_id_t tableID)
 
 EXPLICIT_COPY_DEFAULT_MOVE (Property)
 
std::string getName () const
 
void setColumnID (common::column_id_t columnID)
 
const common::LogicalTypegetDataType () const
 
common::property_id_t getPropertyID () const
 
common::column_id_t getColumnID () const
 
common::table_id_t getTableID () const
 
const parser::ParsedExpressiongetDefaultExpr () const
 
void rename (std::string newName)
 
void serialize (common::Serializer &serializer) const
 

Static Public Member Functions

static Property deserialize (common::Deserializer &deserializer)
 
static std::string toCypher (const std::vector< Property > &properties)
 

Constructor & Destructor Documentation

◆ Property() [1/3]

kuzu::catalog::Property::Property ( )
default

◆ Property() [2/3]

kuzu::catalog::Property::Property ( std::string name,
common::LogicalType dataType,
std::unique_ptr< parser::ParsedExpression > defaultExpr )
inline

◆ Property() [3/3]

kuzu::catalog::Property::Property ( std::string name,
common::LogicalType dataType,
std::unique_ptr< parser::ParsedExpression > defaultExpr,
common::property_id_t propertyID,
common::column_id_t columnID,
common::table_id_t tableID )
inline

Member Function Documentation

◆ deserialize()

static Property kuzu::catalog::Property::deserialize ( common::Deserializer & deserializer)
static

◆ EXPLICIT_COPY_DEFAULT_MOVE()

kuzu::catalog::Property::EXPLICIT_COPY_DEFAULT_MOVE ( Property )

◆ getColumnID()

common::column_id_t kuzu::catalog::Property::getColumnID ( ) const
inline

◆ getDataType()

const common::LogicalType & kuzu::catalog::Property::getDataType ( ) const
inline

◆ getDefaultExpr()

const parser::ParsedExpression * kuzu::catalog::Property::getDefaultExpr ( ) const
inline

◆ getName()

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

◆ getPropertyID()

common::property_id_t kuzu::catalog::Property::getPropertyID ( ) const
inline

◆ getTableID()

common::table_id_t kuzu::catalog::Property::getTableID ( ) const
inline

◆ rename()

void kuzu::catalog::Property::rename ( std::string newName)
inline

◆ serialize()

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

◆ setColumnID()

void kuzu::catalog::Property::setColumnID ( common::column_id_t columnID)
inline

◆ toCypher()

static std::string kuzu::catalog::Property::toCypher ( const std::vector< Property > & properties)
static

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