interface Scrollable extends P2JQuery
Cursor
class must implement this interface. The methods allow a
cursor to fetch new records forward and backward to expand a progressively
updated results list.P2JQuery.Parameter, P2JQuery.QueryOpenedListener, P2JQuery.QueryOpenListener
Modifier and Type | Method and Description |
---|---|
java.lang.Object[] |
peekNext()
Fetch the array of primary key IDs associated with the next result in
this query's result list.
|
java.lang.Object[] |
peekPrevious()
Fetch the array of primary key IDs associated with the previous result
in this query's result list.
|
_isOffEnd, addAccumulator, addAccumulator, addDynamicFilter, addExternalBuffers, addQueryOpenListener, addRepositionListener, backward, backward, changeForwardOnly, changeForwardOnly, cleanup, clearDynamicFilters, close, close, createResultListEntry, current, current, currentRow, currentRowImpl, deleteResultListEntry, deleteResultListEntry, exclude, first, first, forward, forward, forwardOnly, getBasicLogging, getCache, getCurrent, getCurrent, getCurrent, getCurrent, getCurrent, getCurrent, getCurrent, getCurrent, getFirst, getFirst, getFirst, getFirst, getFirst, getFirst, getFirst, getFirst, getJoin, getLast, getLast, getLast, getLast, getLast, getLast, getLast, getLast, getNext, getNext, getNext, getNext, getNext, getNext, getNext, getNext, getNumResults, getOffEnd, getOffEndListeners, getPrevious, getPrevious, getPrevious, getPrevious, getPrevious, getPrevious, getPrevious, getPrevious, getRecordBuffers, getTableCount, hasAny, hasAny, hasAny, hasAny, hasOne, hasOne, hasOne, hasOne, include, indexInformation, indexInformation, indexInformation, isBrowsed, isDynamicPredicate, isFetchOnReposition, isFillingBrowseRows, isFindByRowid, isFirstOfGroup, isFirstOfGroup, isIndexedReposition, isLastOfGroup, isLastOfGroup, isNativelyPreselect, isOffEnd, isPreselect, isScrolling, isSkipDeletedRecord, isStandalone, last, last, next, next, notifyQueryOpenListeners, notifyRepositionListeners, open, prepare, prepare, prepareString, previous, previous, queryBackward, queryBackward, queryClose, queryForward, queryForward, queryOpen, queryReposition, queryReposition, queryRepositionByID, queryRepositionByID, releaseBuffers, removeRepositionListener, reposition, reposition, repositionByID, repositionByID, repositionByID, resetQuery, setBasicLogging, setBasicLogging, setBrowsed, setCache, setCache, setDynamicPredicate, setErrorIfNull, setFetchOnReposition, setFillingBrowseRows, setIndexedReposition, setParameterFilter, setScrolling, setSkipDeletedRecord, setStandalone, size, unique, unique
addBuffer, addBuffer, addBuffer, addBuffer, bufferHandle, bufferHandle, bufferHandle, bufferHandle, bufferHandle, numBuffers, setBuffers, setBuffers, setBuffers
java.lang.Object[] peekNext()
null
if there is no such result.java.lang.Object[] peekPrevious()
null
if there is no such result.