GPUdb C++ API  Version 7.2.2.4
gpudb::ShowTableResponse Struct Reference

A set of results returned by GPUdb::showTable. More...

#include <gpudb/protocol/show_table.h>

Public Member Functions

 ShowTableResponse ()
 Constructs a ShowTableResponse object with default parameters. More...
 

Public Attributes

std::string tableName
 Value of tableName. More...
 
std::vector< std::string > tableNames
 If tableName is a table or view, then the single element of the array is tableName. More...
 
std::vector< std::vector< std::string > > tableDescriptions
 List of descriptions for the respective tables in tableNames. More...
 
std::vector< std::string > typeIds
 Type ids of the respective tables in tableNames. More...
 
std::vector< std::string > typeSchemas
 Type schemas of the respective tables in tableNames. More...
 
std::vector< std::string > typeLabels
 Type labels of the respective tables in tableNames. More...
 
std::vector< std::map< std::string, std::vector< std::string > > > properties
 Property maps of the respective tables in tableNames. More...
 
std::vector< std::map< std::string, std::string > > additionalInfo
 Additional information about the respective tables in tableNames. More...
 
std::vector< int64_t > sizes
 If get_sizes is true, an array containing the number of records of each corresponding table in tableNames. More...
 
std::vector< int64_t > fullSizes
 If get_sizes is true, an array containing the number of records of each corresponding table in tableNames (same values as sizes). More...
 
std::vector< double > joinSizes
 If get_sizes is true, an array containing the number of unfiltered records in the cross product of the sub-tables of each corresponding join-table in tableNames. More...
 
int64_t totalSize
 If get_sizes is true, the sum of the elements of sizes. More...
 
int64_t totalFullSize
 If get_sizes is true, the sum of the elements of fullSizes (same value as totalSize). More...
 
std::map< std::string, std::string > info
 Additional information. More...
 

Detailed Description

A set of results returned by GPUdb::showTable.

Definition at line 355 of file show_table.h.

Constructor & Destructor Documentation

◆ ShowTableResponse()

gpudb::ShowTableResponse::ShowTableResponse ( )
inline

Constructs a ShowTableResponse object with default parameters.

Definition at line 360 of file show_table.h.

Member Data Documentation

◆ additionalInfo

std::vector<std::map<std::string, std::string> > gpudb::ShowTableResponse::additionalInfo

Additional information about the respective tables in tableNames.

Definition at line 667 of file show_table.h.

◆ fullSizes

std::vector<int64_t> gpudb::ShowTableResponse::fullSizes

If get_sizes is true, an array containing the number of records of each corresponding table in tableNames (same values as sizes).

Otherwise, an empty array.

Definition at line 683 of file show_table.h.

◆ info

std::map<std::string, std::string> gpudb::ShowTableResponse::info

Additional information.

Definition at line 715 of file show_table.h.

◆ joinSizes

std::vector<double> gpudb::ShowTableResponse::joinSizes

If get_sizes is true, an array containing the number of unfiltered records in the cross product of the sub-tables of each corresponding join-table in tableNames.

For simple tables, this number will be the same as sizes. For join-tables, this value gives the number of joined-table rows that must be processed by any aggregate functions operating on the table. Otherwise, (if get_sizes is false), an empty array.

Definition at line 696 of file show_table.h.

◆ properties

std::vector<std::map<std::string, std::vector<std::string> > > gpudb::ShowTableResponse::properties

Property maps of the respective tables in tableNames.

Definition at line 444 of file show_table.h.

◆ sizes

std::vector<int64_t> gpudb::ShowTableResponse::sizes

If get_sizes is true, an array containing the number of records of each corresponding table in tableNames.

Otherwise, an empty array.

Definition at line 675 of file show_table.h.

◆ tableDescriptions

◆ tableName

std::string gpudb::ShowTableResponse::tableName

Value of tableName.

Definition at line 381 of file show_table.h.

◆ tableNames

std::vector<std::string> gpudb::ShowTableResponse::tableNames

If tableName is a table or view, then the single element of the array is tableName.

If tableName is a schema and show_children is set to true, then this array is populated with the names of all tables and views in the given schema; if show_children is false, then this array will only include the schema name itself. If tableName is an empty string, then the array contains the names of all tables in the user's default schema.

Definition at line 397 of file show_table.h.

◆ totalFullSize

int64_t gpudb::ShowTableResponse::totalFullSize

If get_sizes is true, the sum of the elements of fullSizes (same value as totalSize).

Otherwise, -1.

Definition at line 710 of file show_table.h.

◆ totalSize

int64_t gpudb::ShowTableResponse::totalSize

If get_sizes is true, the sum of the elements of sizes.

Otherwise, -1.

Definition at line 703 of file show_table.h.

◆ typeIds

std::vector<std::string> gpudb::ShowTableResponse::typeIds

Type ids of the respective tables in tableNames.

Definition at line 429 of file show_table.h.

◆ typeLabels

std::vector<std::string> gpudb::ShowTableResponse::typeLabels

Type labels of the respective tables in tableNames.

Definition at line 439 of file show_table.h.

◆ typeSchemas

std::vector<std::string> gpudb::ShowTableResponse::typeSchemas

Type schemas of the respective tables in tableNames.

Definition at line 434 of file show_table.h.


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