Interface SizeBasedWindowFunction

All Known Implementing Classes:
CumeDistAggFunction, NTILEAggFunction, PercentRankAggFunction

public interface SizeBasedWindowFunction
Some functions like CUME_DIST/PERCENT_RANK/NTILE need the size of current window for calculation. Such function need to implement the interface to provide accessing to the window size.

NOTE: Now, it can only be used by DeclarativeAggregateFunction.

  • Method Summary

    Modifier and Type
    Method
    Description
    default org.apache.flink.table.expressions.LocalReferenceExpression
    The field for the window size.
  • Method Details

    • windowSizeAttribute

      default org.apache.flink.table.expressions.LocalReferenceExpression windowSizeAttribute()
      The field for the window size.