public class SimpleDBResultSet extends AbstractResultSet
| Modifier | Constructor and Description |
|---|---|
protected |
SimpleDBResultSet(SimpleDBConnection connection,
java.util.List<com.amazonaws.services.simpledb.model.Item> items,
java.lang.String domain) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected java.lang.String |
getAttributeName(com.amazonaws.services.simpledb.model.Attribute attribute) |
protected java.lang.String |
getAttributeValue(com.amazonaws.services.simpledb.model.Attribute attribute) |
int |
getInt(int index) |
int |
getInt(java.lang.String label) |
java.sql.ResultSetMetaData |
getMetaData() |
java.lang.Object |
getObject(int i) |
<T> T |
getObject(int columnIndex,
java.lang.Class<T> type) |
java.lang.Object |
getObject(java.lang.String s) |
<T> T |
getObject(java.lang.String columnLabel,
java.lang.Class<T> type) |
int |
getRow() |
java.lang.String |
getString(int columnIndex) |
java.lang.String |
getString(java.lang.String columnLabel) |
boolean |
next() |
java.lang.String |
toString() |
absolute, afterLast, beforeFirst, cancelRowUpdates, clearWarnings, deleteRow, findColumn, first, getArray, getArray, getAsciiStream, getAsciiStream, getBigDecimal, getBigDecimal, getBigDecimal, getBigDecimal, getBinaryStream, getBinaryStream, getBlob, getBlob, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getCharacterStream, getCharacterStream, getClob, getClob, getConcurrency, getCursorName, getDate, getDate, getDate, getDate, getDouble, getDouble, getFetchDirection, getFetchSize, getFloat, getFloat, getHoldability, getLong, getLong, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, getObject, getObject, getRef, getRef, getRowId, getRowId, getShort, getShort, getSQLXML, getSQLXML, getStatement, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getType, getUnicodeStream, getUnicodeStream, getURL, getURL, getWarnings, insertRow, isAfterLast, isBeforeFirst, isClosed, isFirst, isLast, isWrapperFor, last, moveToCurrentRow, moveToInsertRow, previous, refreshRow, relative, rowDeleted, rowInserted, rowUpdated, setFetchDirection, setFetchSize, unwrap, updateArray, updateArray, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateBigDecimal, updateBigDecimal, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBlob, updateBlob, updateBlob, updateBlob, updateBlob, updateBlob, updateBoolean, updateBoolean, updateByte, updateByte, updateBytes, updateBytes, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateClob, updateClob, updateClob, updateClob, updateClob, updateClob, updateDate, updateDate, updateDouble, updateDouble, updateFloat, updateFloat, updateInt, updateInt, updateLong, updateLong, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNString, updateNString, updateNull, updateNull, updateObject, updateObject, updateObject, updateObject, updateRef, updateRef, updateRow, updateRowId, updateRowId, updateShort, updateShort, updateSQLXML, updateSQLXML, updateString, updateString, updateTime, updateTime, updateTimestamp, updateTimestamp, wasNullprotected SimpleDBResultSet(SimpleDBConnection connection, java.util.List<com.amazonaws.services.simpledb.model.Item> items, java.lang.String domain)
connection - connection to dbitems - items to use in stmtdomain - tablepublic java.sql.ResultSetMetaData getMetaData()
throws java.sql.SQLException
java.sql.SQLExceptionpublic boolean next()
throws java.sql.SQLException
next in interface java.sql.ResultSetnext in class AbstractResultSetjava.sql.SQLExceptionpublic int getInt(int index)
throws java.sql.SQLException
java.sql.SQLExceptionpublic int getInt(java.lang.String label)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.lang.Object getObject(int i)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.lang.Object getObject(java.lang.String s)
throws java.sql.SQLException
java.sql.SQLExceptionpublic int getRow()
throws java.sql.SQLException
java.sql.SQLExceptionpublic <T> T getObject(int columnIndex,
java.lang.Class<T> type)
throws java.sql.SQLException
java.sql.SQLExceptionpublic <T> T getObject(java.lang.String columnLabel,
java.lang.Class<T> type)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.lang.String getString(int columnIndex)
throws java.sql.SQLException
getString in interface java.sql.ResultSetgetString in class AbstractResultSetjava.sql.SQLExceptionpublic java.lang.String getString(java.lang.String columnLabel)
throws java.sql.SQLException
getString in interface java.sql.ResultSetgetString in class AbstractResultSetjava.sql.SQLExceptionprotected java.lang.String getAttributeValue(com.amazonaws.services.simpledb.model.Attribute attribute)
protected java.lang.String getAttributeName(com.amazonaws.services.simpledb.model.Attribute attribute)
public java.lang.String toString()
toString in class java.lang.Objectpublic void close()
throws java.sql.SQLException
java.sql.SQLException