Class PlusSqlFunction

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

public class PlusSqlFunction extends SqlFunction
Returns the the addition of two objects
Since:
16.0.0
Author:
Tomer Shapira
  • Constructor Details

    • PlusSqlFunction

      public PlusSqlFunction()
  • 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 two arguments that have addition relations between them. also contains the type of the second object to support intervals
      Returns:
      Returns the addition of the two objects.