public class OffsetCursor<T extends Packable,R extends Collection<T>> extends TarantoolCursorBase<T,R>
Note: it is possible to use this class with standalone server only.
See TarantoolCursor
for more details on cursors.
Constructor and Description |
---|
OffsetCursor(TarantoolSpaceOperations<T,R> space,
Conditions conditions,
int batchSize) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
advanceIterator() |
protected void |
fetchNextTuples()
Perform a call o server for fetching the next batch.
|
protected T |
getCurrentValue() |
calcLimit, get, next
public OffsetCursor(TarantoolSpaceOperations<T,R> space, Conditions conditions, int batchSize)
protected void fetchNextTuples() throws TarantoolClientException
fetchNextTuples
in class TarantoolCursorBase<T extends Packable,R extends Collection<T>>
TarantoolClientException
- if select query was interrupted by client.protected boolean advanceIterator()
advanceIterator
in class TarantoolCursorBase<T extends Packable,R extends Collection<T>>
protected T getCurrentValue()
getCurrentValue
in class TarantoolCursorBase<T extends Packable,R extends Collection<T>>
Copyright © 2025 Picodata. All rights reserved.