Class MinusSqlFunction

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

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

    • MinusSqlFunction

      public MinusSqlFunction()
  • 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 subtraction relations between them. also contains the type of the second object to support intervals
      Returns:
      Returns the subtraction of the second object from the first one.