GigaSpaces XAP 9.7.2 API

org.openspaces.persistency.cassandra.datasource
Class CQLQueryContext

java.lang.Object
  extended by 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

Constructor Summary
CQLQueryContext(Map<String,Object> properties, String sqlQuery, Object[] parameters)
           
 
Method Summary
 Object[] getParameters()
           
 Map<String,Object> getProperties()
           
 String getSqlQuery()
           
 boolean hasProperties()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CQLQueryContext

public CQLQueryContext(Map<String,Object> properties,
                       String sqlQuery,
                       Object[] parameters)
Method Detail

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

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.