GPUdb C++ API
Version 7.2.2.4
|
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 355 of file show_table.h.
|
inline |
Constructs a ShowTableResponse object with default parameters.
Definition at line 360 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 667 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 683 of file show_table.h.
std::map<std::string, std::string> gpudb::ShowTableResponse::info |
Additional information.
Definition at line 715 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 696 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 444 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 675 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 424 of file show_table.h.
std::string gpudb::ShowTableResponse::tableName |
Value of tableName.
Definition at line 381 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 397 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 703 of file show_table.h.
std::vector<std::string> gpudb::ShowTableResponse::typeIds |
Type ids of the respective tables in tableNames.
Definition at line 429 of file show_table.h.
std::vector<std::string> gpudb::ShowTableResponse::typeLabels |
Type labels of the respective tables in tableNames.
Definition at line 439 of file show_table.h.
std::vector<std::string> gpudb::ShowTableResponse::typeSchemas |
Type schemas of the respective tables in tableNames.
Definition at line 434 of file show_table.h.