public class SimpleDBQueryExecution extends Object implements org.teiid.translator.ResultSetExecution
| Modifier and Type | Field and Description |
|---|---|
protected SimpleDBConnection |
connection |
protected Iterator<com.amazonaws.services.simpledb.model.Item> |
listIterator |
| Constructor and Description |
|---|
SimpleDBQueryExecution(org.teiid.language.Select command,
org.teiid.translator.ExecutionContext executionContext,
org.teiid.metadata.RuntimeMetadata metadata,
SimpleDBConnection connection) |
| Modifier and Type | Method and Description |
|---|---|
protected List<?> |
buildRow(com.amazonaws.services.simpledb.model.Item item) |
void |
cancel() |
void |
close() |
protected Map<String,List<String>> |
createAttributeMap(List<com.amazonaws.services.simpledb.model.Attribute> attributes) |
void |
execute() |
protected void |
executeDirect(String sql,
String next) |
protected String |
getSQL() |
List<?> |
next() |
protected SimpleDBConnection connection
protected Iterator<com.amazonaws.services.simpledb.model.Item> listIterator
public SimpleDBQueryExecution(org.teiid.language.Select command,
org.teiid.translator.ExecutionContext executionContext,
org.teiid.metadata.RuntimeMetadata metadata,
SimpleDBConnection connection)
throws org.teiid.translator.TranslatorException
org.teiid.translator.TranslatorExceptionpublic void execute()
throws org.teiid.translator.TranslatorException
execute in interface org.teiid.translator.Executionorg.teiid.translator.TranslatorExceptionprotected String getSQL()
protected void executeDirect(String sql, String next) throws org.teiid.translator.TranslatorException
org.teiid.translator.TranslatorExceptionpublic void close()
close in interface org.teiid.translator.Executionpublic void cancel()
throws org.teiid.translator.TranslatorException
cancel in interface org.teiid.translator.Executionorg.teiid.translator.TranslatorExceptionpublic List<?> next() throws org.teiid.translator.TranslatorException, org.teiid.translator.DataNotAvailableException
next in interface org.teiid.translator.ResultSetExecutionorg.teiid.translator.TranslatorExceptionorg.teiid.translator.DataNotAvailableExceptionprotected List<?> buildRow(com.amazonaws.services.simpledb.model.Item item) throws org.teiid.translator.TranslatorException
org.teiid.translator.TranslatorExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.