Class CurrentTimeSqlFunction

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

public class CurrentTimeSqlFunction extends SqlFunction
Returns current time formatted
Since:
16.0.0
Author:
Evgeny Fisher
  • Constructor Details

    • CurrentTimeSqlFunction

      public CurrentTimeSqlFunction()
  • 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.