public class TnFetchAssistResultSet extends PlainResultSetWrapper
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected boolean |
_db2
Is the database DB2?
|
protected FetchBean |
_fetchBean
The bean of fetch.
|
protected long |
_fetchCounter
The counter of fetch.
|
protected FetchNarrowingBean |
_fetchNarrowingBean
The bean of fetch narrowing.
|
protected boolean |
_limitByCursorForcedly
Does it limit by cursor forcedly?
|
protected boolean |
_offsetByCursorForcedly
Does it offset by cursor forcedly?
|
protected long |
_requestCounter
the counter of request.
|
protected ResultSet |
_resultSet
The real result set.
|
protected boolean |
_safetyCheckValid
Is the safety check valid?
|
protected int |
_safetyResultMaxSize
The max size of safety result.
|
protected boolean |
_skipToCursorEnd
Does it skip to cursor end?
|
CLOSE_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| コンストラクタと説明 |
|---|
TnFetchAssistResultSet(ResultSet resultSet,
FetchBean fetchBean,
boolean offsetByCursorForcedly,
boolean limitByCursorForcedly)
Constructor.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected void |
checkSafetyResult(boolean hasNext) |
protected SQLExceptionHandler |
createSQLExceptionHandler() |
protected SQLExceptionResource |
createSQLExceptionResource() |
protected int |
getFetchNarrowingLoopCount()
Get the loop count of fetch narrowing.
|
protected int |
getFetchNarrowingSkipStartIndex()
Get the skip start index of fetch narrowing.
|
protected void |
handleSQLException(SQLException e,
SQLExceptionResource resource) |
protected boolean |
isAvailableLimitLoopCount() |
protected boolean |
isAvailableSkipRecord() |
protected boolean |
isFetchNarrowingEffective()
Is the fetch narrowing effective?
|
protected boolean |
isFetchNarrowingLoopCountEffective()
Is the loop count of fetch narrowing effective?
|
protected boolean |
isFetchNarrowingSkipStartIndexEffective()
Is the skip start index of fetch narrowing effective?
|
boolean |
isLimitByCursorForcedly() |
boolean |
isOffsetByCursorForcedly() |
protected boolean |
isScrollableCursor() |
boolean |
isSkipToCursorEnd() |
boolean |
next()
Move to the next record.
|
protected void |
skip()
Skip to the point at start index.
|
protected void |
throwFetchingOverSafetySizeException() |
absolute, afterLast, beforeFirst, cancelRowUpdates, clearWarnings, close, deleteRow, findColumn, first, getArray, getArray, getAsciiStream, getAsciiStream, getBigDecimal, getBigDecimal, getBigDecimal, getBigDecimal, getBinaryStream, getBinaryStream, getBlob, getBlob, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getCharacterStream, getCharacterStream, getClob, getClob, getConcurrency, 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, getRowId, getRowId, getShort, getShort, getSQLXML, getSQLXML, getStatement, getString, getString, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getType, getUnicodeStream, getUnicodeStream, getURL, getURL, getWarnings, insertRow, isAfterLast, isBeforeFirst, isClosed, isFirst, isLast, isWrapperFor, last, moveToCurrentRow, moveToInsertRow, previous, refreshRow, relative, rowDeleted, rowInserted, rowUpdated, setFetchDirection, setFetchSize, 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, updateNString, updateNString, updateNull, updateNull, updateObject, updateObject, updateObject, updateObject, updateRef, updateRef, updateRow, updateRowId, updateRowId, updateShort, updateShort, updateSQLXML, updateSQLXML, updateString, updateString, updateTime, updateTime, updateTimestamp, updateTimestamp, wasNullclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitupdateObject, updateObject, updateObject, updateObjectprotected final ResultSet _resultSet
protected final FetchBean _fetchBean
protected final int _safetyResultMaxSize
protected final boolean _safetyCheckValid
protected final FetchNarrowingBean _fetchNarrowingBean
protected final boolean _offsetByCursorForcedly
protected final boolean _limitByCursorForcedly
protected long _fetchCounter
protected long _requestCounter
protected boolean _skipToCursorEnd
protected final boolean _db2
public TnFetchAssistResultSet(ResultSet resultSet, FetchBean fetchBean, boolean offsetByCursorForcedly, boolean limitByCursorForcedly)
resultSet - Original result set. (NotNull)fetchBean - The fetch-bean. (NotNull)offsetByCursorForcedly - Offset by cursor forcedly.limitByCursorForcedly - Limit by cursor forcedly.protected void skip()
protected boolean isAvailableSkipRecord()
public boolean next()
throws SQLException
next インタフェース内 ResultSetnext クラス内 PlainResultSetWrapperSQLException - When it fails to handle the SQL.protected boolean isAvailableLimitLoopCount()
protected void checkSafetyResult(boolean hasNext)
protected void throwFetchingOverSafetySizeException()
protected boolean isFetchNarrowingEffective()
protected boolean isFetchNarrowingSkipStartIndexEffective()
protected boolean isFetchNarrowingLoopCountEffective()
protected int getFetchNarrowingSkipStartIndex()
protected int getFetchNarrowingLoopCount()
protected boolean isScrollableCursor()
protected void handleSQLException(SQLException e, SQLExceptionResource resource)
protected SQLExceptionHandler createSQLExceptionHandler()
protected SQLExceptionResource createSQLExceptionResource()
public boolean isOffsetByCursorForcedly()
public boolean isLimitByCursorForcedly()
public boolean isSkipToCursorEnd()
Copyright © 2014–2015 The DBFlute Project. All rights reserved.