Top Fields Constructors Methods
org.apache.derby.client.net

pack-priv Class NetResultSet

extends ClientResultSet
Class Inheritance
Known Direct Subclasses
org.apache.derby.client.net.NetResultSet42
Imports
java.sql.ResultSet, org.apache.derby.client.am.Cursor, .DisconnectException, .ClientResultSet, .Section, .SqlException

Field Summary

Modifier and TypeField and Description
pack-priv boolean
private boolean
private final NetAgent
private final NetConnection
pack-priv final NetCursor
private final NetStatement
Inherited from org.apache.derby.client.am.ClientResultSet:
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 Summary

AccessConstructor and Description
pack-priv
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)

Method Summary

Modifier and TypeMethod and Description
pack-priv void
pack-priv void
protected void
protected void
preClose_()

Implements abstract org.apache.derby.client.am.ClientResultSet.preClose_.

Method that is invoked by closeX() before the result set is actually being closed.
public void
public void
public void
public void
public void
public void
public void
public void
writePositioningFetch_(Section section, int orientation, long rowToFetch)

Implements abstract org.apache.derby.client.am.ClientResultSet.writePositioningFetch_.

public void
writeScrollableFetch_(Section section, int fetchSize, int orientation, long rowToFetch, boolean resetQueryBlocks)

Implements abstract org.apache.derby.client.am.ClientResultSet.writeScrollableFetch_.

Inherited from org.apache.derby.client.am.ClientResultSet:
absoluteaccumulateWarningafterLastbeforeFirstcancelRowUpdatescheckAndThrowReceivedQueryTerminatingExceptioncheckForClosedResultSetclearWarningsclosecloseXcompleteLocalCommitcompleteLocalRollbackcompleteSqlcadeleteRowearlyCloseCompleteexpandRowsetSqlcafindColumnfindColumnXfirstgetArraygetArraygetAsciiStreamgetAsciiStreamgetBigDecimalgetBigDecimalgetBigDecimalgetBigDecimalgetBinaryStreamgetBinaryStreamgetBlobgetBlobgetBooleangetBooleangetBytegetBytegetBytesgetBytesgetCharacterStreamgetCharacterStreamgetClobgetClobgetConcurrencygetConnectionCallbackInterfacegetCursorNamegetDategetDategetDategetDategetDoublegetDoublegetFetchDirectiongetFetchSizegetFloatgetFloatgetHoldabilitygetIntgetIntgetLonggetLonggetMetaDatagetNCharacterStreamgetNCharacterStreamgetNClobgetNClobgetNStringgetNStringgetObjectgetObjectgetObjectgetObjectgetObjectgetObjectgetRefgetRefgetRowgetRowCountgetRowIdgetRowIdgetRSReturnabilitygetShortgetShortgetSQLXMLgetSQLXMLgetStatementgetStatementCallbackInterfacegetStringgetStringgetTimegetTimegetTimegetTimegetTimestampgetTimestampgetTimestampgetTimestampgetTypegetUnicodeStreamgetUnicodeStreamgetURLgetURLgetWarningsinsertRowisAfterLastisBeforeFirstisClosedisFirstisLastisWrapperForlastlistenToUnitOfWorkmarkClosedOnServermarkLOBAsPublishedmoveToCurrentRowmoveToInsertRownextpreviousrefreshRowrelativerowDeletedrowInsertedrowUpdatedsetFetchDirectionsetFetchSizesetRowCountEventsetRSReturnabilitysetValidCursorPositionunwrapupdateArrayupdateArrayupdateAsciiStreamupdateAsciiStreamupdateAsciiStreamupdateAsciiStreamupdateAsciiStreamupdateAsciiStreamupdateBigDecimalupdateBigDecimalupdateBinaryStreamupdateBinaryStreamupdateBinaryStreamupdateBinaryStreamupdateBinaryStreamupdateBinaryStreamupdateBlobupdateBlobupdateBlobupdateBlobupdateBlobupdateBlobupdateBooleanupdateBooleanupdateByteupdateByteupdateBytesupdateBytesupdateCharacterStreamupdateCharacterStreamupdateCharacterStreamupdateCharacterStreamupdateCharacterStreamupdateCharacterStreamupdateClobupdateClobupdateClobupdateClobupdateClobupdateClobupdateDateupdateDateupdateDoubleupdateDoubleupdateFloatupdateFloatupdateIntupdateIntupdateLongupdateLongupdateNCharacterStreamupdateNCharacterStreamupdateNCharacterStreamupdateNCharacterStreamupdateNClobupdateNClobupdateNClobupdateNClobupdateNClobupdateNClobupdateNClobupdateNStringupdateNStringupdateNullupdateNullupdateObjectupdateObjectupdateObjectupdateObjectupdateRefupdateRefupdateRowupdateRowIdupdateRowIdupdateShortupdateShortupdateSQLXMLupdateSQLXMLupdateStringupdateStringupdateTimeupdateTimeupdateTimestampupdateTimestampwasNull

