Package io.dingodb.sdk.service.store
Class ScanIterator
java.lang.Object
io.dingodb.sdk.service.store.ScanIterator
- All Implemented Interfaces:
AutoCloseable,Iterator<KeyValue>
-
Constructor Summary
ConstructorsConstructorDescriptionScanIterator(StoreServiceConnector connector, Supplier<Context> contextSupplier, Common.RangeWithOptions range, boolean key_only, int retryTimes, Coprocessor coprocessor) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Constructor Details
-
ScanIterator
public ScanIterator(StoreServiceConnector connector, Supplier<Context> contextSupplier, Common.RangeWithOptions range, boolean key_only, int retryTimes, Coprocessor coprocessor)
-
-
Method Details
-
scanBegin
public com.google.protobuf.ByteString scanBegin() -
scanContinue
public void scanContinue() -
scanRelease
public void scanRelease() -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
finalize
-
hasNext
public boolean hasNext() -
next
-