Package ai.rapids.cudf
Class GroupByScanAggregation
java.lang.Object
ai.rapids.cudf.GroupByScanAggregation
An aggregation that can be used for a grouped scan.
-
Method Summary
Modifier and TypeMethodDescriptionstatic GroupByScanAggregationcount(NullPolicy nullPolicy) Count number of elements.static GroupByScanAggregationGet the row's dense ranking.booleaninthashCode()static GroupByScanAggregationmax()Max Aggregationstatic GroupByScanAggregationmin()Min AggregationonColumn(int columnIndex) Add a column to the Aggregation so it can be used on a specific column of data.static GroupByScanAggregationGet the row's percent ranking.static GroupByScanAggregationproduct()Product Aggregation.static GroupByScanAggregationrank()Get the row's ranking.static GroupByScanAggregationsum()Sum Aggregation
-
Method Details
-
onColumn
Add a column to the Aggregation so it can be used on a specific column of data.- Parameters:
columnIndex- the index of the column to operate on.
-
hashCode
public int hashCode() -
equals
-
sum
Sum Aggregation -
product
Product Aggregation. -
min
Min Aggregation -
max
Max Aggregation -
count
Count number of elements.- Parameters:
nullPolicy- INCLUDE if nulls should be counted. EXCLUDE if only non-null values should be counted.
-
rank
Get the row's ranking. -
denseRank
Get the row's dense ranking. -
percentRank
Get the row's percent ranking.
-