Skip to main content

◆ clearStatistics() [1/4]

ClearStatisticsResponse gpudb::GPUdb::clearStatistics (const ClearStatisticsRequest &request_) const

Clears statistics (cardinality, mean value, etc.) for a column in a specified table.

Parameters
[in]request_Request object containing the parameters for the operation.
Returns
Response object containing the result of the operation.

◆ clearStatistics() [2/4]

ClearStatisticsResponse & gpudb::GPUdb::clearStatistics (const ClearStatisticsRequest &request_,
ClearStatisticsResponse &response_ ) const

Clears statistics (cardinality, mean value, etc.) for a column in a specified table.

Parameters
[in]request_Request object containing the parameters for the operation.
[out]response_Response object containing the results of the operation.
Returns
Response object containing the result of the operation (initially passed in by reference).

◆ clearStatistics() [3/4]

ClearStatisticsResponse gpudb::GPUdb::clearStatistics (const std::string &tableName,
const std::string &columnName,
const std::map< std::string, std::string > &options ) const

Clears statistics (cardinality, mean value, etc.) for a column in a specified table.

Parameters
[in]tableNameName 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]columnNameName 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]optionsOptional parameters. The default value is an empty map.
Returns
Response object containing the result of the operation.

◆ clearStatistics() [4/4]

ClearStatisticsResponse & gpudb::GPUdb::clearStatistics (const std::string &tableName,
const std::string &columnName,
const std::map< std::string, std::string > &options,
ClearStatisticsResponse &response_ ) const

Clears statistics (cardinality, mean value, etc.) for a column in a specified table.

Parameters
[in]tableNameName 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]columnNameName 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]optionsOptional parameters. The default value is an empty map.
[out]response_Response object containing the results of the operation.
Returns
Response object containing the result of the operation (initially passed in by reference).