Kùzu C++ API
Loading...
Searching...
No Matches
kuzu::parser::ParsedLiteralExpression Class Reference

#include <parsed_literal_expression.h>

Inheritance diagram for kuzu::parser::ParsedLiteralExpression:
kuzu::parser::ParsedExpression

Public Member Functions

 ParsedLiteralExpression (common::Value value, std::string raw)
 
 ParsedLiteralExpression (std::string alias, std::string rawName, parsed_expr_vector children, common::Value value)
 
 ParsedLiteralExpression (common::Value value)
 
common::Value getValue () const
 
common::ValuegetValueUnsafe ()
 
std::unique_ptr< ParsedExpressioncopy () const override
 
- Public Member Functions inherited from kuzu::parser::ParsedExpression
 ParsedExpression (common::ExpressionType type, std::unique_ptr< ParsedExpression > child, std::string rawName)
 
 ParsedExpression (common::ExpressionType type, std::unique_ptr< ParsedExpression > left, std::unique_ptr< ParsedExpression > right, std::string rawName)
 
 ParsedExpression (common::ExpressionType type, std::string rawName)
 
 ParsedExpression (common::ExpressionType type)
 
 ParsedExpression (common::ExpressionType type, std::string alias, std::string rawName, parsed_expr_vector children)
 
 DELETE_COPY_DEFAULT_MOVE (ParsedExpression)
 
virtual ~ParsedExpression ()=default
 
common::ExpressionType getExpressionType () const
 
void setAlias (std::string name)
 
bool hasAlias () const
 
std::string getAlias () const
 
std::string getRawName () const
 
uint32_t getNumChildren () const
 
ParsedExpressiongetChild (uint32_t idx) const
 
std::string toString () const
 
void serialize (common::Serializer &serializer) const
 
template<class TARGET >
TARGET & cast ()
 
template<class TARGET >
const TARGET & constCast () const
 
template<class TARGET >
const TARGET * constPtrCast () const
 

Static Public Member Functions

static std::unique_ptr< ParsedLiteralExpressiondeserialize (common::Deserializer &deserializer)
 
- Static Public Member Functions inherited from kuzu::parser::ParsedExpression
static std::unique_ptr< ParsedExpressiondeserialize (common::Deserializer &deserializer)
 

Additional Inherited Members

- Protected Attributes inherited from kuzu::parser::ParsedExpression
common::ExpressionType type
 
std::string alias
 
std::string rawName
 
parsed_expr_vector children
 

Constructor & Destructor Documentation

◆ ParsedLiteralExpression() [1/3]

kuzu::parser::ParsedLiteralExpression::ParsedLiteralExpression ( common::Value value,
std::string raw )
inline

◆ ParsedLiteralExpression() [2/3]

kuzu::parser::ParsedLiteralExpression::ParsedLiteralExpression ( std::string alias,
std::string rawName,
parsed_expr_vector children,
common::Value value )
inline

◆ ParsedLiteralExpression() [3/3]

kuzu::parser::ParsedLiteralExpression::ParsedLiteralExpression ( common::Value value)
inlineexplicit

Member Function Documentation

◆ copy()

std::unique_ptr< ParsedExpression > kuzu::parser::ParsedLiteralExpression::copy ( ) const
inlineoverridevirtual

Reimplemented from kuzu::parser::ParsedExpression.

◆ deserialize()

static std::unique_ptr< ParsedLiteralExpression > kuzu::parser::ParsedLiteralExpression::deserialize ( common::Deserializer & deserializer)
inlinestatic

◆ getValue()

common::Value kuzu::parser::ParsedLiteralExpression::getValue ( ) const
inline

◆ getValueUnsafe()

common::Value & kuzu::parser::ParsedLiteralExpression::getValueUnsafe ( )
inline

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