Databricks C++ SDK 0.2.4
Interact with Databricks via an SDK
Loading...
Searching...
No Matches
databricks::TableInfo Struct Reference

Represents a Unity Catalog table. More...

#include <unity_catalog_types.h>

Public Attributes

std::string name
 Table name.
 
std::string catalog_name
 Parent catalog name.
 
std::string schema_name
 Parent schema name.
 
std::string table_type
 Type of table (MANAGED, EXTERNAL, VIEW, etc.)
 
std::string data_source_format
 Format (DELTA, PARQUET, CSV, etc.)
 
std::string comment
 User-provided description.
 
std::string owner
 Owner of the table.
 
uint64_t created_at = 0
 Unix timestamp in milliseconds when created.
 
uint64_t updated_at = 0
 Unix timestamp in milliseconds when last updated.
 
std::string metastore_id
 ID of the metastore containing this table.
 
std::string full_name
 Full name (catalog.schema.table)
 
std::optional< std::string > storage_location
 Storage location.
 
std::map< std::string, std::string > properties
 Table properties/metadata.
 
std::vector< ColumnInfocolumns
 Column definitions.
 
std::optional< std::string > view_definition
 SQL definition for views.
 
std::optional< uint64_t > table_id
 Unique table identifier.
 

Detailed Description

Represents a Unity Catalog table.

Tables are the primary data storage objects in Unity Catalog.

Definition at line 118 of file unity_catalog_types.h.

Member Data Documentation

◆ catalog_name

std::string databricks::TableInfo::catalog_name

Parent catalog name.

Definition at line 120 of file unity_catalog_types.h.

◆ columns

std::vector<ColumnInfo> databricks::TableInfo::columns

Column definitions.

Definition at line 132 of file unity_catalog_types.h.

◆ comment

std::string databricks::TableInfo::comment

User-provided description.

Definition at line 124 of file unity_catalog_types.h.

◆ created_at

uint64_t databricks::TableInfo::created_at = 0

Unix timestamp in milliseconds when created.

Definition at line 126 of file unity_catalog_types.h.

◆ data_source_format

std::string databricks::TableInfo::data_source_format

Format (DELTA, PARQUET, CSV, etc.)

Definition at line 123 of file unity_catalog_types.h.

◆ full_name

std::string databricks::TableInfo::full_name

Full name (catalog.schema.table)

Definition at line 129 of file unity_catalog_types.h.

◆ metastore_id

std::string databricks::TableInfo::metastore_id

ID of the metastore containing this table.

Definition at line 128 of file unity_catalog_types.h.

◆ name

std::string databricks::TableInfo::name

Table name.

Definition at line 119 of file unity_catalog_types.h.

◆ owner

std::string databricks::TableInfo::owner

Owner of the table.

Definition at line 125 of file unity_catalog_types.h.

◆ properties

std::map<std::string, std::string> databricks::TableInfo::properties

Table properties/metadata.

Definition at line 131 of file unity_catalog_types.h.

◆ schema_name

std::string databricks::TableInfo::schema_name

Parent schema name.

Definition at line 121 of file unity_catalog_types.h.

◆ storage_location

std::optional<std::string> databricks::TableInfo::storage_location

Storage location.

Definition at line 130 of file unity_catalog_types.h.

◆ table_id

std::optional<uint64_t> databricks::TableInfo::table_id

Unique table identifier.

Definition at line 134 of file unity_catalog_types.h.

◆ table_type

std::string databricks::TableInfo::table_type

Type of table (MANAGED, EXTERNAL, VIEW, etc.)

Definition at line 122 of file unity_catalog_types.h.

◆ updated_at

uint64_t databricks::TableInfo::updated_at = 0

Unix timestamp in milliseconds when last updated.

Definition at line 127 of file unity_catalog_types.h.

◆ view_definition

std::optional<std::string> databricks::TableInfo::view_definition

SQL definition for views.

Definition at line 133 of file unity_catalog_types.h.


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