GPUdb C++ API  Version 7.2.2.4
gpudb::ClearStatisticsRequest Struct Reference

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. More...
 
 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. More...
 

Public Attributes

std::string tableName
 Name of a table, in [ schema_name. ]table_name format, using standard name resolution rules. More...
 
std::string columnName
 Name of the column in tableName for which to clear statistics. More...
 
std::map< std::string, std::string > options
 Optional parameters. More...
 

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]

gpudb::ClearStatisticsRequest::ClearStatisticsRequest ( )
inline

Constructs a ClearStatisticsRequest object with default parameters.

Definition at line 24 of file clear_statistics.h.

◆ ClearStatisticsRequest() [2/2]

gpudb::ClearStatisticsRequest::ClearStatisticsRequest ( const std::string &  tableName_,
const std::string &  columnName_,
const std::map< std::string, std::string > &  options_ 
)
inline

Constructs a ClearStatisticsRequest object with the specified parameters.

Parameters
[in]tableName_Name of a table, in [schema_name.]table_name format, using standard name resolution rules. Must be an existing table. 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. The default value is ''.
[in]options_Optional parameters. The default value is an empty map.

Definition at line 49 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. The default value is ''.

Definition at line 69 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 74 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. The default value is ''.

Definition at line 62 of file clear_statistics.h.


The documentation for this struct was generated from the following file: