Skip to main content

◆ aggregateMinMax() [1/4]

AggregateMinMaxResponse gpudb::GPUdb::aggregateMinMax (const AggregateMinMaxRequest &request_) const

Calculates and returns the minimum and maximum values of a particular column in a table.

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

◆ aggregateMinMax() [2/4]

AggregateMinMaxResponse & gpudb::GPUdb::aggregateMinMax (const AggregateMinMaxRequest &request_,
AggregateMinMaxResponse &response_ ) const

Calculates and returns the minimum and maximum values of a particular column in a 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).

◆ aggregateMinMax() [3/4]

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

Calculates and returns the minimum and maximum values of a particular column in a table.

Parameters
[in]tableNameName of the table on which the operation will be performed. Must be an existing table, in [schema_name.]table_name format, using standard name resolution rules.
[in]columnNameName of a column or an expression of one or more column on which the min-max will be calculated.
[in]optionsOptional parameters. The default value is an empty map.
Returns
Response object containing the result of the operation.

◆ aggregateMinMax() [4/4]

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

Calculates and returns the minimum and maximum values of a particular column in a table.

Parameters
[in]tableNameName of the table on which the operation will be performed. Must be an existing table, in [schema_name.]table_name format, using standard name resolution rules.
[in]columnNameName of a column or an expression of one or more column on which the min-max will be calculated.
[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).