@Internal public class ArrayDistinctFunction extends BuiltInScalarFunction
BuiltInFunctionDefinitions.ARRAY_DISTINCT
.Constructor and Description |
---|
ArrayDistinctFunction(SpecializedFunction.SpecializedContext context) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Tear-down method for user-defined function.
|
ArrayData |
eval(ArrayData haystack) |
void |
open(FunctionContext context)
Setup method for user-defined function.
|
getArgumentDataTypes, getOutputDataType, getRequirements, getTypeInference, isDeterministic
getKind, getParameterTypes, getResultType
functionIdentifier, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
supportsConstantFolding
public ArrayDistinctFunction(SpecializedFunction.SpecializedContext context)
public void open(FunctionContext context) throws Exception
UserDefinedFunction
open
in class UserDefinedFunction
Exception
public void close() throws Exception
UserDefinedFunction
close
in class UserDefinedFunction
Exception
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.