Package com.apple.foundationdb.record.cursors
Cursor implementation classes.
-
Interface Summary Interface Description BaseCursor<T> A tag interface for "base" cursors which read records directly from the database. -
Class Summary Class Description AsyncIteratorCursor<T> A cursor that returns the elements of anAsyncIterator
.AutoContinuingCursor<T> A cursor that can iterate over a cursor across transactions.ChainedCursor<T> A cursor that iterates over a set of data that is dynamically generated a single value at a time.ConcatCursor<T> A cursor that returns the elements of a first cursor followed by the elements of a second cursor.CursorLimitManager Handles the logic of tracking various out-of-band limits on aBaseCursor
.EmptyCursor<T> ARecordCursor
that always returns zero items.FilterCursor<T> A cursor that filters elements using a predicate.FlatMapPipelinedCursor<T,V> A cursor that maps elements to another cursor which is then flattened.FutureCursor<T> A cursor that returns a single element when a future completes.IllegalContinuationAccessChecker Check thatRecordCursor.getContinuation()
is only called when allowed.IteratorCursor<T> A cursor that returns the elements of an ordinary synchronous iterator.LazyCursor<T> Wraps a future that supplies a record cursor.ListCursor<T> A cursor that returns the elements of a list.MapCursor<T,V> A cursor that applies a function to the elements of another cursor.MapPipelinedCursor<T,V> A cursor that applies an asynchronous function to the elements of another cursor.MapWhileCursor<T,V> ARecordCursor
that calls a function that maps the value and can stop the cursor.OrElseCursor<T> A cursor that returns the elements of one cursor followed by the elements of another cursor if the first was empty.RowLimitedCursor<T> A cursor that limits the number of elements that it allows through.SkipCursor<T> A cursor that skips a specified number of initial elements. -
Enum Summary Enum Description MapWhileCursor.StopContinuation What to return forMapWhileCursor.getContinuation()
after stopping.