Class ScanIterator

  • All Implemented Interfaces:
    Iterator<org.tikv.kvproto.Kvrpcpb.KvPair>

    public abstract class ScanIterator
    extends Object
    implements Iterator<org.tikv.kvproto.Kvrpcpb.KvPair>
    Copied from https://github.com/tikv/client-java project to fix https://github.com/tikv/client-java/issues/600 for 3.2.0 version.

    Line 107 : Use `currentCache.size() > scanLimit` instead of `currentCache.size() > limit`.

    • Field Detail

      • conf

        protected final org.tikv.common.TiConfiguration conf
      • builder

        protected final org.tikv.common.region.RegionStoreClient.RegionStoreClientBuilder builder
      • currentCache

        protected List<org.tikv.kvproto.Kvrpcpb.KvPair> currentCache
      • startKey

        protected org.tikv.shade.com.google.protobuf.ByteString startKey
      • index

        protected int index
      • limit

        protected int limit
      • keyOnly

        protected boolean keyOnly
      • endOfScan

        protected boolean endOfScan
      • endKey

        protected org.tikv.common.key.Key endKey
      • hasEndKey

        protected boolean hasEndKey
      • processingLastBatch

        protected boolean processingLastBatch