Package org.teiid.translator.simpledb
Class SimpleDBDirectQueryExecution
- java.lang.Object
-
- org.teiid.translator.simpledb.SimpleDBQueryExecution
-
- org.teiid.translator.simpledb.SimpleDBDirectQueryExecution
-
- All Implemented Interfaces:
Execution,ProcedureExecution,ResultSetExecution
public class SimpleDBDirectQueryExecution extends SimpleDBQueryExecution implements ProcedureExecution
-
-
Field Summary
Fields Modifier and Type Field Description protected intcolumnCountprotected intupdateCount-
Fields inherited from class org.teiid.translator.simpledb.SimpleDBQueryExecution
connection, listIterator
-
-
Constructor Summary
Constructors Constructor Description SimpleDBDirectQueryExecution(List<Argument> arguments, Command command, RuntimeMetadata metadata, SimpleDBConnection connection, ExecutionContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<?>buildRow(com.amazonaws.services.simpledb.model.Item item)voidexecute()List<?>getOutputParameterValues()protected StringgetSQL()-
Methods inherited from class org.teiid.translator.simpledb.SimpleDBQueryExecution
cancel, close, createAttributeMap, executeDirect, 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
-
SimpleDBDirectQueryExecution
public SimpleDBDirectQueryExecution(List<Argument> arguments, Command command, RuntimeMetadata metadata, SimpleDBConnection connection, ExecutionContext context) throws TranslatorException
- Throws:
TranslatorException
-
-
Method Detail
-
execute
public void execute() throws TranslatorException- Specified by:
executein interfaceExecution- Overrides:
executein classSimpleDBQueryExecution- Throws:
TranslatorException
-
getSQL
protected String getSQL()
- Overrides:
getSQLin classSimpleDBQueryExecution
-
buildRow
protected List<?> buildRow(com.amazonaws.services.simpledb.model.Item item) throws TranslatorException
- Overrides:
buildRowin classSimpleDBQueryExecution- Throws:
TranslatorException
-
getOutputParameterValues
public List<?> getOutputParameterValues() throws TranslatorException
- Specified by:
getOutputParameterValuesin interfaceProcedureExecution- Throws:
TranslatorException
-
-