java.lang.Object
org.apache.flink.table.functions.UserDefinedFunction
org.apache.flink.table.functions.DeclarativeAggregateFunction
org.apache.flink.table.planner.functions.aggfunctions.NTILEAggFunction
All Implemented Interfaces:
Serializable, org.apache.flink.table.functions.FunctionDefinition, SizeBasedWindowFunction

public class NTILEAggFunction extends org.apache.flink.table.functions.DeclarativeAggregateFunction implements SizeBasedWindowFunction
built-in NTILE agg function.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.flink.table.expressions.Expression[]
     
    org.apache.flink.table.expressions.UnresolvedReferenceExpression[]
     
    org.apache.flink.table.types.DataType[]
     
    org.apache.flink.table.types.DataType
     
    org.apache.flink.table.expressions.Expression
     
    org.apache.flink.table.expressions.Expression[]
     
    org.apache.flink.table.expressions.Expression[]
     
    int
     
    org.apache.flink.table.expressions.Expression[]
     

    Methods inherited from class org.apache.flink.table.functions.DeclarativeAggregateFunction

    getKind, getTypeInference, mergeOperand, mergeOperands, operand, operands

    Methods inherited from class org.apache.flink.table.functions.UserDefinedFunction

    close, functionIdentifier, open, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.apache.flink.table.functions.FunctionDefinition

    getRequirements, isDeterministic, supportsConstantFolding

    Methods inherited from interface org.apache.flink.table.planner.functions.aggfunctions.SizeBasedWindowFunction

    windowSizeAttribute
  • Constructor Details

    • NTILEAggFunction

      public NTILEAggFunction()
  • Method Details

    • operandCount

      public int operandCount()
      Specified by:
      operandCount in class org.apache.flink.table.functions.DeclarativeAggregateFunction
    • aggBufferAttributes

      public org.apache.flink.table.expressions.UnresolvedReferenceExpression[] aggBufferAttributes()
      Specified by:
      aggBufferAttributes in class org.apache.flink.table.functions.DeclarativeAggregateFunction
    • getAggBufferTypes

      public org.apache.flink.table.types.DataType[] getAggBufferTypes()
      Specified by:
      getAggBufferTypes in class org.apache.flink.table.functions.DeclarativeAggregateFunction
    • getResultType

      public org.apache.flink.table.types.DataType getResultType()
      Specified by:
      getResultType in class org.apache.flink.table.functions.DeclarativeAggregateFunction
    • initialValuesExpressions

      public org.apache.flink.table.expressions.Expression[] initialValuesExpressions()
      Specified by:
      initialValuesExpressions in class org.apache.flink.table.functions.DeclarativeAggregateFunction
    • accumulateExpressions

      public org.apache.flink.table.expressions.Expression[] accumulateExpressions()
      Specified by:
      accumulateExpressions in class org.apache.flink.table.functions.DeclarativeAggregateFunction
    • retractExpressions

      public org.apache.flink.table.expressions.Expression[] retractExpressions()
      Specified by:
      retractExpressions in class org.apache.flink.table.functions.DeclarativeAggregateFunction
    • mergeExpressions

      public org.apache.flink.table.expressions.Expression[] mergeExpressions()
      Specified by:
      mergeExpressions in class org.apache.flink.table.functions.DeclarativeAggregateFunction
    • getValueExpression

      public org.apache.flink.table.expressions.Expression getValueExpression()
      Specified by:
      getValueExpression in class org.apache.flink.table.functions.DeclarativeAggregateFunction