Class ArrayDistinctFunction
- java.lang.Object
-
- org.apache.flink.table.functions.UserDefinedFunction
-
- org.apache.flink.table.functions.ScalarFunction
-
- org.apache.flink.table.runtime.functions.scalar.BuiltInScalarFunction
-
- org.apache.flink.table.runtime.functions.scalar.ArrayDistinctFunction
-
- All Implemented Interfaces:
Serializable,org.apache.flink.table.functions.FunctionDefinition
@Internal public class ArrayDistinctFunction extends BuiltInScalarFunction
Implementation ofBuiltInFunctionDefinitions.ARRAY_DISTINCT.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ArrayDistinctFunction(org.apache.flink.table.functions.SpecializedFunction.SpecializedContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()org.apache.flink.table.data.ArrayDataeval(org.apache.flink.table.data.ArrayData haystack)voidopen(org.apache.flink.table.functions.FunctionContext context)-
Methods inherited from class org.apache.flink.table.runtime.functions.scalar.BuiltInScalarFunction
getArgumentDataTypes, getOutputDataType, getRequirements, getTypeInference, isDeterministic
-
Methods inherited from class org.apache.flink.table.functions.ScalarFunction
getKind, getParameterTypes, getResultType
-
Methods inherited from class org.apache.flink.table.functions.UserDefinedFunction
functionIdentifier, toString
-
-
-
-
Method Detail
-
open
public void open(org.apache.flink.table.functions.FunctionContext context) throws Exception- Overrides:
openin classorg.apache.flink.table.functions.UserDefinedFunction- Throws:
Exception
-
eval
@Nullable public org.apache.flink.table.data.ArrayData eval(org.apache.flink.table.data.ArrayData haystack)
-
-