Class TypeOfFunction
- 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.TypeOfFunction
-
- All Implemented Interfaces:
Serializable
,FunctionDefinition
@Internal public class TypeOfFunction extends BuiltInScalarFunction
Implementation ofBuiltInFunctionDefinitions.TYPE_OF
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TypeOfFunction(SpecializedFunction.SpecializedContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringData
eval(Object... unused)
void
open(FunctionContext context)
Setup method for user-defined function.-
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
close, functionIdentifier, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.flink.table.functions.FunctionDefinition
supportsConstantFolding
-
-
-
-
Constructor Detail
-
TypeOfFunction
public TypeOfFunction(SpecializedFunction.SpecializedContext context)
-
-
Method Detail
-
open
public void open(FunctionContext context) throws Exception
Description copied from class:UserDefinedFunction
Setup method for user-defined function. It can be used for initialization work. By default, this method does nothing.- Overrides:
open
in classUserDefinedFunction
- Throws:
Exception
-
eval
@Nullable public StringData eval(Object... unused)
-
-