Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb::ColumnDefinition Class Reference

A column of a table. More...

Collaboration diagram for duckdb::ColumnDefinition:

Public Member Functions

DUCKDB_API ColumnDefinition (string name, LogicalType type)
 
DUCKDB_API ColumnDefinition (string name, LogicalType type, unique_ptr< ParsedExpression > expression, TableColumnType category)
 
const ParsedExpressionDefaultValue () const
 default_value
 
bool HasDefaultValue () const
 
void SetDefaultValue (unique_ptr< ParsedExpression > default_value)
 
DUCKDB_API const LogicalTypeType () const
 type
 
LogicalTypeTypeMutable ()
 
void SetType (const LogicalType &type)
 
DUCKDB_API const string & Name () const
 name
 
void SetName (const string &name)
 
DUCKDB_API const ValueComment () const
 comment
 
void SetComment (const Value &comment)
 
const duckdb::CompressionType & CompressionType () const
 compression_type
 
void SetCompressionType (duckdb::CompressionType compression_type)
 
const storage_tStorageOid () const
 storage_oid
 
void SetStorageOid (storage_t storage_oid)
 
LogicalIndex Logical () const
 
PhysicalIndex Physical () const
 
const column_tOid () const
 oid
 
void SetOid (column_t oid)
 
const TableColumnType & Category () const
 category
 
bool Generated () const
 Whether this column is a Generated Column.
 
DUCKDB_API ColumnDefinition Copy () const
 
DUCKDB_API void Serialize (Serializer &serializer) const
 
ParsedExpressionGeneratedExpressionMutable ()
 
const ParsedExpressionGeneratedExpression () const
 
void SetGeneratedExpression (unique_ptr< ParsedExpression > expression)
 
void ChangeGeneratedExpressionType (const LogicalType &type)
 
void GetListOfDependencies (vector< string > &dependencies) const
 
string GetName () const
 
LogicalType GetType () const
 

Static Public Member Functions

static DUCKDB_API ColumnDefinition Deserialize (Deserializer &deserializer)
 

Private Attributes

string name
 The name of the entry.
 
LogicalType type
 The type of the column.
 
duckdb::CompressionType compression_type = duckdb::CompressionType::COMPRESSION_AUTO
 Compression Type used for this column.
 
storage_t storage_oid = DConstants::INVALID_INDEX
 The index of the column in the storage of the table.
 
idx_t oid = DConstants::INVALID_INDEX
 The index of the column in the table.
 
TableColumnType category = TableColumnType::STANDARD
 The category of the column.
 
unique_ptr< ParsedExpressionexpression
 
Value comment
 Comment on this column.
 
unordered_map< string, string > tags
 Tags on this column.
 

Detailed Description

A column of a table.

Member Data Documentation

◆ expression

unique_ptr<ParsedExpression> duckdb::ColumnDefinition::expression
private

The default value of the column (for non-generated columns) The generated column expression (for generated columns)


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