Skip to main content

◆ filterByRange() [1/4]

FilterByRangeResponse gpudb::GPUdb::filterByRange (const FilterByRangeRequest &request_) const

Calculates which objects from a table have a column that is within the given bounds.

An object from the table identified by tableName is added to the view viewName if its column is within [lowerBound, upperBound] (inclusive). The operation is synchronous. The response provides a count of the number of objects which passed the bound filter. Although this functionality can also be accomplished with the standard filter function, it is more efficient.

For track objects, the count reflects how many points fall within the given bounds (which may not include all the track points of any given track).

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

◆ filterByRange() [2/4]

FilterByRangeResponse & gpudb::GPUdb::filterByRange (const FilterByRangeRequest &request_,
FilterByRangeResponse &response_ ) const

Calculates which objects from a table have a column that is within the given bounds.

An object from the table identified by tableName is added to the view viewName if its column is within [lowerBound, upperBound] (inclusive). The operation is synchronous. The response provides a count of the number of objects which passed the bound filter. Although this functionality can also be accomplished with the standard filter function, it is more efficient.

For track objects, the count reflects how many points fall within the given bounds (which may not include all the track points of any given track).

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

◆ filterByRange() [3/4]

FilterByRangeResponse gpudb::GPUdb::filterByRange (const std::string &tableName,
const std::string &viewName,
const std::string &columnName,
const doublelowerBound,
const doubleupperBound,
const std::map< std::string, std::string > &options ) const

Calculates which objects from a table have a column that is within the given bounds.

An object from the table identified by tableName is added to the view viewName if its column is within [lowerBound, upperBound] (inclusive). The operation is synchronous. The response provides a count of the number of objects which passed the bound filter. Although this functionality can also be accomplished with the standard filter function, it is more efficient.

For track objects, the count reflects how many points fall within the given bounds (which may not include all the track points of any given track).

Parameters
[in]tableNameName of the table on which the filter by range operation will be performed, in [schema_name.]table_name format, using standard name resolution rules. Must be an existing table.
[in]viewNameIf provided, then this will be the name of the view containing the results, in [schema_name.]view_name format, using standard name resolution rules and meeting table naming criteria. Must not be an already existing table or view. The default value is ”.
[in]columnNameName of a column on which the operation would be applied.
[in]lowerBoundValue of the lower bound (inclusive).
[in]upperBoundValue of the upper bound (inclusive).
[in]optionsOptional parameters.The default value is an empty map.
Returns
Response object containing the result of the operation.

◆ filterByRange() [4/4]

FilterByRangeResponse & gpudb::GPUdb::filterByRange (const std::string &tableName,
const std::string &viewName,
const std::string &columnName,
const doublelowerBound,
const doubleupperBound,
const std::map< std::string, std::string > &options,
FilterByRangeResponse &response_ ) const

Calculates which objects from a table have a column that is within the given bounds.

An object from the table identified by tableName is added to the view viewName if its column is within [lowerBound, upperBound] (inclusive). The operation is synchronous. The response provides a count of the number of objects which passed the bound filter. Although this functionality can also be accomplished with the standard filter function, it is more efficient.

For track objects, the count reflects how many points fall within the given bounds (which may not include all the track points of any given track).

Parameters
[in]tableNameName of the table on which the filter by range operation will be performed, in [schema_name.]table_name format, using standard name resolution rules. Must be an existing table.
[in]viewNameIf provided, then this will be the name of the view containing the results, in [schema_name.]view_name format, using standard name resolution rules and meeting table naming criteria. Must not be an already existing table or view. The default value is ”.
[in]columnNameName of a column on which the operation would be applied.
[in]lowerBoundValue of the lower bound (inclusive).
[in]upperBoundValue of the upper bound (inclusive).
[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).