Class TranslateFunction
- 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.TranslateFunction
-
- All Implemented Interfaces:
Serializable
,FunctionDefinition
@Internal public class TranslateFunction extends BuiltInScalarFunction
Implementation ofBuiltInFunctionDefinitions.TRANSLATE
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TranslateFunction(SpecializedFunction.SpecializedContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringData
eval(StringData expr, StringData fromStr, StringData toStr)
-
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, open, 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
-
TranslateFunction
public TranslateFunction(SpecializedFunction.SpecializedContext context)
-
-
Method Detail
-
eval
@Nullable public StringData eval(@Nullable StringData expr, @Nullable StringData fromStr, @Nullable StringData toStr)
-
-