Cursor.ThreadContextObjectInputStreamagent_, ALLOW_THREADCONTEXT_CLASSLOADER, BYTES, ccsid_, charsetName_, columnDataComputedLength_, columnDataIsNullCache_, columnDataLengthCache_, columnDataPosition_, columnDataPositionCache_, columns_, currentRowPosition_, dataBuffer_, dataBufferStream_, DBCS_CLOB, fdocaLength_, hasLobs_, isNull_, isUpdateDeleteHole_, isUpdateDeleteHoleCache_, jdbcTypes_, lastValidBytePosition_, locatorProcs_, MBCS_CLOB, NULL_TERMINATED_BYTES, NULL_TERMINATED_STRING, nullable_, position_, ROW_IS_NOT_NULL, ROW_IS_NULL, SBCS_CLOB, STRING, VARIABLE_BYTES, VARIABLE_SHORT_BYTES, VARIABLE_SHORT_STRING, VARIABLE_STRING| Modifier and Type | Method and Description |
|---|---|
protected void |
allocateDataBuffer() |
protected void |
allocateDataBuffer(int length) |
protected boolean |
calculateColumnOffsetsForRow_(int rowIndex,
boolean allowServerFetch)
Calculate the column offsets for a row.
|
protected void |
clearLobData_() |
protected byte[] |
findExtdtaData(int column) |
Blob |
getBlobColumn_(int column,
Agent agent,
boolean toBePublished)
Returns a
Blob object. |
byte[] |
getClobBytes_(int column,
int[] dataOffset) |
Clob |
getClobColumn_(int column,
Agent agent,
boolean toBePublished)
Returns a
Clob object. |
protected String |
getColumnLabel(int column) |
protected int |
getDecimalLength(int index) |
protected void |
getMoreData_() |
protected boolean |
isDataBufferNull() |
protected int |
locator(int column)
Get locator for LOB of the designated column
|
void |
nullDataForGC() |
void |
setAllRowsReceivedFromServer(boolean b)
Set the value of value of allRowsReceivedFromServer_.
|
allocateCharBuffer, allRowsReceivedFromServer, currentRowPositionIsEqualToNextRowPosition, dataBufferHasUnprocessedData, get_INTEGER, getArray, getAsciiStream, getBinaryStream, getBlob, getCharacterStream, getClob, getDataBuffer, getDataBufferLength, getIsRowUpdated, getIsUpdateDeleteHole, getLastValidBytePosition, getObject, getRef, getUnicodeStream, incrementRowsReadEvent, makeNextRowPositionCurrent, markCurrentRowPosition, markNextRowPosition, next, resetDataBuffer, setBuffer, setIsRowUpdated, setIsUpdataDeleteHole, setNumberOfColumns, stepNextprotected boolean calculateColumnOffsetsForRow_(int rowIndex,
boolean allowServerFetch)
throws SqlException,
DisconnectException
Pseudo-code:
calculateColumnOffsetsForRow_ in class CursorrowIndex - row indexallowServerFetch - if true, allow fetching more data from
servertrue if the current row position is a
valid row position.SqlExceptionDisconnectExceptionprotected boolean isDataBufferNull()
protected void allocateDataBuffer()
protected void allocateDataBuffer(int length)
protected void clearLobData_()
clearLobData_ in class Cursorprotected byte[] findExtdtaData(int column)
protected int locator(int column)
Note that this method cannot be invoked on a LOB column that is NULL.
protected final String getColumnLabel(int column) throws SqlException
getColumnLabel in class CursorSqlExceptionpublic Blob getBlobColumn_(int column, Agent agent, boolean toBePublished) throws SqlException
CursorBlob object.getBlobColumn_ in class Cursorcolumn - 1-based column indexagent - associated agenttoBePublished - whether the Blob will be published to the userSqlException - if getting the Blob failsCursor.getBlobColumn_(int, com.pivotal.gemfirexd.internal.client.am.Agent, boolean)public Clob getClobColumn_(int column, Agent agent, boolean toBePublished) throws SqlException
CursorClob object.getClobColumn_ in class Cursorcolumn - 1-based column indexagent - associated agenttoBePublished - whether the Clob will be published to the userSqlException - if getting the Clob failsCursor.getClobColumn_(int, com.pivotal.gemfirexd.internal.client.am.Agent, boolean)public byte[] getClobBytes_(int column,
int[] dataOffset)
throws SqlException
getClobBytes_ in class CursorSqlExceptionprotected void getMoreData_()
throws SqlException
getMoreData_ in class CursorSqlExceptionpublic void nullDataForGC()
nullDataForGC in class Cursorprotected int getDecimalLength(int index)
public final void setAllRowsReceivedFromServer(boolean b)
setAllRowsReceivedFromServer in class Cursorb - a boolean value indicating whether all
rows are received from the serverCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.