GPUdb C++ API
Version 7.2.3.0
|
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... | |
A set of results returned by GPUdb::showTable.
Definition at line 438 of file show_table.h.
|
inline |
Constructs a ShowTableResponse object with default parameters.
Definition at line 443 of file show_table.h.
std::vector<std::map<std::string, std::string> > gpudb::ShowTableResponse::additionalInfo |
Additional information about the respective tables in tableNames.
Definition at line 785 of file show_table.h.
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 801 of file show_table.h.
std::map<std::string, std::string> gpudb::ShowTableResponse::info |
Additional information.
Definition at line 833 of file show_table.h.
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 814 of file show_table.h.
std::vector<std::map<std::string, std::vector<std::string> > > gpudb::ShowTableResponse::properties |
Property maps of the respective tables in tableNames.
Definition at line 527 of file show_table.h.
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 793 of file show_table.h.
std::vector<std::vector<std::string> > gpudb::ShowTableResponse::tableDescriptions |
List of descriptions for the respective tables in tableNames.
Supported values:
Definition at line 507 of file show_table.h.
std::string gpudb::ShowTableResponse::tableName |
Value of tableName.
Definition at line 464 of file show_table.h.
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 480 of file show_table.h.
int64_t gpudb::ShowTableResponse::totalFullSize |
int64_t gpudb::ShowTableResponse::totalSize |
If get_sizes is true, the sum of the elements of sizes.
Otherwise, -1.
Definition at line 821 of file show_table.h.
std::vector<std::string> gpudb::ShowTableResponse::typeIds |
Type IDs of the respective tables in tableNames.
Definition at line 512 of file show_table.h.
std::vector<std::string> gpudb::ShowTableResponse::typeLabels |
Type labels of the respective tables in tableNames.
Definition at line 522 of file show_table.h.
std::vector<std::string> gpudb::ShowTableResponse::typeSchemas |
Type schemas of the respective tables in tableNames.
Definition at line 517 of file show_table.h.