java.lang.Object
org.postgresql.pljava.jdbc.AbstractResultSet
org.postgresql.pljava.jdbc.ObjectResultSet
org.postgresql.pljava.jdbc.ReadOnlyResultSet
org.postgresql.pljava.jdbc.ResultSetBase
- All Implemented Interfaces:
AutoCloseable
,ResultSet
,Wrapper
- Direct Known Subclasses:
SPIResultSet
,SyntheticResultSet
Provides methods that are common both for
a SyntheticResultSet (which is not associated with a
statement) and SPIResultSet.
- Author:
- Filip Hrbek
-
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) Cursor positioning is not implemented yet.void
Cursor positioning is not implemented yet.void
Cursor positioning is not implemented yet.void
close()
boolean
first()
Cursor positioning is not implemented yet.int
Always returnsResultSet.FETCH_FORWARD
if not overridden.final int
Returns the fetch size set by the constructor or withsetFetchSize(int)
.int
ReturnsResultSet.CLOSE_CURSORS_AT_COMMIT
.final int
getRow()
Returns the row set by the constructor or withsetRow(int)
.int
getType()
Always returnsResultSet.TYPE_FORWARD_ONLY
if not overridden.boolean
boolean
boolean
isClosed()
boolean
isFirst()
boolean
last()
Cursor positioning is not implemented yet.boolean
previous()
Reverse positioning is not implemented yet.boolean
relative
(int rows) Cursor positioning is not implemented yet.void
setFetchDirection
(int direction) OnlyResultSet.FETCH_FORWARD
is supported.void
setFetchSize
(int fetchSize) Sets the fetch size maintained in this class.Methods inherited from class org.postgresql.pljava.jdbc.ReadOnlyResultSet
cancelRowUpdates, deleteRow, getConcurrency, insertRow, moveToCurrentRow, moveToInsertRow, rowDeleted, rowInserted, rowUpdated, updateObject, updateObject, updateRow
Methods inherited from class org.postgresql.pljava.jdbc.ObjectResultSet
clearWarnings, getArray, getAsciiStream, getBigDecimal, getBigDecimal, getBinaryStream, getBlob, getBoolean, getByte, getBytes, getCharacterStream, getClob, getDate, getDate, getDouble, getFloat, getInt, getLong, getMetaData, getNumber, getObject, getObject, getObject, getObjectValue, getObjectValue, getObjectValue, getRef, getShort, getString, getTime, getTime, getTimestamp, getTimestamp, getUnicodeStream, getURL, getValue, getValue, getWarnings, refreshRow, updateArray, updateAsciiStream, updateBigDecimal, updateBinaryStream, updateBlob, updateBoolean, updateByte, updateBytes, updateCharacterStream, updateClob, updateDate, updateDouble, updateFloat, updateInt, updateLong, updateNull, updateRef, updateShort, updateString, updateTime, updateTimestamp, wasNull
Methods inherited from class org.postgresql.pljava.jdbc.AbstractResultSet
getArray, getAsciiStream, getBigDecimal, getBigDecimal, getBinaryStream, getBlob, getBoolean, getByte, getBytes, getCharacterStream, getClob, getCursorName, getDate, getDate, getDouble, getFloat, getInt, getLong, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, getObject, getObject, getObject, getRef, getRowId, getRowId, getShort, getSQLXML, getSQLXML, getStatement, getString, getTime, getTime, getTimestamp, getTimestamp, getUnicodeStream, getURL, isWrapperFor, unwrap, updateArray, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateBigDecimal, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBlob, updateBlob, updateBlob, updateBlob, updateBlob, updateBoolean, updateByte, updateBytes, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateClob, updateClob, updateClob, updateClob, updateClob, updateDate, updateDouble, updateFloat, updateInt, updateLong, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNString, updateNString, updateNull, updateObject, updateObject, updateRef, updateRowId, updateRowId, updateShort, updateSQLXML, updateSQLXML, updateString, updateTime, 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
findColumn, isLast, next, updateObject, updateObject, updateObject, updateObject
-
Method Details
-
getFetchDirection
Always returnsResultSet.FETCH_FORWARD
if not overridden.- Throws:
SQLException
-
getFetchSize
Returns the fetch size set by the constructor or withsetFetchSize(int)
.- Throws:
SQLException
-
getRow
Returns the row set by the constructor or withsetRow(int)
.- Throws:
SQLException
-
getType
Always returnsResultSet.TYPE_FORWARD_ONLY
if not overridden.- Throws:
SQLException
-
afterLast
Cursor positioning is not implemented yet.- Throws:
SQLException
- indicating that this feature is not supported.
-
beforeFirst
Cursor positioning is not implemented yet.- Throws:
SQLException
- indicating that this feature is not supported.
-
close
- Throws:
SQLException
-
first
Cursor positioning is not implemented yet.- Throws:
SQLException
- indicating that this feature is not supported.
-
isAfterLast
- Throws:
SQLException
-
isBeforeFirst
- Throws:
SQLException
-
isFirst
- Throws:
SQLException
-
last
Cursor positioning is not implemented yet.- Throws:
SQLException
- indicating that this feature is not supported.
-
previous
Reverse positioning is not implemented yet.- Throws:
SQLException
- indicating that this feature is not supported.
-
absolute
Cursor positioning is not implemented yet.- Throws:
SQLException
- indicating that this feature is not supported.
-
relative
Cursor positioning is not implemented yet.- Throws:
SQLException
- indicating that this feature is not supported.
-
setFetchDirection
OnlyResultSet.FETCH_FORWARD
is supported.- Throws:
SQLException
- indicating that this feature is not supported for other values ondirection
.
-
isClosed
- Throws:
SQLException
-
getHoldability
ReturnsResultSet.CLOSE_CURSORS_AT_COMMIT
.- Throws:
SQLException
-
setFetchSize
Sets the fetch size maintained in this class.- Throws:
SQLException
-