public class ResultSetAdaptor extends Object implements ResultSet
ResultSet
to read values from Vert.x's RowSet
.CLOSE_CURSORS_AT_COMMIT, CONCUR_READ_ONLY, CONCUR_UPDATABLE, FETCH_FORWARD, FETCH_REVERSE, FETCH_UNKNOWN, HOLD_CURSORS_OVER_COMMIT, TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVE
Constructor and Description |
---|
ResultSetAdaptor(<any> rows) |
Modifier and Type | Method and Description |
---|---|
boolean | absolute(int row) |
void | afterLast() |
void | beforeFirst() |
void | cancelRowUpdates() |
void | clearWarnings() |
void | close() |
void | deleteRow() |
int | findColumn(String columnLabel) |
boolean | first() |
Array | getArray(int columnIndex) |
Array | getArray(String columnLabel) |
InputStream | getAsciiStream(int columnIndex) |
InputStream | getAsciiStream(String columnLabel) |
BigDecimal | getBigDecimal(int columnIndex) |
BigDecimal | getBigDecimal(int columnIndex, int scale) |
BigDecimal | getBigDecimal(String columnLabel) |
BigDecimal | getBigDecimal(String columnLabel, int scale) |
InputStream | getBinaryStream(int columnIndex) |
InputStream | getBinaryStream(String columnLabel) |
Blob | getBlob(int columnIndex) |
Blob | getBlob(String columnLabel) |
boolean | getBoolean(int columnIndex) |
boolean | getBoolean(String columnLabel) |
byte | getByte(int columnIndex) |
byte | getByte(String columnLabel) |
byte[] | getBytes(int columnIndex) |
byte[] | getBytes(String columnLabel) |
Reader | getCharacterStream(int columnIndex) |
Reader | getCharacterStream(String columnLabel) |
Clob | getClob(int columnIndex) |
Clob | getClob(String columnLabel) |
int | getConcurrency() |
String | getCursorName() |
Date | getDate(int columnIndex) |
Date | getDate(int columnIndex, Calendar cal) |
Date | getDate(String columnLabel) |
Date | getDate(String columnLabel, Calendar cal) |
double | getDouble(int columnIndex) |
double | getDouble(String columnLabel) |
int | getFetchDirection() |
int | getFetchSize() |
float | getFloat(int columnIndex) |
float | getFloat(String columnLabel) |
int | getHoldability() |
int | getInt(int columnIndex) |
int | getInt(String columnLabel) |
long | getLong(int columnIndex) |
long | getLong(String columnLabel) |
ResultSetMetaData | getMetaData() |
Reader | getNCharacterStream(int columnIndex) |
Reader | getNCharacterStream(String columnLabel) |
NClob | getNClob(int columnIndex) |
NClob | getNClob(String columnLabel) |
String | getNString(int columnIndex) |
String | getNString(String columnLabel) |
Object | getObject(int columnIndex) |
<T> T | getObject(int columnIndex, Class<T> type) |
Object | getObject(int columnIndex, Map<String,Class<?>> map) |
Object | getObject(String columnLabel) |
<T> T | getObject(String columnLabel, Class<T> type) |
Object | getObject(String columnLabel, Map<String,Class<?>> map) |
Ref | getRef(int columnIndex) |
Ref | getRef(String columnLabel) |
int | getRow() |
RowId | getRowId(int columnIndex) |
RowId | getRowId(String columnLabel) |
short | getShort(int columnIndex) |
short | getShort(String columnLabel) |
SQLXML | getSQLXML(int columnIndex) |
SQLXML | getSQLXML(String columnLabel) |
Statement | getStatement() |
String | getString(int columnIndex) |
String | getString(String columnLabel) |
Time | getTime(int columnIndex) |
Time | getTime(int columnIndex, Calendar cal) |
Time | getTime(String columnLabel) |
Time | getTime(String columnLabel, Calendar cal) |
Timestamp | getTimestamp(int columnIndex) |
Timestamp | getTimestamp(int columnIndex, Calendar cal) |
Timestamp | getTimestamp(String columnLabel) |
Timestamp | getTimestamp(String columnLabel, Calendar cal) |
int | getType() |
InputStream | getUnicodeStream(int columnIndex) |
InputStream | getUnicodeStream(String columnLabel) |
URL | getURL(int columnIndex) |
URL | getURL(String columnLabel) |
SQLWarning | getWarnings() |
void | insertRow() |
boolean | isAfterLast() |
boolean | isBeforeFirst() |
boolean | isClosed() |
boolean | isFirst() |
boolean | isLast() |
boolean | isWrapperFor(Class<?> iface) |
boolean | last() |
void | moveToCurrentRow() |
void | moveToInsertRow() |
boolean | next() |
boolean | previous() |
void | refreshRow() |
boolean | relative(int rows) |
boolean | rowDeleted() |
boolean | rowInserted() |
boolean | rowUpdated() |
void | setFetchDirection(int direction) |
void | setFetchSize(int rows) |
<T> T | unwrap(Class<T> iface) |
void | updateArray(int columnIndex, Array x) |
void | updateArray(String columnLabel, Array x) |
void | updateAsciiStream(int columnIndex, InputStream x) |
void | updateAsciiStream(int columnIndex, InputStream x, int length) |
void | updateAsciiStream(int columnIndex, InputStream x, long length) |
void | updateAsciiStream(String columnLabel, InputStream x) |
void | updateAsciiStream(String columnLabel, InputStream x, int length) |
void | updateAsciiStream(String columnLabel, InputStream x, long length) |
void | updateBigDecimal(int columnIndex, BigDecimal x) |
void | updateBigDecimal(String columnLabel, BigDecimal x) |
void | updateBinaryStream(int columnIndex, InputStream x) |
void | updateBinaryStream(int columnIndex, InputStream x, int length) |
void | updateBinaryStream(int columnIndex, InputStream x, long length) |
void | updateBinaryStream(String columnLabel, InputStream x) |
void | updateBinaryStream(String columnLabel, InputStream x, int length) |
void | updateBinaryStream(String columnLabel, InputStream x, long length) |
void | updateBlob(int columnIndex, Blob x) |
void | updateBlob(int columnIndex, InputStream inputStream) |
void | updateBlob(int columnIndex, InputStream inputStream, long length) |
void | updateBlob(String columnLabel, Blob x) |
void | updateBlob(String columnLabel, InputStream inputStream) |
void | updateBlob(String columnLabel, InputStream inputStream, long length) |
void | updateBoolean(int columnIndex, boolean x) |
void | updateBoolean(String columnLabel, boolean x) |
void | updateByte(int columnIndex, byte x) |
void | updateByte(String columnLabel, byte x) |
void | updateBytes(int columnIndex, byte[] x) |
void | updateBytes(String columnLabel, byte[] x) |
void | updateCharacterStream(int columnIndex, Reader x) |
void | updateCharacterStream(int columnIndex, Reader x, int length) |
void | updateCharacterStream(int columnIndex, Reader x, long length) |
void | updateCharacterStream(String columnLabel, Reader reader) |
void | updateCharacterStream(String columnLabel, Reader reader, int length) |
void | updateCharacterStream(String columnLabel, Reader reader, long length) |
void | updateClob(int columnIndex, Clob x) |
void | updateClob(int columnIndex, Reader reader) |
void | updateClob(int columnIndex, Reader reader, long length) |
void | updateClob(String columnLabel, Clob x) |
void | updateClob(String columnLabel, Reader reader) |
void | updateClob(String columnLabel, Reader reader, long length) |
void | updateDate(int columnIndex, Date x) |
void | updateDate(String columnLabel, Date x) |
void | updateDouble(int columnIndex, double x) |
void | updateDouble(String columnLabel, double x) |
void | updateFloat(int columnIndex, float x) |
void | updateFloat(String columnLabel, float x) |
void | updateInt(int columnIndex, int x) |
void | updateInt(String columnLabel, int x) |
void | updateLong(int columnIndex, long x) |
void | updateLong(String columnLabel, long x) |
void | updateNCharacterStream(int columnIndex, Reader x) |
void | updateNCharacterStream(int columnIndex, Reader x, long length) |
void | updateNCharacterStream(String columnLabel, Reader reader) |
void | updateNCharacterStream(String columnLabel, Reader reader, long length) |
void | updateNClob(int columnIndex, NClob nClob) |
void | updateNClob(int columnIndex, Reader reader) |
void | updateNClob(int columnIndex, Reader reader, long length) |
void | updateNClob(String columnLabel, NClob nClob) |
void | updateNClob(String columnLabel, Reader reader) |
void | updateNClob(String columnLabel, Reader reader, long length) |
void | updateNString(int columnIndex, String nString) |
void | updateNString(String columnLabel, String nString) |
void | updateNull(int columnIndex) |
void | updateNull(String columnLabel) |
void | updateObject(int columnIndex, Object x) |
void | updateObject(int columnIndex, Object x, int scaleOrLength) |
void | updateObject(String columnLabel, Object x) |
void | updateObject(String columnLabel, Object x, int scaleOrLength) |
void | updateRef(int columnIndex, Ref x) |
void | updateRef(String columnLabel, Ref x) |
void | updateRow() |
void | updateRowId(int columnIndex, RowId x) |
void | updateRowId(String columnLabel, RowId x) |
void | updateShort(int columnIndex, short x) |
void | updateShort(String columnLabel, short x) |
void | updateSQLXML(int columnIndex, SQLXML xmlObject) |
void | updateSQLXML(String columnLabel, SQLXML xmlObject) |
void | updateString(int columnIndex, String x) |
void | updateString(String columnLabel, String x) |
void | updateTime(int columnIndex, Time x) |
void | updateTime(String columnLabel, Time x) |
void | updateTimestamp(int columnIndex, Timestamp x) |
void | updateTimestamp(String columnLabel, Timestamp x) |
boolean | wasNull() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
updateObject, updateObject, updateObject, updateObject
public void close()
close
in interface AutoCloseable
close
in interface ResultSet
public boolean getBoolean(int columnIndex)
getBoolean
in interface ResultSet
public BigDecimal getBigDecimal(int columnIndex, int scale)
getBigDecimal
in interface ResultSet
public Timestamp getTimestamp(int columnIndex)
getTimestamp
in interface ResultSet
public InputStream getAsciiStream(int columnIndex)
getAsciiStream
in interface ResultSet
public InputStream getUnicodeStream(int columnIndex)
getUnicodeStream
in interface ResultSet
public InputStream getBinaryStream(int columnIndex)
getBinaryStream
in interface ResultSet
public boolean getBoolean(String columnLabel)
getBoolean
in interface ResultSet
public BigDecimal getBigDecimal(String columnLabel, int scale)
getBigDecimal
in interface ResultSet
public Timestamp getTimestamp(String columnLabel)
getTimestamp
in interface ResultSet
public int getHoldability()
getHoldability
in interface ResultSet
public <T> T getObject(int columnIndex, Class<T> type)
public boolean isWrapperFor(Class<?> iface)
isWrapperFor
in interface Wrapper
public SQLWarning getWarnings()
getWarnings
in interface ResultSet
public void clearWarnings()
clearWarnings
in interface ResultSet
public String getCursorName()
getCursorName
in interface ResultSet
public ResultSetMetaData getMetaData()
getMetaData
in interface ResultSet
public int findColumn(String columnLabel)
findColumn
in interface ResultSet
public BigDecimal getBigDecimal(int columnIndex)
getBigDecimal
in interface ResultSet
public BigDecimal getBigDecimal(String columnLabel)
getBigDecimal
in interface ResultSet
public void setFetchDirection(int direction)
setFetchDirection
in interface ResultSet
public int getFetchDirection()
getFetchDirection
in interface ResultSet
public void setFetchSize(int rows)
setFetchSize
in interface ResultSet
public int getFetchSize()
getFetchSize
in interface ResultSet
public int getConcurrency()
getConcurrency
in interface ResultSet
public boolean rowUpdated()
rowUpdated
in interface ResultSet
public boolean rowInserted()
rowInserted
in interface ResultSet
public boolean rowDeleted()
rowDeleted
in interface ResultSet
public boolean isBeforeFirst()
isBeforeFirst
in interface ResultSet
public boolean isAfterLast()
isAfterLast
in interface ResultSet
public void beforeFirst()
beforeFirst
in interface ResultSet
public void refreshRow()
refreshRow
in interface ResultSet
public void cancelRowUpdates()
cancelRowUpdates
in interface ResultSet
public void moveToInsertRow()
moveToInsertRow
in interface ResultSet
public void moveToCurrentRow()
moveToCurrentRow
in interface ResultSet
public Statement getStatement()
getStatement
in interface ResultSet
public InputStream getAsciiStream(String columnLabel)
getAsciiStream
in interface ResultSet
public InputStream getUnicodeStream(String columnLabel)
getUnicodeStream
in interface ResultSet
public InputStream getBinaryStream(String columnLabel)
getBinaryStream
in interface ResultSet
public Reader getCharacterStream(int columnIndex)
getCharacterStream
in interface ResultSet
public Reader getCharacterStream(String columnLabel)
getCharacterStream
in interface ResultSet
public Timestamp getTimestamp(int columnIndex, Calendar cal)
getTimestamp
in interface ResultSet
public Timestamp getTimestamp(String columnLabel, Calendar cal)
getTimestamp
in interface ResultSet
public String getNString(int columnIndex)
getNString
in interface ResultSet
public String getNString(String columnLabel)
getNString
in interface ResultSet
public Reader getNCharacterStream(int columnIndex)
getNCharacterStream
in interface ResultSet
public Reader getNCharacterStream(String columnLabel)
getNCharacterStream
in interface ResultSet
public void updateNull(int columnIndex)
updateNull
in interface ResultSet
public void updateBoolean(int columnIndex, boolean x)
updateBoolean
in interface ResultSet
public void updateByte(int columnIndex, byte x)
updateByte
in interface ResultSet
public void updateShort(int columnIndex, short x)
updateShort
in interface ResultSet
public void updateLong(int columnIndex, long x)
updateLong
in interface ResultSet
public void updateFloat(int columnIndex, float x)
updateFloat
in interface ResultSet
public void updateDouble(int columnIndex, double x)
updateDouble
in interface ResultSet
public void updateBigDecimal(int columnIndex, BigDecimal x)
updateBigDecimal
in interface ResultSet
public void updateString(int columnIndex, String x)
updateString
in interface ResultSet
public void updateBytes(int columnIndex, byte[] x)
updateBytes
in interface ResultSet
public void updateDate(int columnIndex, Date x)
updateDate
in interface ResultSet
public void updateTime(int columnIndex, Time x)
updateTime
in interface ResultSet
public void updateTimestamp(int columnIndex, Timestamp x)
updateTimestamp
in interface ResultSet
public void updateAsciiStream(int columnIndex, InputStream x, int length)
updateAsciiStream
in interface ResultSet
public void updateBinaryStream(int columnIndex, InputStream x, int length)
updateBinaryStream
in interface ResultSet
public void updateCharacterStream(int columnIndex, Reader x, int length)
updateCharacterStream
in interface ResultSet
public void updateObject(int columnIndex, Object x, int scaleOrLength)
updateObject
in interface ResultSet
public void updateObject(int columnIndex, Object x)
updateObject
in interface ResultSet
public void updateNull(String columnLabel)
updateNull
in interface ResultSet
public void updateBoolean(String columnLabel, boolean x)
updateBoolean
in interface ResultSet
public void updateByte(String columnLabel, byte x)
updateByte
in interface ResultSet
public void updateShort(String columnLabel, short x)
updateShort
in interface ResultSet
public void updateInt(String columnLabel, int x)
public void updateLong(String columnLabel, long x)
updateLong
in interface ResultSet
public void updateFloat(String columnLabel, float x)
updateFloat
in interface ResultSet
public void updateDouble(String columnLabel, double x)
updateDouble
in interface ResultSet
public void updateBigDecimal(String columnLabel, BigDecimal x)
updateBigDecimal
in interface ResultSet
public void updateString(String columnLabel, String x)
updateString
in interface ResultSet
public void updateBytes(String columnLabel, byte[] x)
updateBytes
in interface ResultSet
public void updateDate(String columnLabel, Date x)
updateDate
in interface ResultSet
public void updateTime(String columnLabel, Time x)
updateTime
in interface ResultSet
public void updateTimestamp(String columnLabel, Timestamp x)
updateTimestamp
in interface ResultSet
public void updateAsciiStream(String columnLabel, InputStream x, int length)
updateAsciiStream
in interface ResultSet
public void updateBinaryStream(String columnLabel, InputStream x, int length)
updateBinaryStream
in interface ResultSet
public void updateCharacterStream(String columnLabel, Reader reader, int length)
updateCharacterStream
in interface ResultSet
public void updateObject(String columnLabel, Object x, int scaleOrLength)
updateObject
in interface ResultSet
public void updateObject(String columnLabel, Object x)
updateObject
in interface ResultSet
public void updateBlob(int columnIndex, Blob x)
updateBlob
in interface ResultSet
public void updateBlob(String columnLabel, Blob x)
updateBlob
in interface ResultSet
public void updateClob(int columnIndex, Clob x)
updateClob
in interface ResultSet
public void updateClob(String columnLabel, Clob x)
updateClob
in interface ResultSet
public void updateArray(int columnIndex, Array x)
updateArray
in interface ResultSet
public void updateArray(String columnLabel, Array x)
updateArray
in interface ResultSet
public void updateRowId(int columnIndex, RowId x)
updateRowId
in interface ResultSet
public void updateRowId(String columnLabel, RowId x)
updateRowId
in interface ResultSet
public void updateNString(int columnIndex, String nString)
updateNString
in interface ResultSet
public void updateNString(String columnLabel, String nString)
updateNString
in interface ResultSet
public void updateNClob(int columnIndex, NClob nClob)
updateNClob
in interface ResultSet
public void updateNClob(String columnLabel, NClob nClob)
updateNClob
in interface ResultSet
public void updateSQLXML(int columnIndex, SQLXML xmlObject)
updateSQLXML
in interface ResultSet
public void updateSQLXML(String columnLabel, SQLXML xmlObject)
updateSQLXML
in interface ResultSet
public void updateNCharacterStream(int columnIndex, Reader x, long length)
updateNCharacterStream
in interface ResultSet
public void updateNCharacterStream(String columnLabel, Reader reader, long length)
updateNCharacterStream
in interface ResultSet
public void updateAsciiStream(int columnIndex, InputStream x, long length)
updateAsciiStream
in interface ResultSet
public void updateBinaryStream(int columnIndex, InputStream x, long length)
updateBinaryStream
in interface ResultSet
public void updateCharacterStream(int columnIndex, Reader x, long length)
updateCharacterStream
in interface ResultSet
public void updateAsciiStream(String columnLabel, InputStream x, long length)
updateAsciiStream
in interface ResultSet
public void updateBinaryStream(String columnLabel, InputStream x, long length)
updateBinaryStream
in interface ResultSet
public void updateCharacterStream(String columnLabel, Reader reader, long length)
updateCharacterStream
in interface ResultSet
public void updateBlob(int columnIndex, InputStream inputStream, long length)
updateBlob
in interface ResultSet
public void updateBlob(String columnLabel, InputStream inputStream, long length)
updateBlob
in interface ResultSet
public void updateClob(int columnIndex, Reader reader, long length)
updateClob
in interface ResultSet
public void updateClob(String columnLabel, Reader reader, long length)
updateClob
in interface ResultSet
public void updateNClob(int columnIndex, Reader reader, long length)
updateNClob
in interface ResultSet
public void updateNClob(String columnLabel, Reader reader, long length)
updateNClob
in interface ResultSet
public void updateNCharacterStream(int columnIndex, Reader x)
updateNCharacterStream
in interface ResultSet
public void updateNCharacterStream(String columnLabel, Reader reader)
updateNCharacterStream
in interface ResultSet
public void updateAsciiStream(int columnIndex, InputStream x)
updateAsciiStream
in interface ResultSet
public void updateBinaryStream(int columnIndex, InputStream x)
updateBinaryStream
in interface ResultSet
public void updateCharacterStream(int columnIndex, Reader x)
updateCharacterStream
in interface ResultSet
public void updateAsciiStream(String columnLabel, InputStream x)
updateAsciiStream
in interface ResultSet
public void updateBinaryStream(String columnLabel, InputStream x)
updateBinaryStream
in interface ResultSet
public void updateCharacterStream(String columnLabel, Reader reader)
updateCharacterStream
in interface ResultSet
public void updateBlob(int columnIndex, InputStream inputStream)
updateBlob
in interface ResultSet
public void updateBlob(String columnLabel, InputStream inputStream)
updateBlob
in interface ResultSet
public void updateClob(int columnIndex, Reader reader)
updateClob
in interface ResultSet
public void updateClob(String columnLabel, Reader reader)
updateClob
in interface ResultSet
public void updateNClob(int columnIndex, Reader reader)
updateNClob
in interface ResultSet
public void updateNClob(String columnLabel, Reader reader)
updateNClob
in interface ResultSet