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.ParamResolver, P2JQuery.QueryEventListener, P2JQuery.QueryOpenedListener| 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.
|
_getNext, _isOffEnd, addAccumulator, addAccumulator, addDynamicFilter, addExternalBuffers, addQueryEventListener, addRepositionListener, backward, backward, changeForwardOnly, changeForwardOnly, cleanup, clearDynamicFilters, clearResults, 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, getDataRelation, 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, hintFullResults, include, indexInformation, indexInformation, indexInformation, isBrowsed, isDynamicPredicate, isFetchOnReposition, isFillingBrowseRows, isFindByRowid, isFirstOfGroup, isFirstOfGroup, isIndexedReposition, isIterating, isLastOfGroup, isLastOfGroup, isNativelyPreselect, isOffEnd, isPreselect, isPresort, isScrolling, isSkipDeletedRecord, isStandalone, last, last, next, next, notifyQueryCloseListeners, 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, setDataRelation, setDynamicPredicate, setErrorIfNull, setFetchOnReposition, setFillingBrowseRows, setIndexedReposition, setIterating, setLenientOffEnd, setParameterFilter, setPresort, setScrolling, setSkipDeletedRecord, setStandalone, size, unique, uniqueaddBuffer, addBuffer, addBuffer, addBuffer, bufferHandle, bufferHandle, bufferHandle, bufferHandle, bufferHandle, numBuffers, setBuffers, setBuffers, setBuffersjava.lang.Object[] peekNext()
null if there is no such result.java.lang.Object[] peekPrevious()
null if there is no such result.