Field Detail

firstOutovrBuilt_back to summary
pack-priv boolean firstOutovrBuilt_
isFixedRowProtocolback to summary
private boolean isFixedRowProtocol
netAgent_back to summary
private final NetAgent netAgent_
netConnection_back to summary
private final NetConnection netConnection_
netCursor_back to summary
pack-priv final NetCursor netCursor_
netStatement_back to summary
private final NetStatement netStatement_

Constructor Detail

NetResultSetback to summary
pack-priv 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)

Method Detail

flowFetchback to summary
pack-priv void flowFetch() throws DisconnectException, SqlException
flowFetchToCompleteRowsetback to summary
pack-priv void flowFetchToCompleteRowset() throws DisconnectException
parseRowset_back to summary
protected void parseRowset_() throws SqlException

Implements abstract org.apache.derby.client.am.ClientResultSet.parseRowset_.

preClose_back to summary
protected void preClose_() throws SqlException

Implements abstract org.apache.derby.client.am.ClientResultSet.preClose_.

Method that is invoked by 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.

Exceptions
SqlException:

Doc from org.apache.derby.client.am.ClientResultSet.preClose_.

on error

readCursorClose_back to summary
public void readCursorClose_() throws SqlException

Implements abstract org.apache.derby.client.am.ClientResultSet.readCursorClose_.

readFetch_back to summary
public void readFetch_() throws SqlException

Implements abstract org.apache.derby.client.am.ClientResultSet.readFetch_.

readPositioningFetch_back to summary
public void readPositioningFetch_() throws SqlException

Implements abstract org.apache.derby.client.am.ClientResultSet.readPositioningFetch_.

readScrollableFetch_back to summary
public void readScrollableFetch_() throws SqlException

Implements abstract org.apache.derby.client.am.ClientResultSet.readScrollableFetch_.

setFetchSize_back to summary
public void setFetchSize_(int rows)

Implements abstract org.apache.derby.client.am.ClientResultSet.setFetchSize_.

writeCursorClose_back to summary
public void writeCursorClose_(Section section) throws SqlException

Implements abstract org.apache.derby.client.am.ClientResultSet.writeCursorClose_.

writeFetch_back to summary
public void writeFetch_(Section section) throws SqlException

Implements abstract org.apache.derby.client.am.ClientResultSet.writeFetch_.

writePositioningFetch_back to summary
public void writePositioningFetch_(Section section, int orientation, long rowToFetch) throws SqlException

Implements abstract org.apache.derby.client.am.ClientResultSet.writePositioningFetch_.

writeScrollableFetch_back to summary
public void writeScrollableFetch_(Section section, int fetchSize, int orientation, long rowToFetch, boolean resetQueryBlocks) throws SqlException

Implements abstract org.apache.derby.client.am.ClientResultSet.writeScrollableFetch_.