A set of parameters for GPUdb::showStatistics. More…
#include <gpudb/protocol/show_statistics.h>
Public Member Functions | |
| ShowStatisticsRequest () | |
| Constructs a ShowStatisticsRequest object with default parameters. | |
| ShowStatisticsRequest (const std::vector< std::string > &tableNames_, const std::map< std::string, std::string > &options_) | |
| Constructs a ShowStatisticsRequest object with the specified parameters. | |
Public Attributes | |
| std::vector< std::string > | tableNames |
| Names of tables whose metadata will be fetched, each in [ schema_name. ]table_name format, using standard name resolution rules. | |
| std::map< std::string, std::string > | options |
| Optional parameters. | |
Detailed Description
A set of parameters for GPUdb::showStatistics.
Retrieves the collected column statistics for the specified table(s).
Definition at line 18 of file show_statistics.h.
Constructor & Destructor Documentation
◆ ShowStatisticsRequest() [1/2]
| inline |
Constructs a ShowStatisticsRequest object with default parameters.
Definition at line 23 of file show_statistics.h.
◆ ShowStatisticsRequest() [2/2]
| inline |
Constructs a ShowStatisticsRequest object with the specified parameters.
| [in] | tableNames_ | Names of tables whose metadata will be fetched, each in [schema_name.]table_name format, using standard name resolution rules. All provided tables must exist, or an error is returned. A single entry of ’*’ expands to every user table the caller may read (excluding system schemas, views, and temporary tables); when used it must be the only entry. |
| [in] | options_ | Optional parameters.
|
Definition at line 72 of file show_statistics.h.
Member Data Documentation
◆ options
| std::map<std::string, std::string> gpudb::ShowStatisticsRequest::options |
Optional parameters.
- show_statistics_no_error_if_not_exists: If true and if the table names specified in tableNames does not exist, no error is returned. If false and if the table names specified in tableNames does not exist, then an error is returned. Supported values:The default value is show_statistics_false.
The default value is an empty map.
Definition at line 111 of file show_statistics.h.
◆ tableNames
| std::vector<std::string> gpudb::ShowStatisticsRequest::tableNames |
Names of tables whose metadata will be fetched, each in [ schema_name. ]table_name format, using standard name resolution rules.
All provided tables must exist, or an error is returned. A single entry of ’*’ expands to every user table the caller may read (excluding system schemas, views, and temporary tables); when used it must be the only entry.
Definition at line 87 of file show_statistics.h.
The documentation for this struct was generated from the following file:
- gpudb/protocol/show_statistics.h