aggregateUniqueRaw
public RawAggregateUniqueResponse aggregateUniqueRaw(AggregateUniqueRequest request) throws GPUdbException Returns all the unique values from a particular column (specified bycolumnName) of a particular table or view (specified bytableName). IfcolumnNameis a numeric column, the values will be indata. Otherwise ifcolumnNameis a string column, the values will be injsonEncodedResponse. The results can be paged viaoffsetandlimitparameters.“limit”:“10”,“sort_order”:“descending”
The response is returned as a dynamic schema. For details see: dynamic schemas documentation.
If a
RESULT_TABLEname is specified in theoptions, the results are stored in a new table with that name—no results are returned in the response. Both the table name and resulting column name must adhere to standard naming conventions; any column expression will need to be aliased. If the source table’s shard key is used as thecolumnName, the result table will be sharded, in all other cases it will be replicated. Sorting will properly function only if the result table is replicated or if there is only one processing node and should not be relied upon in other cases. Not available if the value ofcolumnNameis an unrestricted-length string.Parameters:request-Requestobject containing the parameters for the operation.Returns:Responseobject containing the results of the operation.Throws:GPUdbException- if an error occurs during the operation.