|Modifier and Type||Method and Description|
Gets the result of the aggregation from the current accumulators.
Set window size for the aggregate function.
void setWindowSize(int windowSize)
We may need to set the value for some window functions may require the total rows of
current window frame to do calculation. For example, the function PERCENT_RANK need to know
the window's size, and the SQL looks like:
SELECT PERCENT_RANK() OVER ([ partition_by_clause] order_by_clause).
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.