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
- TranslatorException
void deleteDomain(String domainName) throws TranslatorException
domainName
- TranslatorException
List<String> getDomains() throws TranslatorException
TranslatorException
Set<SimpleDBConnection.SimpleDBAttribute> getAttributeNames(String domainName) throws TranslatorException
domainName
- TranslatorException
int performInsert(String domainName, List<Column> columns, Iterator<? extends List<?>> values) throws TranslatorException
domainName
- itemName
- columnsMap
- TranslatorException
com.amazonaws.services.simpledb.model.SelectResult performSelect(String selectExpression, String nextToken) throws TranslatorException
selectExpression
- columns
- TranslatorException
int performUpdate(String domainName, Map<String,Object> updateAttributes, String selectExpression) throws TranslatorException
domainName
- items
- TranslatorException
int performDelete(String domainName, String selectExpression) throws TranslatorException
domainName
- itemName
- TranslatorException
Copyright © 2018 JBoss by Red Hat. All rights reserved.