Package org.apache.calcite.interpreter
Class AggregateNode.NumericComparison<T>
- java.lang.Object
-
- org.apache.calcite.interpreter.AggregateNode.NumericComparison<T>
-
- Type Parameters:
T
- The numeric type
- Direct Known Subclasses:
AggregateNode.MaxDouble
,AggregateNode.MaxFloat
,AggregateNode.MaxInt
,AggregateNode.MaxLong
,AggregateNode.MinDouble
,AggregateNode.MinFloat
,AggregateNode.MinInt
,AggregateNode.MinLong
- Enclosing class:
- AggregateNode
public static class AggregateNode.NumericComparison<T> extends java.lang.Object
Common implementation of comparison aggregate methods over numeric values as a user-defined aggregate.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.function.BiFunction<T,T,T>
comparisonFunction
private T
initialValue
-
Constructor Summary
Constructors Constructor Description NumericComparison(T initialValue, java.util.function.BiFunction<T,T,T> comparisonFunction)
-