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 TypeMethodDescriptionbooleanabsolute(int row) voidvoidvoidvoidvoidclose()intfindColumn(String columnName) booleanfirst()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) booleangetBoolean(int columnIndex) booleangetBoolean(String columnName) bytegetByte(int columnIndex) bytebyte[]getBytes(int columnIndex) byte[]getCharacterStream(int columnIndex) getCharacterStream(String columnName) getClob(int columnIndex) intgetDate(int columnIndex) doublegetDouble(int columnIndex) doubleintintfloatgetFloat(int columnIndex) floatintintgetInt(int columnIndex) intlonggetLong(int columnIndex) longgetNCharacterStream(int columnIndex) getNCharacterStream(String columnName) getNClob(int columnIndex) getNString(int columnIndex) getNString(String columnName) getObject(int columnIndex) <T> T<T> TgetRef(int columnIndex) intgetRow()getRowId(int columnIndex) shortgetShort(int columnIndex) shortgetSQLXML(int columnIndex) getString(int columnIndex) getTime(int columnIndex) getTimestamp(int columnIndex) getTimestamp(int columnIndex, Calendar cal) getTimestamp(String columnName) getTimestamp(String columnName, Calendar cal) intgetType()getUnicodeStream(int columnIndex) getUnicodeStream(String columnName) getURL(int columnIndex) booleanbooleanbooleanisClosed()booleanisFirst()booleanisLast()booleanlast()voidbooleannext()booleanprevious()voidbooleanrelative(int rows) booleanbooleanbooleanvoidsetFetchDirection(int fetchDirection) voidsetFetchSize(int fetchSize) booleanwasNull()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, updateTimestampMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
rowUpdatedin interfaceResultSet- Overrides:
rowUpdatedin classReadOnlyResultSet- Throws:
SQLException
-
rowInserted
- Specified by:
rowInsertedin interfaceResultSet- Overrides:
rowInsertedin classReadOnlyResultSet- Throws:
SQLException
-
rowDeleted
- Specified by:
rowDeletedin interfaceResultSet- Overrides:
rowDeletedin classReadOnlyResultSet- Throws:
SQLException
-
refreshRow
- Specified by:
refreshRowin interfaceResultSet- Overrides:
refreshRowin classReadOnlyResultSet- Throws:
SQLException
-
cancelRowUpdates
- Specified by:
cancelRowUpdatesin interfaceResultSet- Overrides:
cancelRowUpdatesin classReadOnlyResultSet- Throws:
SQLException
-
moveToCurrentRow
- Specified by:
moveToCurrentRowin interfaceResultSet- Overrides:
moveToCurrentRowin 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
-