public interface SimpleDBConnection
extends javax.resource.cci.Connection
| Modifier and Type | Interface and Description |
|---|---|
static class |
SimpleDBConnection.SimpleDBAttribute |
| Modifier and Type | Method and Description |
|---|---|
void |
createDomain(String domainName)
Create a domain
|
void |
deleteDomain(String domainName)
Delete a Domain
|
Set<SimpleDBConnection.SimpleDBAttribute> |
getAttributeNames(String domainName)
Get the attributes for given domain name
|
List<String> |
getDomains()
Lists all domains of database
|
int |
performDelete(String domainName,
String selectExpression)
Removes item with given ItemName from domain
|
int |
performInsert(String domainName,
List<Column> columns,
Iterator<? extends List<?>> values)
Inserts item into given domain.
|
com.amazonaws.services.simpledb.model.SelectResult |
performSelect(String selectExpression,
String nextToken)
Performs select expression.
|
int |
performUpdate(String domainName,
Map<String,Object> updateAttributes,
String selectExpression)
Performs update on given domain and items
|
static final String ITEM_NAME
void createDomain(String domainName) throws TranslatorException
domainName - TranslatorExceptionvoid deleteDomain(String domainName) throws TranslatorException
domainName - TranslatorExceptionList<String> getDomains() throws TranslatorException
TranslatorExceptionSet<SimpleDBConnection.SimpleDBAttribute> getAttributeNames(String domainName) throws TranslatorException
domainName - TranslatorExceptionint performInsert(String domainName, List<Column> columns, Iterator<? extends List<?>> values) throws TranslatorException
domainName - itemName - columnsMap - TranslatorExceptioncom.amazonaws.services.simpledb.model.SelectResult performSelect(String selectExpression, String nextToken) throws TranslatorException
selectExpression - columns - TranslatorExceptionint performUpdate(String domainName, Map<String,Object> updateAttributes, String selectExpression) throws TranslatorException
domainName - items - TranslatorExceptionint performDelete(String domainName, String selectExpression) throws TranslatorException
domainName - itemName - TranslatorExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.