| |
|
| java.lang.Object org.apache.derby.client.am.Cursor org.apache.derby.client.net.NetCursor
All known Subclasses: org.apache.derby.client.net.NetSqldta,
blocking_ | boolean blocking_(Code) | | |
isGraphic_ | boolean[] isGraphic_(Code) | | |
maximumRowSize_ | int maximumRowSize_(Code) | | |
numMddOverrides_ | int numMddOverrides_(Code) | | |
rtnextrow_ | boolean rtnextrow_(Code) | | |
targetSqlamForTypdef_ | int targetSqlamForTypdef_(Code) | | |
typeToUseForComputingDataLength_ | int[] typeToUseForComputingDataLength_(Code) | | |
allocateColumnOffsetAndLengthArrays | void allocateColumnOffsetAndLengthArrays()(Code) | | |
allocateDataBuffer | protected void allocateDataBuffer()(Code) | | |
allocateDataBuffer | protected void allocateDataBuffer(int length)(Code) | | |
calculateColumnOffsetsForRow_ | protected boolean calculateColumnOffsetsForRow_(int rowIndex, boolean allowServerFetch) throws SqlException, DisconnectException(Code) | | Calculate the column offsets for a row.
Pseudo-code:
- parse thru the current row in dataBuffer computing column
offsets
- if (we hit the super.lastValidBytePosition, ie. encounter
partial row)
- shift partial row bytes to beginning of dataBuffer
(this.shiftPartialRowToBeginning())
- reset current row position (also done by
this.shiftPartialRowToBeginning())
- send and recv continue-query into commBuffer
(rs.flowContinueQuery())
- parse commBuffer up to QRYDTA
(rs.flowContinueQuery())
- copy query data from reply's commBuffer to our
dataBuffer (this.copyQrydta())
Parameters: rowIndex - row index Parameters: allowServerFetch - if true, allow fetching more data fromserver true if the current row position is avalid row position. exception: SqlException - exception: DisconnectException - |
calculateLobColumnPositionsForRow | void calculateLobColumnPositionsForRow()(Code) | | |
clearLobData_ | protected void clearLobData_()(Code) | | |
ensureSpaceForDataBuffer | int ensureSpaceForDataBuffer(int ddmLength)(Code) | | |
findExtdtaData | protected byte[] findExtdtaData(int column)(Code) | | |
getClobBytes_ | public byte[] getClobBytes_(int column, int[] dataOffset) throws SqlException(Code) | | |
getDecimalLength | protected int getDecimalLength(int index)(Code) | | |
getQryclsimpEnabled | final boolean getQryclsimpEnabled()(Code) | | Check whether QRYCLSIMP is enabled on this cursor.
true if QRYCLSIMP is enabled |
isDataBufferNull | protected boolean isDataBufferNull()(Code) | | |
isNonTrivialDataLob | boolean isNonTrivialDataLob(int index)(Code) | | |
nullDataForGC | public void nullDataForGC()(Code) | | |
scanDataBufferForEndOfData | void scanDataBufferForEndOfData() throws SqlException(Code) | | Scan the data buffer to see if end of data (SQL state 02000)
has been received. This method should only be called when the
cursor is being closed since the pointer to the current row can
be modified.
exception: SqlException - |
setAllRowsReceivedFromServer | final public void setAllRowsReceivedFromServer(boolean b)(Code) | | Set the value of value of allRowsReceivedFromServer_.
Parameters: b - a boolean value indicating whether allrows are received from the server |
setBlocking | void setBlocking(int queryProtocolType)(Code) | | |
setQryclsimpEnabled | final void setQryclsimpEnabled(boolean flag)(Code) | | Set a flag indicating whether QRYCLSIMP is enabled.
Parameters: flag - true if QRYCLSIMP is enabled |
|
|
|