Package org.teiid.translator.cassandra
Class CassandraDirectQueryExecution
- java.lang.Object
-
- org.teiid.translator.cassandra.CassandraQueryExecution
-
- org.teiid.translator.cassandra.CassandraDirectQueryExecution
-
- All Implemented Interfaces:
Execution
,ProcedureExecution
,ResultSetExecution
public class CassandraDirectQueryExecution extends CassandraQueryExecution implements ProcedureExecution
-
-
Field Summary
-
Fields inherited from class org.teiid.translator.cassandra.CassandraQueryExecution
returnsArray
-
-
Constructor Summary
Constructors Constructor Description CassandraDirectQueryExecution(String cql, List<Argument> arguments, Command command, CassandraConnection connection, ExecutionContext context, boolean returnsArray)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
Execute the associated command.List<?>
getOutputParameterValues()
Get the output parameter values.-
Methods inherited from class org.teiid.translator.cassandra.CassandraQueryExecution
cancel, close, execute, next
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.teiid.translator.ResultSetExecution
next
-
-
-
-
Constructor Detail
-
CassandraDirectQueryExecution
public CassandraDirectQueryExecution(String cql, List<Argument> arguments, Command command, CassandraConnection connection, ExecutionContext context, boolean returnsArray)
-
-
Method Detail
-
execute
public void execute() throws TranslatorException
Description copied from interface:Execution
Execute the associated command. Results will be retrieved through a specific sub-interface call.- Specified by:
execute
in interfaceExecution
- Overrides:
execute
in classCassandraQueryExecution
- Throws:
TranslatorException
-
getOutputParameterValues
public List<?> getOutputParameterValues() throws TranslatorException
Description copied from interface:ProcedureExecution
Get the output parameter values. Results should place the return parameter first if it is present, then the IN/OUT and OUT parameters should follow in the order they appeared in the command.- Specified by:
getOutputParameterValues
in interfaceProcedureExecution
- Throws:
TranslatorException
- If an error occurs while retrieving the output value
-
-