public class CassandraQueryExecution extends Object implements ResultSetExecution
| Modifier and Type | Field and Description | 
|---|---|
protected boolean | 
returnsArray  | 
| Constructor and Description | 
|---|
CassandraQueryExecution(Command query,
                       CassandraConnection connection,
                       ExecutionContext context)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
cancel()
Cancels the execution abnormally. 
 | 
void | 
close()
Terminates the execution normally. 
 | 
void | 
execute()
Execute the associated command. 
 | 
protected void | 
execute(String cql)  | 
List<?> | 
next()
Retrieves the next row of the resultset. 
 | 
public CassandraQueryExecution(Command query, CassandraConnection connection, ExecutionContext context)
public void close()
Executionpublic void cancel()
            throws TranslatorException
Executioncancel in interface ExecutionTranslatorExceptionpublic void execute()
             throws TranslatorException
Executionexecute in interface ExecutionTranslatorExceptionprotected void execute(String cql)
public List<?> next() throws TranslatorException, DataNotAvailableException
ResultSetExecutionnext in interface ResultSetExecutionTranslatorExceptionDataNotAvailableExceptionCopyright © 2019. All rights reserved.