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,org.apache.flink.table.functions.FunctionDefinition
Implementation of
BuiltInFunctionDefinitions.TRANSLATE.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTranslateFunction(org.apache.flink.table.functions.SpecializedFunction.SpecializedContext context) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.flink.table.data.StringDataeval(org.apache.flink.table.data.StringData expr, org.apache.flink.table.data.StringData fromStr, org.apache.flink.table.data.StringData toStr) Methods inherited from class org.apache.flink.table.runtime.functions.scalar.BuiltInScalarFunction
getArgumentDataTypes, getOutputDataType, getRequirements, getTypeInference, isDeterministicMethods inherited from class org.apache.flink.table.functions.ScalarFunction
getKind, getParameterTypes, getResultTypeMethods inherited from class org.apache.flink.table.functions.UserDefinedFunction
close, functionIdentifier, open, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.flink.table.functions.FunctionDefinition
supportsConstantFolding
-
Constructor Details
-
TranslateFunction
public TranslateFunction(org.apache.flink.table.functions.SpecializedFunction.SpecializedContext context)
-
-
Method Details
-
eval
@Nullable public org.apache.flink.table.data.StringData eval(@Nullable org.apache.flink.table.data.StringData expr, @Nullable org.apache.flink.table.data.StringData fromStr, @Nullable org.apache.flink.table.data.StringData toStr)
-