Package io.trino.operator.aggregation
Class RealAverageAggregation
java.lang.Object
io.trino.metadata.SqlAggregationFunction
io.trino.operator.aggregation.RealAverageAggregation
- All Implemented Interfaces:
SqlFunction
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcombine(LongState count, DoubleState sum, LongState otherCount, DoubleState otherSum) static voidinput(LongState count, DoubleState sum, long value) static voidoutput(LongState count, DoubleState sum, BlockBuilder out) static voidremoveInput(LongState count, DoubleState sum, long value) specialize(BoundSignature boundSignature) Methods inherited from class io.trino.metadata.SqlAggregationFunction
createFunctionsByAnnotations, getAggregationMetadata, getFunctionMetadata, specializeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.trino.metadata.SqlFunction
getFunctionDependencies, getFunctionDependencies
-
Field Details
-
REAL_AVERAGE_AGGREGATION
-
-
Constructor Details
-
RealAverageAggregation
protected RealAverageAggregation()
-
-
Method Details
-
specialize
- Overrides:
specializein classSqlAggregationFunction
-
input
-
removeInput
-
combine
public static void combine(LongState count, DoubleState sum, LongState otherCount, DoubleState otherSum) -
output
-