public class SimpleDBQueryExecution extends Object implements ResultSetExecution
| Modifier and Type | Field and Description |
|---|---|
protected SimpleDBConnection |
connection |
protected Iterator<com.amazonaws.services.simpledb.model.Item> |
listIterator |
| Constructor and Description |
|---|
SimpleDBQueryExecution(Select command,
ExecutionContext executionContext,
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(Select command, ExecutionContext executionContext, RuntimeMetadata metadata, SimpleDBConnection connection) throws TranslatorException
TranslatorExceptionpublic void execute()
throws TranslatorException
execute in interface ExecutionTranslatorExceptionprotected String getSQL()
protected void executeDirect(String sql, String next) throws TranslatorException
TranslatorExceptionpublic void cancel()
throws TranslatorException
cancel in interface ExecutionTranslatorExceptionpublic List<?> next() throws TranslatorException, DataNotAvailableException
next in interface ResultSetExecutionTranslatorExceptionDataNotAvailableExceptionprotected List<?> buildRow(com.amazonaws.services.simpledb.model.Item item) throws TranslatorException
TranslatorExceptionCopyright © 2019. All rights reserved.