Kùzu C++ API
Loading...
Searching...
No Matches
kuzu::common::UnionType Struct Reference

#include <types.h>

Static Public Member Functions

static union_field_idx_t getInternalFieldIdx (union_field_idx_t idx)
 
static std::string getFieldName (const LogicalType &type, union_field_idx_t idx)
 
static const LogicalTypegetFieldType (const LogicalType &type, union_field_idx_t idx)
 
static uint64_t getNumFields (const LogicalType &type)
 

Static Public Attributes

static constexpr union_field_idx_t TAG_FIELD_IDX = 0
 
static constexpr auto TAG_FIELD_TYPE = LogicalTypeID::INT8
 
static constexpr char TAG_FIELD_NAME [] = "tag"
 

Member Function Documentation

◆ getFieldName()

static std::string kuzu::common::UnionType::getFieldName ( const LogicalType & type,
union_field_idx_t idx )
static

◆ getFieldType()

static const LogicalType & kuzu::common::UnionType::getFieldType ( const LogicalType & type,
union_field_idx_t idx )
static

◆ getInternalFieldIdx()

static union_field_idx_t kuzu::common::UnionType::getInternalFieldIdx ( union_field_idx_t idx)
static

◆ getNumFields()

static uint64_t kuzu::common::UnionType::getNumFields ( const LogicalType & type)
static

Member Data Documentation

◆ TAG_FIELD_IDX

union_field_idx_t kuzu::common::UnionType::TAG_FIELD_IDX = 0
staticconstexpr

◆ TAG_FIELD_NAME

char kuzu::common::UnionType::TAG_FIELD_NAME[] = "tag"
staticconstexpr

◆ TAG_FIELD_TYPE

auto kuzu::common::UnionType::TAG_FIELD_TYPE = LogicalTypeID::INT8
staticconstexpr

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