public class CursorResultSet extends Cursor
JDBC4ResultSet.ResultSetClass| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isServerSide
When COM_STMT_PREPARE_EXECUTE protocol is supported
and URL option "useCursorOffset" which controls OB_Oracle_Fetch protocol are activated,
a scrollable cursor is used on server side.
|
columnIndexOffset, columnInformationLength, columnLabelIndexer, columnsInformation, complexData, complexEndPos, connection, data, dataSize, discardedRows, fetchSize, forceAlias, isClosed, isEof, isLastRowSent, isModified, lastRowPointer, noBackslashEscapes, notInsertRowPointer, options, protocol, reader, resultSetConcurType, resultSetScrollType, row, rowPointer, state, STATE_INSERT, STATE_STANDARD, STATE_UPDATE, STATE_UPDATED, statement, timeZone, TINYINT1_IS_BIT, UpdatableResultSet_12, YEAR_IS_DATE_TYPECLOSE_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| Constructor and Description |
|---|
CursorResultSet(ColumnDefinition[] columnsInformation,
Results results,
Protocol protocol,
boolean callableResult,
boolean eofDeprecated,
boolean isPsOutParamter) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
absolute(int row) |
void |
afterLast() |
void |
beforeFirst() |
protected void |
cursorFetch() |
boolean |
first() |
protected void |
getCursorFetchData(int tmpFetchSize) |
int |
getRow() |
boolean |
isAfterLast() |
boolean |
isBeforeFirst() |
boolean |
isFirst() |
boolean |
isLast() |
boolean |
last() |
boolean |
next() |
boolean |
previous() |
boolean |
relative(int rows) |
abort, addRowData, assign, cancelRowInserts, cancelRowUpdates, changeRowProtocol, checkClose, checkRefreshable, clearWarnings, close, createEmptyResultSet, createGeneratedData, createResultSet, deleteCurrentRowData, deleteRow, fetchRemaining, findColumn, getArray, getArray, getAsciiStream, getAsciiStream, getBigDecimal, getBigDecimal, getBigDecimal, getBigDecimal, getBinaryStream, getBinaryStream, getBlob, getBlob, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getCharacterStream, getCharacterStream, getClob, getClob, getColumnsInformation, getComplex, getComplexCursor, getConcurrency, getCurrentRowData, getCursorName, getDataSize, getDate, getDate, getDate, getDate, getDouble, getDouble, getFetchDirection, getFetchSize, getFloat, getFloat, getHoldability, getInt, getInt, getINTERVALDS, getINTERVALDS, getINTERVALYM, getINTERVALYM, getLong, getLong, getMetaData, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, getNUMBER, getNUMBER, getObject, getObject, getObject, getObject, getObject, getObject, getProtocol, getRef, getRef, getRowId, getRowId, getRowPointer, getRsClass, getShort, getShort, getSQLXML, getSQLXML, getStatement, getString, getString, getStruct, getStruct, getTime, getTime, getTime, getTime, getTimestamp, getTIMESTAMP, getTimestamp, getTimestamp, getTIMESTAMP, getTimestamp, getTIMESTAMPLTZ, getTIMESTAMPLTZ, getTIMESTAMPTZ, getTIMESTAMPTZ, getType, getUnicodeStream, getUnicodeStream, getURL, getURL, getWarnings, handleIoException, insertRow, isBinaryEncoded, isCallableResult, isClosed, isEof, isFullyLoaded, isPsOutParameter, isValidRow, isWrapperFor, moveToCurrentRow, moveToInsertRow, readNextValue, refreshRow, refreshRowInternalOracle, resetState, rowDeleted, rowInserted, rowUpdated, setComplexData, setFetchDirection, setFetchSize, setForceTableAlias, setProtocol, setRowPointer, setStatement, unwrap, updateArray, updateArray, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateBigDecimal, updateBigDecimal, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBlob, 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, updateNString, updateNString, updateNull, updateNull, updateObject, updateObject, updateObject, updateObject, updateObject, updateRef, updateRef, updateRow, updateRowData, updateRowId, updateRowId, updateShort, updateShort, updateSQLXML, updateSQLXML, updateString, updateString, updateTime, updateTime, updateTimestamp, updateTimestamp, wasNullclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitupdateObject, updateObject, updateObjectprotected boolean isServerSide
public CursorResultSet(ColumnDefinition[] columnsInformation, Results results, Protocol protocol, boolean callableResult, boolean eofDeprecated, boolean isPsOutParamter) throws IOException, SQLException
IOExceptionSQLExceptionprotected void cursorFetch()
throws SQLException
cursorFetch in class CursorSQLExceptionprotected void getCursorFetchData(int tmpFetchSize)
throws IOException,
SQLException
IOExceptionSQLExceptionpublic boolean isBeforeFirst()
throws SQLException
isBeforeFirst in interface ResultSetisBeforeFirst in class JDBC4ResultSetSQLExceptionpublic boolean isAfterLast()
throws SQLException
isAfterLast in interface ResultSetisAfterLast in class JDBC4ResultSetSQLExceptionpublic boolean isFirst()
throws SQLException
isFirst in interface ResultSetisFirst in class JDBC4ResultSetSQLExceptionpublic boolean isLast()
throws SQLException
isLast in interface ResultSetisLast in class JDBC4ResultSetSQLExceptionpublic void beforeFirst()
throws SQLException
beforeFirst in interface ResultSetbeforeFirst in class JDBC4ResultSetSQLExceptionpublic void afterLast()
throws SQLException
afterLast in interface ResultSetafterLast in class JDBC4ResultSetSQLExceptionpublic boolean first()
throws SQLException
first in interface ResultSetfirst in class JDBC4ResultSetSQLExceptionpublic boolean last()
throws SQLException
last in interface ResultSetlast in class JDBC4ResultSetSQLExceptionpublic boolean absolute(int row)
throws SQLException
absolute in interface ResultSetabsolute in class JDBC4ResultSetSQLExceptionpublic boolean relative(int rows)
throws SQLException
relative in interface ResultSetrelative in class JDBC4ResultSetSQLExceptionpublic boolean previous()
throws SQLException
previous in interface ResultSetprevious in class JDBC4ResultSetSQLExceptionpublic boolean next()
throws SQLException
next in interface ResultSetnext in class JDBC4ResultSetSQLExceptionpublic int getRow()
throws SQLException
getRow in interface ResultSetgetRow in class JDBC4ResultSetSQLExceptionCopyright © 2022 oceanbase.com. All rights reserved.