Package io.tarantool.driver.api.cursor
Class StartAfterCursor<T extends Packable,R extends Collection<T>>
- java.lang.Object
-
- io.tarantool.driver.api.cursor.TarantoolCursorBase<T,R>
-
- io.tarantool.driver.api.cursor.StartAfterCursor<T,R>
-
- All Implemented Interfaces:
TarantoolCursor<T>
public class StartAfterCursor<T extends Packable,R extends Collection<T>> extends TarantoolCursorBase<T,R>
Cursor implementation that uses 'cluster' select method under the hood. Designed to work with cluster client.See
TarantoolCursorfor more details on cursors.
-
-
Constructor Summary
Constructors Constructor Description StartAfterCursor(TarantoolSpaceOperations<T,R> space, Conditions conditions, int batchSize, MessagePackMapper mapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanadvanceIterator()protected voidfetchNextTuples()protected TgetCurrentValue()-
Methods inherited from class io.tarantool.driver.api.cursor.TarantoolCursorBase
calcLimit, get, next
-
-
-
-
Constructor Detail
-
StartAfterCursor
public StartAfterCursor(TarantoolSpaceOperations<T,R> space, Conditions conditions, int batchSize, MessagePackMapper mapper)
-
-
Method Detail
-
fetchNextTuples
protected void fetchNextTuples() throws TarantoolClientException- Specified by:
fetchNextTuplesin classTarantoolCursorBase<T extends Packable,R extends Collection<T>>- Throws:
TarantoolClientException
-
advanceIterator
protected boolean advanceIterator()
- Specified by:
advanceIteratorin classTarantoolCursorBase<T extends Packable,R extends Collection<T>>
-
getCurrentValue
protected T getCurrentValue()
- Specified by:
getCurrentValuein classTarantoolCursorBase<T extends Packable,R extends Collection<T>>
-
-