Class ContainsKeySqlFunction
java.lang.Object
com.gigaspaces.query.sql.functions.SqlFunction
com.gigaspaces.query.sql.functions.ContainsKeySqlFunction
Built in sql function to check if a map field contains some key
- Since:
- 15.0.0
- Author:
- Yael Nahon
-
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
-
ContainsKeySqlFunction
public ContainsKeySqlFunction()
-
-
Method Details
-
apply
Description copied from class:SqlFunctionDefines the action to be performed on the stored object.- Specified by:
applyin classSqlFunction- Parameters:
context- contains the arguments,SqlFunctionExecutionContext- Returns:
- true if the map contains a the key and false otherwise
-