Class ReplaceSqlFunction
java.lang.Object
com.gigaspaces.query.sql.functions.SqlFunction
com.gigaspaces.query.sql.functions.ReplaceSqlFunction
Built in string sql function to replace matching subtring with other argument
- Since:
- 15.8.0
- Author:
- Alon Shoham
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(SqlFunctionExecutionContext context) Defines the action to be performed on the stored object.Methods inherited from class com.gigaspaces.query.sql.functions.SqlFunction
assertNumberOfArguments, assertNumberOfArguments, fromSqlTypeName, isString, isWholeNumber
-
Constructor Details
-
ReplaceSqlFunction
public ReplaceSqlFunction()
-
-
Method Details
-
apply
Description copied from class:SqlFunctionDefines the action to be performed on the stored object.- Specified by:
applyin classSqlFunction- Parameters:
context- contains three argument of type string, CharSequence, CharSequence.- Returns:
- Returns the string context.getArgument(0) with all characters changed to lowercase.
-