Class PlusSqlFunction
java.lang.Object
com.gigaspaces.query.sql.functions.SqlFunction
com.gigaspaces.query.sql.functions.PlusSqlFunction
Returns the the addition of two objects
- Since:
- 16.0.0
- Author:
- Tomer Shapira
-
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
-
PlusSqlFunction
public PlusSqlFunction()
-
-
Method Details
-
apply
Description copied from class:SqlFunctionDefines the action to be performed on the stored object.- Specified by:
applyin classSqlFunction- 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.
-