OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TableMetadata Struct Reference

#include <TableMetadata.h>

+ Collaboration diagram for TableMetadata:

Public Member Functions

 TableMetadata (const TableDescriptor *td)
 

Public Attributes

int32_t table_id
 
std::string table_name
 
int32_t owner_id
 
std::string owner_name
 
bool is_temp_table
 
int32_t num_columns
 
bool is_sharded
 
int32_t num_shards
 
int64_t max_rows
 
int32_t fragment_size
 
int32_t max_rollback_epochs
 
int32_t min_epoch
 
int32_t max_epoch
 
int32_t min_epoch_floor
 
int32_t max_epoch_floor
 
int64_t num_bytes
 
int64_t num_files
 
int64_t num_pages
 

Detailed Description

Definition at line 20 of file TableMetadata.h.

Constructor & Destructor Documentation

TableMetadata::TableMetadata ( const TableDescriptor td)
inline

Definition at line 39 of file TableMetadata.h.

40  : table_id(td->tableId)
41  , table_name(td->tableName)
42  , owner_id(td->userId)
44  , num_columns(td->nColumns)
45  , is_sharded(td->nShards > 0)
46  , num_shards(td->nShards)
47  , max_rows(td->maxRows)
int32_t maxRollbackEpochs
int32_t fragment_size
Definition: TableMetadata.h:30
int32_t num_columns
Definition: TableMetadata.h:26
std::string tableName
std::string table_name
Definition: TableMetadata.h:22
int32_t max_rollback_epochs
Definition: TableMetadata.h:31
int64_t max_rows
Definition: TableMetadata.h:29
Data_Namespace::MemoryLevel persistenceLevel
int32_t table_id
Definition: TableMetadata.h:21
int32_t num_shards
Definition: TableMetadata.h:28
int32_t owner_id
Definition: TableMetadata.h:23

Member Data Documentation

int32_t TableMetadata::fragment_size
bool TableMetadata::is_sharded

Definition at line 27 of file TableMetadata.h.

bool TableMetadata::is_temp_table

Definition at line 25 of file TableMetadata.h.

int32_t TableMetadata::max_epoch

Definition at line 33 of file TableMetadata.h.

int32_t TableMetadata::max_epoch_floor

Definition at line 35 of file TableMetadata.h.

int32_t TableMetadata::max_rollback_epochs

Definition at line 31 of file TableMetadata.h.

int32_t TableMetadata::min_epoch

Definition at line 32 of file TableMetadata.h.

int32_t TableMetadata::min_epoch_floor

Definition at line 34 of file TableMetadata.h.

int64_t TableMetadata::num_bytes

Definition at line 36 of file TableMetadata.h.

int32_t TableMetadata::num_columns

Definition at line 26 of file TableMetadata.h.

int64_t TableMetadata::num_files

Definition at line 37 of file TableMetadata.h.

int64_t TableMetadata::num_pages
int32_t TableMetadata::num_shards

Definition at line 28 of file TableMetadata.h.

int32_t TableMetadata::owner_id

Definition at line 23 of file TableMetadata.h.

std::string TableMetadata::owner_name

Definition at line 24 of file TableMetadata.h.

std::string TableMetadata::table_name

Definition at line 22 of file TableMetadata.h.

Referenced by heavydb.thrift.ttypes.TTableMeta::read(), heavydb.thrift.Heavy.get_table_details_args::read(), heavydb.thrift.Heavy.get_table_details_for_database_args::read(), heavydb.thrift.Heavy.get_internal_table_details_args::read(), heavydb.thrift.Heavy.get_internal_table_details_for_database_args::read(), heavydb.thrift.Heavy.set_table_epoch_by_name_args::read(), heavydb.thrift.Heavy.get_table_epoch_by_name_args::read(), heavydb.thrift.Heavy.load_table_binary_args::read(), heavydb.thrift.Heavy.load_table_binary_columnar_args::read(), heavydb.thrift.Heavy.load_table_binary_arrow_args::read(), heavydb.thrift.Heavy.load_table_args::read(), heavydb.thrift.Heavy.create_table_args::read(), heavydb.thrift.Heavy.import_table_args::read(), heavydb.thrift.Heavy.import_geo_table_args::read(), heavydb.thrift.ttypes.TTableMeta::write(), heavydb.thrift.Heavy.get_table_details_args::write(), heavydb.thrift.Heavy.get_table_details_for_database_args::write(), heavydb.thrift.Heavy.get_internal_table_details_args::write(), heavydb.thrift.Heavy.get_internal_table_details_for_database_args::write(), heavydb.thrift.Heavy.set_table_epoch_by_name_args::write(), heavydb.thrift.Heavy.get_table_epoch_by_name_args::write(), heavydb.thrift.Heavy.load_table_binary_args::write(), heavydb.thrift.Heavy.load_table_binary_columnar_args::write(), heavydb.thrift.Heavy.load_table_binary_arrow_args::write(), heavydb.thrift.Heavy.load_table_args::write(), heavydb.thrift.Heavy.create_table_args::write(), heavydb.thrift.Heavy.import_table_args::write(), and heavydb.thrift.Heavy.import_geo_table_args::write().


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