public class SimpleDBConnection extends AbstractConnection
| Modifier | Constructor and Description |
|---|---|
protected |
SimpleDBConnection(java.lang.String accessId,
java.lang.String accessSecret) |
protected |
SimpleDBConnection(java.lang.String accessId,
java.lang.String accessSecret,
SimpleDBProxy proxy) |
protected |
SimpleDBConnection(java.lang.String accessId,
java.lang.String accessSecret,
java.lang.String endPoint)
Creates a connection to specified endpoint (i.e.
|
| Modifier and Type | Method and Description |
|---|---|
void |
abort(java.util.concurrent.Executor executor) |
java.sql.Statement |
createStatement() |
java.sql.Statement |
createStatement(int resultSetType,
int resultSetConcurrency) |
int |
getNetworkTimeout() |
java.lang.String |
getSchema() |
protected com.amazonaws.services.simpledb.AmazonSimpleDB |
getSimpleDB() |
java.sql.PreparedStatement |
prepareStatement(java.lang.String sql) |
void |
setNetworkTimeout(java.util.concurrent.Executor executor,
int milliseconds) |
void |
setSchema(java.lang.String schema) |
java.lang.String |
toString() |
clearWarnings, close, commit, createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStatement, createStruct, getAutoCommit, getCatalog, getClientInfo, getClientInfo, getHoldability, getMetaData, getTransactionIsolation, getTypeMap, getWarnings, isClosed, isReadOnly, isValid, isWrapperFor, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setClientInfo, setClientInfo, setHoldability, setReadOnly, setSavepoint, setSavepoint, setTransactionIsolation, setTypeMap, unwrapprotected SimpleDBConnection(java.lang.String accessId,
java.lang.String accessSecret)
accessId - AWS access idaccessSecret - AWS secretprotected SimpleDBConnection(java.lang.String accessId,
java.lang.String accessSecret,
java.lang.String endPoint)
accessId - AWS access idaccessSecret - AWS secretendPoint - AWS alternate endpointprotected SimpleDBConnection(java.lang.String accessId,
java.lang.String accessSecret,
SimpleDBProxy proxy)
accessId - AWS access idaccessSecret - AWS secretproxy - Proxy infoprotected com.amazonaws.services.simpledb.AmazonSimpleDB getSimpleDB()
public java.sql.Statement createStatement()
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.PreparedStatement prepareStatement(java.lang.String sql)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.sql.Statement createStatement(int resultSetType,
int resultSetConcurrency)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setSchema(java.lang.String schema)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.lang.String getSchema()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void abort(java.util.concurrent.Executor executor)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setNetworkTimeout(java.util.concurrent.Executor executor,
int milliseconds)
throws java.sql.SQLException
java.sql.SQLExceptionpublic int getNetworkTimeout()
throws java.sql.SQLException
java.sql.SQLException