Skip to main content

◆ aggregateUnique() [1/2]

AggregateUniqueResponse kinetica.Kinetica.aggregateUnique (AggregateUniqueRequestrequest_)
inline

Returns all the unique values from a particular column (specified by column_name) of a particular table or view (specified by table_name).

If column_name is a numeric column, the values will be in data. Otherwise if column_name is a string column, the values will be in json_encoded_response. The results can be paged via offset and limit parameters.

”limit”:“10”,“sort_order”:“descending”

The response is returned as a dynamic schema. For details see: dynamic schemas documentation.

If a RESULT_TABLE name is specified in the options, 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 the column_name, 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 of column_name is an unrestricted-length string.

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

Definition at line 6765 of file KineticaFunctions.cs.

◆ aggregateUnique() [2/2]

AggregateUniqueResponse kinetica.Kinetica.aggregateUnique (stringtable_name,
stringcolumn_name,
longoffset = 0,
longlimit = -9999,
IDictionary< string, string >options = null )
inline

Returns all the unique values from a particular column (specified by column_name ) of a particular table or view (specified by table_name ).

If column_name is a numeric column, the values will be in data. Otherwise if column_name is a string column, the values will be in json_encoded_response. The results can be paged via offset and limit parameters.

”limit”:“10”,“sort_order”:“descending”

The response is returned as a dynamic schema. For details see: dynamic schemas documentation.

If a RESULT_TABLE name is specified in the options , 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 the column_name , 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 of column_name is an unrestricted-length string.

Parameters
table_nameName of an existing table or view on which the operation will be performed, in [schema_name.]table_name format, using standard name resolution rules.
column_nameName of the column or an expression containing one or more column names on which the unique function would be applied.
offsetA positive integer indicating the number of initial results to skip (this can be useful for paging through the results). The default value is 0. The minimum allowed value is 0. The maximum allowed value is MAX_INT.
limitA positive integer indicating the maximum number of results to be returned, or END_OF_SET (-9999) to indicate that the maximum number of results allowed by the server should be returned. The number of records returned will never exceed the server’s own limit, defined by the max_get_records_size parameter in the server configuration. Use has_more_records to see if more records exist in the result to be fetched, and offset and limit to request subsequent pages of results. The default value is -9999.
optionsOptional parameters.The default value is an empty Dictionary.
Returns
Response object containing the result of the operation.

Definition at line 7129 of file KineticaFunctions.cs.

◆ AggregateUniqueAsync() [1/2]

async System.Threading.Tasks.Task< AggregateUniqueResponse > kinetica.Kinetica.AggregateUniqueAsync (AggregateUniqueRequestrequest_,
System.Threading.CancellationTokencancellationToken = default )
inline

Returns all the unique values from a particular column (specified by column_name) of a particular table or view (specified by table_name).

(async)

If column_name is a numeric column, the values will be in data. Otherwise if column_name is a string column, the values will be in json_encoded_response. The results can be paged via offset and limit parameters.

”limit”:“10”,“sort_order”:“descending”

The response is returned as a dynamic schema. For details see: dynamic schemas documentation.

If a RESULT_TABLE name is specified in the options, 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 the column_name, 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 of column_name is an unrestricted-length string.

Parameters
request_Request object containing the parameters for the operation.
cancellationTokenCancellation token to cancel the operation.
Returns
Task that returns the response object containing the result of the operation.

Definition at line 6820 of file KineticaFunctions.cs.

◆ AggregateUniqueAsync() [2/2]

async System.Threading.Tasks.Task< AggregateUniqueResponse > kinetica.Kinetica.AggregateUniqueAsync (stringtable_name,
stringcolumn_name,
longoffset = 0,
longlimit = -9999,
IDictionary< string, string >options = null,
System.Threading.CancellationTokencancellationToken = default )
inline

Returns all the unique values from a particular column (specified by column_name ) of a particular table or view (specified by table_name ).

(async)

If column_name is a numeric column, the values will be in data. Otherwise if column_name is a string column, the values will be in json_encoded_response. The results can be paged via offset and limit parameters.

”limit”:“10”,“sort_order”:“descending”

The response is returned as a dynamic schema. For details see: dynamic schemas documentation.

If a RESULT_TABLE name is specified in the options , 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 the column_name , 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 of column_name is an unrestricted-length string.

Parameters
table_nameName of an existing table or view on which the operation will be performed, in [schema_name.]table_name format, using standard name resolution rules.
column_nameName of the column or an expression containing one or more column names on which the unique function would be applied.
offsetA positive integer indicating the number of initial results to skip (this can be useful for paging through the results). The default value is 0. The minimum allowed value is 0. The maximum allowed value is MAX_INT.
limitA positive integer indicating the maximum number of results to be returned, or END_OF_SET (-9999) to indicate that the maximum number of results allowed by the server should be returned. The number of records returned will never exceed the server’s own limit, defined by the max_get_records_size parameter in the server configuration. Use has_more_records to see if more records exist in the result to be fetched, and offset and limit to request subsequent pages of results. The default value is -9999.
optionsOptional parameters.The default value is an empty Dictionary.
cancellationTokenCancellation token to cancel the operation.
Returns
Task that returns the response object containing the result of the operation.

Definition at line 7437 of file KineticaFunctions.cs.