Skip to main content

◆ collectStatistics() [1/4]

CollectStatisticsResponse gpudb::GPUdb::collectStatistics (const CollectStatisticsRequest &request_) const

Collect statistics for a column(s) in a specified table.

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

◆ collectStatistics() [2/4]

CollectStatisticsResponse & gpudb::GPUdb::collectStatistics (const CollectStatisticsRequest &request_,
CollectStatisticsResponse &response_ ) const

Collect statistics for a column(s) 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).

◆ collectStatistics() [3/4]

CollectStatisticsResponse gpudb::GPUdb::collectStatistics (const std::string &tableName,
const std::vector< std::string > &columnNames,
const std::map< std::string, std::string > &options ) const

Collect statistics for a column(s) 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 ’*’ collects statistics on every user table the caller may read (excluding system schemas, views, and temporary tables); when used, columnNames must be ’*’.
[in]columnNamesList of one or more column names in tableName for which to collect statistics (cardinality, mean value, etc.). A single entry of ’*’ expands to every collectable column on the table (geometry, vector, JSON, and array columns are skipped).
[in]optionsOptional parameters. The default value is an empty map.
Returns
Response object containing the result of the operation.

◆ collectStatistics() [4/4]

CollectStatisticsResponse & gpudb::GPUdb::collectStatistics (const std::string &tableName,
const std::vector< std::string > &columnNames,
const std::map< std::string, std::string > &options,
CollectStatisticsResponse &response_ ) const

Collect statistics for a column(s) 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 ’*’ collects statistics on every user table the caller may read (excluding system schemas, views, and temporary tables); when used, columnNames must be ’*’.
[in]columnNamesList of one or more column names in tableName for which to collect statistics (cardinality, mean value, etc.). A single entry of ’*’ expands to every collectable column on the table (geometry, vector, JSON, and array columns are skipped).
[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).