Package io.deephaven.jdbc
Class ImmutableResultSet
java.lang.Object
io.deephaven.jdbc.ReadOnlyResultSet
io.deephaven.jdbc.ImmutableResultSet
- All Implemented Interfaces:
AutoCloseable
,ResultSet
,Wrapper
A read-only in-memory ResultSet implementation that is constructed from raw data and type information.
-
Field Summary
Fields inherited from interface java.sql.ResultSet
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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
absolute
(int row) void
void
void
void
void
close()
int
findColumn
(String columnName) boolean
first()
getArray
(int columnIndex) getAsciiStream
(int columnIndex) getAsciiStream
(String columnName) getBigDecimal
(int columnIndex) getBigDecimal
(int columnIndex, int scale) getBigDecimal
(String columnName) getBigDecimal
(String columnName, int scale) getBinaryStream
(int columnIndex) getBinaryStream
(String columnName) getBlob
(int columnIndex) boolean
getBoolean
(int columnIndex) boolean
getBoolean
(String columnName) byte
getByte
(int columnIndex) byte
byte[]
getBytes
(int columnIndex) byte[]
getCharacterStream
(int columnIndex) getCharacterStream
(String columnName) getClob
(int columnIndex) int
getDate
(int columnIndex) double
getDouble
(int columnIndex) double
int
int
float
getFloat
(int columnIndex) float
int
int
getInt
(int columnIndex) int
long
getLong
(int columnIndex) long
getNCharacterStream
(int columnIndex) getNCharacterStream
(String columnName) getNClob
(int columnIndex) getNString
(int columnIndex) getNString
(String columnName) getObject
(int columnIndex) <T> T
<T> T
getRef
(int columnIndex) int
getRow()
getRowId
(int columnIndex) short
getShort
(int columnIndex) short
getSQLXML
(int columnIndex) getString
(int columnIndex) getTime
(int columnIndex) getTimestamp
(int columnIndex) getTimestamp
(int columnIndex, Calendar cal) getTimestamp
(String columnName) getTimestamp
(String columnName, Calendar cal) int
getType()
getUnicodeStream
(int columnIndex) getUnicodeStream
(String columnName) getURL
(int columnIndex) boolean
boolean
boolean
isClosed()
boolean
isFirst()
boolean
isLast()
boolean
last()
void
boolean
next()
boolean
previous()
void
boolean
relative
(int rows) boolean
boolean
boolean
void
setFetchDirection
(int fetchDirection) void
setFetchSize
(int fetchSize) boolean
wasNull()
Methods inherited from class io.deephaven.jdbc.ReadOnlyResultSet
deleteRow, insertRow, isWrapperFor, moveToInsertRow, 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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.sql.ResultSet
updateObject, updateObject, updateObject, updateObject
-
Method Details
-
next
public boolean next() -
close
public void close() -
wasNull
public boolean wasNull() -
getString
- Throws:
SQLException
-
getBoolean
- Throws:
SQLException
-
getByte
- Throws:
SQLException
-
getShort
- Throws:
SQLException
-
getInt
- Throws:
SQLException
-
getLong
- Throws:
SQLException
-
getFloat
- Throws:
SQLException
-
getDouble
- Throws:
SQLException
-
getBigDecimal
- Throws:
SQLException
-
getBytes
- Throws:
SQLException
-
getDate
- Throws:
SQLException
-
getTime
- Throws:
SQLException
-
getTimestamp
- Throws:
SQLException
-
getAsciiStream
- Throws:
SQLException
-
getUnicodeStream
- Throws:
SQLException
-
getBinaryStream
- Throws:
SQLException
-
getString
- Throws:
SQLException
-
getBoolean
- Throws:
SQLException
-
getByte
- Throws:
SQLException
-
getShort
- Throws:
SQLException
-
getInt
- Throws:
SQLException
-
getLong
- Throws:
SQLException
-
getFloat
- Throws:
SQLException
-
getDouble
- Throws:
SQLException
-
getBigDecimal
- Throws:
SQLException
-
getBytes
- Throws:
SQLException
-
getDate
- Throws:
SQLException
-
getTime
- Throws:
SQLException
-
getTimestamp
- Throws:
SQLException
-
getAsciiStream
- Throws:
SQLException
-
getUnicodeStream
- Throws:
SQLException
-
getBinaryStream
- Throws:
SQLException
-
getWarnings
-
clearWarnings
public void clearWarnings() -
getCursorName
-
getMetaData
-
getObject
- Throws:
SQLException
-
getObject
- Throws:
SQLException
-
findColumn
- Throws:
SQLException
-
getCharacterStream
- Throws:
SQLException
-
getCharacterStream
- Throws:
SQLException
-
getBigDecimal
- Throws:
SQLException
-
getBigDecimal
- Throws:
SQLException
-
isBeforeFirst
public boolean isBeforeFirst() -
isAfterLast
public boolean isAfterLast() -
isFirst
public boolean isFirst() -
isLast
public boolean isLast() -
beforeFirst
- Throws:
SQLException
-
afterLast
- Throws:
SQLException
-
first
- Throws:
SQLException
-
last
- Throws:
SQLException
-
getRow
- Throws:
SQLException
-
absolute
- Throws:
SQLException
-
relative
- Throws:
SQLException
-
previous
- Throws:
SQLException
-
setFetchDirection
- Throws:
SQLException
-
getFetchDirection
- Throws:
SQLException
-
setFetchSize
- Throws:
SQLException
-
getFetchSize
- Throws:
SQLException
-
getType
- Throws:
SQLException
-
getConcurrency
- Throws:
SQLException
-
rowUpdated
- Specified by:
rowUpdated
in interfaceResultSet
- Overrides:
rowUpdated
in classReadOnlyResultSet
- Throws:
SQLException
-
rowInserted
- Specified by:
rowInserted
in interfaceResultSet
- Overrides:
rowInserted
in classReadOnlyResultSet
- Throws:
SQLException
-
rowDeleted
- Specified by:
rowDeleted
in interfaceResultSet
- Overrides:
rowDeleted
in classReadOnlyResultSet
- Throws:
SQLException
-
refreshRow
- Specified by:
refreshRow
in interfaceResultSet
- Overrides:
refreshRow
in classReadOnlyResultSet
- Throws:
SQLException
-
cancelRowUpdates
- Specified by:
cancelRowUpdates
in interfaceResultSet
- Overrides:
cancelRowUpdates
in classReadOnlyResultSet
- Throws:
SQLException
-
moveToCurrentRow
- Specified by:
moveToCurrentRow
in interfaceResultSet
- Overrides:
moveToCurrentRow
in classReadOnlyResultSet
- Throws:
SQLException
-
getStatement
- Throws:
SQLException
-
getObject
- Throws:
SQLException
-
getRef
- Throws:
SQLException
-
getBlob
- Throws:
SQLException
-
getClob
- Throws:
SQLException
-
getArray
- Throws:
SQLException
-
getObject
- Throws:
SQLException
-
getRef
- Throws:
SQLException
-
getBlob
- Throws:
SQLException
-
getClob
- Throws:
SQLException
-
getArray
- Throws:
SQLException
-
getDate
- Throws:
SQLException
-
getDate
- Throws:
SQLException
-
getTime
- Throws:
SQLException
-
getTime
- Throws:
SQLException
-
getTimestamp
- Throws:
SQLException
-
getTimestamp
- Throws:
SQLException
-
getURL
- Throws:
SQLException
-
getURL
- Throws:
SQLException
-
getRowId
- Throws:
SQLException
-
getRowId
- Throws:
SQLException
-
getHoldability
public int getHoldability() -
isClosed
public boolean isClosed() -
getNClob
- Throws:
SQLException
-
getNClob
- Throws:
SQLException
-
getSQLXML
- Throws:
SQLException
-
getSQLXML
- Throws:
SQLException
-
getNString
- Throws:
SQLException
-
getNString
- Throws:
SQLException
-
getNCharacterStream
- Throws:
SQLException
-
getNCharacterStream
- Throws:
SQLException
-
getObject
- Throws:
SQLException
-
getObject
- Throws:
SQLException
-