java.lang.AutoCloseable, java.sql.ResultSet, java.sql.Wrapper, ResultSetCallbackInterface, UnitOfWorkListenerNetResultSet42class NetResultSet extends ClientResultSet
| Modifier and Type | Field | Description |
|---|---|---|
(package private) boolean |
firstOutovrBuilt_ |
|
private boolean |
isFixedRowProtocol |
|
private NetAgent |
netAgent_ |
|
private NetConnection |
netConnection_ |
|
(package private) NetCursor |
netCursor_ |
|
private NetStatement |
netStatement_ |
agent_, cursor_, cursorHold_, fetchSize_, generatedSection_, isRowsetCursor_, openOnServer_, queryInstanceIdentifier_, queryTerminatingSqlca_, resultSetMetaData_, resultSetType_, rowsetSqlca_, rowsReceivedInCurrentRowset_, rowsYetToBeReceivedForRowset_, scrollable_, scrollOrientation_absolute__, scrollOrientation_after__, scrollOrientation_before__, scrollOrientation_relative__, sensitivity_, sensitivity_insensitive__, sensitivity_sensitive_dynamic__, sensitivity_sensitive_static__, sensitivity_unknown__, statement_, suggestedFetchSize_| Constructor | Description |
|---|---|
NetResultSet(NetAgent netAgent,
NetStatement netStatement,
Cursor cursor,
int qryprctyp,
int sqlcsrhld,
int qryattscr,
int qryattsns,
int qryattset,
long qryinsid,
int actualResultSetType,
int actualResultSetConcurrency,
int actualResultSetHoldability) |
| Modifier and Type | Method | Description |
|---|---|---|
(package private) void |
flowFetch() |
|
(package private) void |
flowFetchToCompleteRowset() |
|
protected void |
parseRowset_() |
|
protected void |
preClose_() |
Method that is invoked by
closeX() before the
result set is actually being closed. |
void |
readCursorClose_() |
|
void |
readFetch_() |
|
void |
readPositioningFetch_() |
|
void |
readScrollableFetch_() |
|
void |
setFetchSize_(int rows) |
|
void |
writeCursorClose_(Section section) |
|
void |
writeFetch_(Section section) |
|
void |
writePositioningFetch_(Section section,
int orientation,
long rowToFetch) |
|
void |
writeScrollableFetch_(Section section,
int fetchSize,
int orientation,
long rowToFetch,
boolean resetQueryBlocks) |
absolute, accumulateWarning, afterLast, beforeFirst, cancelRowUpdates, checkAndThrowReceivedQueryTerminatingException, checkForClosedResultSet, clearWarnings, close, closeX, completeLocalCommit, completeLocalRollback, completeSqlca, deleteRow, earlyCloseComplete, expandRowsetSqlca, findColumn, findColumnX, first, getArray, getArray, getAsciiStream, getAsciiStream, getBigDecimal, getBigDecimal, getBigDecimal, getBigDecimal, getBinaryStream, getBinaryStream, getBlob, getBlob, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getCharacterStream, getCharacterStream, getClob, getClob, getConcurrency, getConnectionCallbackInterface, getCursorName, getDate, getDate, getDate, getDate, getDouble, getDouble, getFetchDirection, getFetchSize, getFloat, getFloat, getHoldability, getInt, getInt, getLong, getLong, getMetaData, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, getObject, getObject, getObject, getObject, getObject, getObject, getRef, getRef, getRow, getRowCount, getRowId, getRowId, getRSReturnability, getShort, getShort, getSQLXML, getSQLXML, getStatement, getStatementCallbackInterface, getString, getString, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getType, getUnicodeStream, getUnicodeStream, getURL, getURL, getWarnings, insertRow, isAfterLast, isBeforeFirst, isClosed, isFirst, isLast, isWrapperFor, last, listenToUnitOfWork, markClosedOnServer, markLOBAsPublished, moveToCurrentRow, moveToInsertRow, next, previous, refreshRow, relative, rowDeleted, rowInserted, rowUpdated, setFetchDirection, setFetchSize, setRowCountEvent, setRSReturnability, setValidCursorPosition, 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, updateNClob, updateNString, updateNString, updateNull, updateNull, updateObject, updateObject, updateObject, updateObject, updateRef, updateRef, updateRow, updateRowId, updateRowId, updateShort, updateShort, updateSQLXML, updateSQLXML, updateString, updateString, updateTime, updateTime, updateTimestamp, updateTimestamp, wasNullprivate final NetConnection netConnection_
private final NetStatement netStatement_
final NetCursor netCursor_
private final NetAgent netAgent_
private boolean isFixedRowProtocol
boolean firstOutovrBuilt_
NetResultSet(NetAgent netAgent, NetStatement netStatement, Cursor cursor, int qryprctyp, int sqlcsrhld, int qryattscr, int qryattsns, int qryattset, long qryinsid, int actualResultSetType, int actualResultSetConcurrency, int actualResultSetHoldability)
protected void parseRowset_()
throws SqlException
parseRowset_ in class ClientResultSetSqlExceptionpublic void setFetchSize_(int rows)
setFetchSize_ in class ClientResultSetvoid flowFetchToCompleteRowset()
throws DisconnectException
DisconnectExceptionpublic void writeFetch_(Section section) throws SqlException
writeFetch_ in class ClientResultSetSqlExceptionpublic void readFetch_()
throws SqlException
readFetch_ in class ClientResultSetSqlExceptionpublic void writeScrollableFetch_(Section section, int fetchSize, int orientation, long rowToFetch, boolean resetQueryBlocks) throws SqlException
writeScrollableFetch_ in class ClientResultSetSqlExceptionpublic void readScrollableFetch_()
throws SqlException
readScrollableFetch_ in class ClientResultSetSqlExceptionpublic void writePositioningFetch_(Section section, int orientation, long rowToFetch) throws SqlException
writePositioningFetch_ in class ClientResultSetSqlExceptionpublic void readPositioningFetch_()
throws SqlException
readPositioningFetch_ in class ClientResultSetSqlExceptionpublic void writeCursorClose_(Section section) throws SqlException
writeCursorClose_ in class ClientResultSetSqlExceptionpublic void readCursorClose_()
throws SqlException
readCursorClose_ in class ClientResultSetSqlExceptionprotected void preClose_()
throws SqlException
closeX() before the
result set is actually being closed. If QRYCLSIMP is enabled on
the cursor, scan data buffer for end of data (SQL state
02000). If end of data is received, the result set is closed on
the server.preClose_ in class ClientResultSetSqlExceptionvoid flowFetch()
throws DisconnectException,
SqlException
DisconnectExceptionSqlExceptionApache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.