Package org.apache.flink.table.toolbox
Class StringRegexReplaceFunction
- java.lang.Object
-
- org.apache.flink.table.functions.UserDefinedFunction
-
- org.apache.flink.table.functions.ScalarFunction
-
- org.apache.flink.table.toolbox.StringRegexReplaceFunction
-
- All Implemented Interfaces:
Serializable
,FunctionDefinition
public class StringRegexReplaceFunction extends ScalarFunction
Scalar function for replacing all occurrences of a regular expression with a replacement string.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StringRegexReplaceFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
eval(String input, String regex, String replacement)
-
Methods inherited from class org.apache.flink.table.functions.ScalarFunction
getKind, getParameterTypes, getResultType, getTypeInference
-
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
getRequirements, isDeterministic, supportsConstantFolding
-
-