A set of parameters for GPUdb::clearStatistics. More…
#include <gpudb/protocol/clear_statistics.h>
Public Member Functions | |
| ClearStatisticsRequest () | |
| Constructs a ClearStatisticsRequest object with default parameters. | |
| ClearStatisticsRequest (const std::string &tableName_, const std::string &columnName_, const std::map< std::string, std::string > &options_) | |
| Constructs a ClearStatisticsRequest object with the specified parameters. | |
Public Attributes | |
| std::string | tableName |
| Name of a table, in [ schema_name. ]table_name format, using standard name resolution rules. | |
| std::string | columnName |
| Name of the column in tableName for which to clear statistics. | |
| std::map< std::string, std::string > | options |
| Optional parameters. | |
Detailed Description
A set of parameters for GPUdb::clearStatistics.
Clears statistics (cardinality, mean value, etc.) for a column in a specified table.
Definition at line 19 of file clear_statistics.h.
Constructor & Destructor Documentation
◆ ClearStatisticsRequest() [1/2]
| inline |
Constructs a ClearStatisticsRequest object with default parameters.
Definition at line 24 of file clear_statistics.h.
◆ ClearStatisticsRequest() [2/2]
| inline |
Constructs a ClearStatisticsRequest object with the specified parameters.
| [in] | tableName_ | Name of a table, in [schema_name.]table_name format, using standard name resolution rules. Must be an existing table. A value of ’*’ clears statistics on every user table the caller may read (excluding system schemas, views, and temporary tables); when used, columnName_ must be empty. The default value is ”. |
| [in] | columnName_ | Name of the column in tableName_ for which to clear statistics. The column must be from an existing table. An empty string clears statistics for all columns in the table. Must be empty when tableName_ is ’*’. The default value is ”. |
| [in] | options_ | Optional parameters. The default value is an empty map. |
Definition at line 53 of file clear_statistics.h.
Member Data Documentation
◆ columnName
| std::string gpudb::ClearStatisticsRequest::columnName |
Name of the column in tableName for which to clear statistics.
The column must be from an existing table. An empty string clears statistics for all columns in the table. Must be empty when tableName is ’*’. The default value is ”.
Definition at line 76 of file clear_statistics.h.
◆ options
| std::map<std::string, std::string> gpudb::ClearStatisticsRequest::options |
Optional parameters.
The default value is an empty map.
Definition at line 81 of file clear_statistics.h.
◆ tableName
| std::string gpudb::ClearStatisticsRequest::tableName |
Name of a table, in [ schema_name. ]table_name format, using standard name resolution rules.
Must be an existing table. A value of ’*’ clears statistics on every user table the caller may read (excluding system schemas, views, and temporary tables); when used, columnName must be empty. The default value is ”.
Definition at line 68 of file clear_statistics.h.
The documentation for this struct was generated from the following file:
- gpudb/protocol/clear_statistics.h