public class CassandraQuery extends ExpressionQuery
| Constructor and Description |
|---|
CassandraQuery(DataService dataService,
String queryId,
String query,
List<QueryParam> queryParams,
Result result,
String configId,
EventTrigger inputEventTrigger,
EventTrigger outputEventTrigger,
Map<String,String> advancedProperties,
String inputNamespace) |
| Modifier and Type | Method and Description |
|---|---|
com.datastax.driver.core.Session |
getSession() |
com.datastax.driver.core.PreparedStatement |
getStatement() |
boolean |
isNativeBatchRequestsSupported() |
void |
runPostQuery(Object result,
XMLStreamWriter xmlWriter,
InternalParamCollection params,
int queryLevel)
This method must be implemented by concrete implementations of this class,
to provide the logic to execute the query.
|
Object |
runPreQuery(InternalParamCollection params,
int queryLevel)
This method must be implemented by concrete implementations of this class,
to provide the logic to execute the query.
|
createProcessedQuery, getParamCount, getQuery, init, isDynamicQuery, processDynamicQueryaddQueryPreprocessedObject, execute, getAdvancedProperties, getAndRemoveQueryPreprocessObject, getConfigId, getCurrentInternalParams, getDataService, getInputEventTrigger, getInputNamespace, getOutputEventTrigger, getQueryId, getQueryParams, getResult, hasResult, isPreBuildResult, isQueryPreprocessInitial, isQueryPreprocessSecondary, isUsingColumnNumbers, isWriteRow, resetCurrentInternalParams, resetQueryPreprocessing, setCurrentInternalParams, setQueryPreprocessingInitial, setQueryPreprocessingSecondary, writeResultEntryaddAttribute, endElement, getNamespace, setNamespace, startRowElement, startWrapperElement, writeResultElementpublic CassandraQuery(DataService dataService, String queryId, String query, List<QueryParam> queryParams, Result result, String configId, EventTrigger inputEventTrigger, EventTrigger outputEventTrigger, Map<String,String> advancedProperties, String inputNamespace) throws DataServiceFault
DataServiceFaultpublic com.datastax.driver.core.PreparedStatement getStatement()
public com.datastax.driver.core.Session getSession()
public boolean isNativeBatchRequestsSupported()
public Object runPreQuery(InternalParamCollection params, int queryLevel) throws DataServiceFault
QueryrunPreQuery in class QueryDataServiceFaultpublic void runPostQuery(Object result, XMLStreamWriter xmlWriter, InternalParamCollection params, int queryLevel) throws DataServiceFault
QueryrunPostQuery in class QueryDataServiceFaultCopyright © 2018 WSO2. All rights reserved.