Class AnalyticFunction<T>
- java.lang.Object
-
- org.hotrod.runtime.livesql.expressions.analytics.AnalyticFunction<T>
-
- All Implemented Interfaces:
WindowableFunction<T>
- Direct Known Subclasses:
DenseRank,NTile,PositionalAnalyticFunction,Rank,RowNumber
public abstract class AnalyticFunction<T> extends java.lang.Object implements WindowableFunction<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected Expression<?>expression
-
Constructor Summary
Constructors Modifier Constructor Description protectedAnalyticFunction(java.lang.String functionName, Expression<?> expression)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WindowFunctionOverStage<T>over()voidrenderBaseTo(QueryWriter w)protected voidrenderHead(QueryWriter w)protected voidrenderTail(QueryWriter w)
-
-
-
Field Detail
-
expression
protected Expression<?> expression
-
-
Constructor Detail
-
AnalyticFunction
protected AnalyticFunction(java.lang.String functionName, Expression<?> expression)
-
-
Method Detail
-
over
public WindowFunctionOverStage<T> over()
- Specified by:
overin interfaceWindowableFunction<T>
-
renderBaseTo
public void renderBaseTo(QueryWriter w)
- Specified by:
renderBaseToin interfaceWindowableFunction<T>
-
renderHead
protected void renderHead(QueryWriter w)
-
renderTail
protected void renderTail(QueryWriter w)
-
-