Class UpperSqlFunction

java.lang.Object
com.gigaspaces.query.sql.functions.SqlFunction
com.gigaspaces.query.sql.functions.UpperSqlFunction

public class UpperSqlFunction extends SqlFunction
Built in string sql function to change all characters of a given string to uppercase.
Since:
11.0.0
Author:
Tamir Schwarz
  • Constructor Details

    • UpperSqlFunction

      public UpperSqlFunction()
  • Method Details

    • apply

      public Object apply(SqlFunctionExecutionContext context)
      Description copied from class: SqlFunction
      Defines the action to be performed on the stored object.
      Specified by:
      apply in class SqlFunction
      Parameters:
      context - which contains one argument of type string.
      Returns:
      Returns the string context.getArgument(0) with all characters changed to uppercase.