Package io.trino.operator.scalar
Class ArrayReduceFunction
- java.lang.Object
-
- io.trino.metadata.SqlScalarFunction
-
- io.trino.operator.scalar.ArrayReduceFunction
-
- All Implemented Interfaces:
SqlFunction
public final class ArrayReduceFunction extends SqlScalarFunction
-
-
Field Summary
Fields Modifier and Type Field Description static ArrayReduceFunctionARRAY_REDUCE_FUNCTION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Objectreduce(Type inputType, Block block, Object initialIntermediateValue, BinaryFunctionInterface inputFunction, UnaryFunctionInterface outputFunction)protected ScalarFunctionImplementationspecialize(FunctionBinding functionBinding)-
Methods inherited from class io.trino.metadata.SqlScalarFunction
getFunctionMetadata, specialize
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.trino.metadata.SqlFunction
getFunctionDependencies, getFunctionDependencies
-
-
-
-
Field Detail
-
ARRAY_REDUCE_FUNCTION
public static final ArrayReduceFunction ARRAY_REDUCE_FUNCTION
-
-
Method Detail
-
specialize
protected ScalarFunctionImplementation specialize(FunctionBinding functionBinding)
- Overrides:
specializein classSqlScalarFunction
-
reduce
public static Object reduce(Type inputType, Block block, Object initialIntermediateValue, BinaryFunctionInterface inputFunction, UnaryFunctionInterface outputFunction)
-
-