Package org.teiid.translator.simpledb
Class SimpleDBDirectQueryExecution
- java.lang.Object
-
- org.teiid.translator.simpledb.SimpleDBQueryExecution
-
- org.teiid.translator.simpledb.SimpleDBDirectQueryExecution
-
- All Implemented Interfaces:
org.teiid.translator.Execution,org.teiid.translator.ProcedureExecution,org.teiid.translator.ResultSetExecution
public class SimpleDBDirectQueryExecution extends SimpleDBQueryExecution implements org.teiid.translator.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<org.teiid.language.Argument> arguments, org.teiid.language.Command command, org.teiid.metadata.RuntimeMetadata metadata, org.teiid.translator.simpledb.api.SimpleDBConnection connection, org.teiid.translator.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
-
-
-
-
Constructor Detail
-
SimpleDBDirectQueryExecution
public SimpleDBDirectQueryExecution(List<org.teiid.language.Argument> arguments, org.teiid.language.Command command, org.teiid.metadata.RuntimeMetadata metadata, org.teiid.translator.simpledb.api.SimpleDBConnection connection, org.teiid.translator.ExecutionContext context) throws org.teiid.translator.TranslatorException
- Throws:
org.teiid.translator.TranslatorException
-
-
Method Detail
-
execute
public void execute() throws org.teiid.translator.TranslatorException- Specified by:
executein interfaceorg.teiid.translator.Execution- Overrides:
executein classSimpleDBQueryExecution- Throws:
org.teiid.translator.TranslatorException
-
getSQL
protected String getSQL()
- Overrides:
getSQLin classSimpleDBQueryExecution
-
buildRow
protected List<?> buildRow(com.amazonaws.services.simpledb.model.Item item) throws org.teiid.translator.TranslatorException
- Overrides:
buildRowin classSimpleDBQueryExecution- Throws:
org.teiid.translator.TranslatorException
-
getOutputParameterValues
public List<?> getOutputParameterValues() throws org.teiid.translator.TranslatorException
- Specified by:
getOutputParameterValuesin interfaceorg.teiid.translator.ProcedureExecution- Throws:
org.teiid.translator.TranslatorException
-
-