Class SweepResults


  • @Immutable
    public abstract class SweepResults
    extends Object
    • Constructor Detail

      • SweepResults

        public SweepResults()
    • Method Detail

      • getPreviousStartRowNullable

        @Nullable
        protected abstract byte[] getPreviousStartRowNullable()
      • getNextStartRowNullable

        @Nullable
        protected abstract byte[] getNextStartRowNullable()
      • getPreviousStartRow

        public Optional<byte[]> getPreviousStartRow()
      • getNextStartRow

        public Optional<byte[]> getNextStartRow()
      • getCellTsPairsExamined

        public abstract long getCellTsPairsExamined()
        The approximate number of (cell, timestamp) pairs examined.
      • getStaleValuesDeleted

        public abstract long getStaleValuesDeleted()
        The number of (cell, timestamp) pairs deleted.
      • getMinSweptTimestamp

        public abstract long getMinSweptTimestamp()
        The minimum sweep timestamp while sweeping this table.
      • getTimeInMillis

        public abstract long getTimeInMillis()
        Time spent sweeping this iteration in milliseconds.
      • getTimeSweepStarted

        @Auxiliary
        public abstract long getTimeSweepStarted()
        Time in milliseconds when we started sweeping this table.
      • getTimeElapsedSinceStartedSweeping

        public long getTimeElapsedSinceStartedSweeping()
      • accumulateWith

        public SweepResults accumulateWith​(SweepResults other)
        Returns a new SweepResults representing cumulative results from this instance and other. The operation is commutative.
      • createEmptySweepResultWithMoreToSweep

        public static SweepResults createEmptySweepResultWithMoreToSweep()
      • createEmptySweepResultWithNoMoreToSweep

        public static SweepResults createEmptySweepResultWithNoMoreToSweep()
      • createEmptySweepResult

        public static SweepResults createEmptySweepResult​(Optional<byte[]> startRow)