Package ai.rapids.cudf
Class GroupByOptions.Builder
java.lang.Object
ai.rapids.cudf.GroupByOptions.Builder
- Enclosing class:
- GroupByOptions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
withIgnoreNullKeys
(boolean ignoreNullKeys) If true, the cudf groupby will ignore grouping keys that are null.withKeysDescending
(boolean... keysDescending) If `keysSorted == true`, indicates whether each column is ascending/descending.withKeysNullSmallest
(boolean... keysNullSmallest) If `keysSorted == true`, indicates the ordering of null values in each column.withKeysSorted
(boolean keysSorted) Indicates whether rows in `keys` are already sorted.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
withIgnoreNullKeys
If true, the cudf groupby will ignore grouping keys that are null. The default value is false, so a null in the grouping column will produce a group. -
withKeysSorted
Indicates whether rows in `keys` are already sorted. The default value is false. If the `keys` are already sorted, better performance may be achieved by passing `keysSorted == true` and indicating the ascending/descending order of each column and null order by calling `withKeysDescending` and `withKeysNullSmallest`, respectively. -
withKeysDescending
If `keysSorted == true`, indicates whether each column is ascending/descending. If empty or null, assumes all columns are ascending. Ignored if `keysSorted == false`. -
withKeysNullSmallest
If `keysSorted == true`, indicates the ordering of null values in each column. If empty or null, assumes all columns use 'null smallest'. Ignored if `keysSorted == false`. -
build
-