GPUdb C++ API
Version 6.1.0.0
|
A set of input parameters for showTable(const ShowTableRequest&) const. More...
#include <gpudb/protocol/show_table.h>
Public Member Functions | |
ShowTableRequest () | |
Constructs a ShowTableRequest object with default parameter values. More... | |
ShowTableRequest (const std::string &tableName_, const std::map< std::string, std::string > &options_) | |
Constructs a ShowTableRequest object with the specified parameters. More... | |
Public Attributes | |
std::string | tableName |
std::map< std::string, std::string > | options |
A set of input parameters for showTable(const ShowTableRequest&) const.
Retrieves detailed information about a table, view, or collection, specified in tableName. If the supplied tableName is a collection, the call can return information about either the collection itself or the tables and views it contains. If tableName is empty, information about all collections and top-level tables and views can be returned.
If the option get_sizes is set to true, then the sizes (objects and elements) of each table are returned (in sizes and fullSizes), along with the total number of objects in the requested table (in totalSize and totalFullSize).
For a collection, setting the show_children option to false returns only information about the collection itself; setting show_children to true returns a list of tables and views contained in the collection, along with their corresponding detail.
Definition at line 32 of file show_table.h.
|
inline |
Constructs a ShowTableRequest object with default parameter values.
Definition at line 38 of file show_table.h.
|
inline |
Constructs a ShowTableRequest object with the specified parameters.
[in] | tableName_ | Name of the table for which to retrieve the information. If blank, then information about all collections and top-level tables and views is returned. |
[in] | options_ | Optional parameters.
|
Definition at line 95 of file show_table.h.
std::map<std::string, std::string> gpudb::ShowTableRequest::options |
Definition at line 102 of file show_table.h.
std::string gpudb::ShowTableRequest::tableName |
Definition at line 101 of file show_table.h.