@Internal public class ArrayContainsFunction extends BuiltInScalarFunction
BuiltInFunctionDefinitions.ARRAY_CONTAINS
.Constructor and Description |
---|
ArrayContainsFunction(SpecializedFunction.SpecializedContext context) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Tear-down method for user-defined function.
|
Boolean |
eval(ArrayData haystack,
Object needle) |
void |
open(FunctionContext context)
Setup method for user-defined function.
|
getArgumentDataTypes, getOutputDataType, getRequirements, getTypeInference, isDeterministic
getKind, getParameterTypes, getResultType
functionIdentifier, toString
public ArrayContainsFunction(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.