Class KvFileCollator.KvFileCollatorPruneDeletesScanner

java.lang.Object
io.datarouter.scanner.BaseScanner<KvFileEntry>
io.datarouter.scanner.BaseLinkedScanner<KvFileEntry,KvFileEntry>
io.datarouter.bytes.kvfile.read.KvFileCollator.KvFileCollatorPruneDeletesScanner
All Implemented Interfaces:
io.datarouter.scanner.Scanner<KvFileEntry>, Closeable, AutoCloseable
Enclosing class:
KvFileCollator

public static class KvFileCollator.KvFileCollatorPruneDeletesScanner extends io.datarouter.scanner.BaseLinkedScanner<KvFileEntry,KvFileEntry>
Assumes non-null entries. Assumes inputs are sorted by version asc. Keep the last entry for each key, the one with the latest version.
  • Field Summary

    Fields inherited from class io.datarouter.scanner.BaseLinkedScanner

    closed, input

    Fields inherited from class io.datarouter.scanner.BaseScanner

    current
  • Constructor Summary

    Constructors
    Constructor
    Description
    KvFileCollatorPruneDeletesScanner(io.datarouter.scanner.Scanner<KvFileEntry> input)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     

    Methods inherited from class io.datarouter.scanner.BaseLinkedScanner

    advance, close, closeInternal

    Methods inherited from class io.datarouter.scanner.BaseScanner

    current

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.datarouter.scanner.Scanner

    advanceUntil, advanceWhile, allMatch, anyMatch, append, append, append, apply, batch, batchByMinSize, collate, collate, collateV2, collect, collect, concat, concatIter, concatOpt, count, countInt, deduplicateConsecutive, deduplicateConsecutiveBy, deduplicateConsecutiveBy, distinct, distinctBy, each, exclude, findFirst, findLast, findMax, findMin, flush, forEach, groupBy, groupBy, groupBy, groupBy, hasAny, include, isEmpty, iterable, iterator, limit, link, list, listTo, map, maxN, merge, minN, next, noneMatch, parallelOrdered, parallelUnordered, peekFirst, periodic, periodic, prefetch, reduce, reduce, retain, reverse, sample, shuffle, skip, sort, sort, splitBy, splitBy, stream, streamDoubles, streamInts, streamLongs, take, then, timeNanos, toArray, toMap, toMap, toMap, toMap, toMap, toMapSupplied, toMapSupplied, toMapSupplied, toMapSupplied
  • Constructor Details

    • KvFileCollatorPruneDeletesScanner

      public KvFileCollatorPruneDeletesScanner(io.datarouter.scanner.Scanner<KvFileEntry> input)
  • Method Details

    • advanceInternal

      public boolean advanceInternal()
      Specified by:
      advanceInternal in class io.datarouter.scanner.BaseLinkedScanner<KvFileEntry,KvFileEntry>