org.openspaces.persistency.cassandra.datasource
Class CQLQueryContext
java.lang.Object
org.openspaces.persistency.cassandra.datasource.CQLQueryContext
public class CQLQueryContext
- extends Object
CQL query context for holding the properies map if this is a template based query
or the String
query and the parameters array if this is a complex query.
- Since:
- 9.1.1
- Author:
- Dan Kilman
CQLQueryContext
public CQLQueryContext(Map<String,Object> properties,
String sqlQuery,
Object[] parameters)
hasProperties
public boolean hasProperties()
getProperties
public Map<String,Object> getProperties()
- Returns:
- The properties matching the query if this is a template based query, null otherwise.
getSqlQuery
public String getSqlQuery()
- Returns:
- The complex sql query if it one. null if this is a template based query.
getParameters
public Object[] getParameters()
- Returns:
- The complex sql query parameters if it one. null if this is a template based query.
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © GigaSpaces.