Interface CandidateCellForSweeping
-
@Immutable public interface CandidateCellForSweeping
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description Cell
cell()
boolean
isLatestValueEmpty()
IfCandidateCellForSweepingRequest.shouldCheckIfLatestValueIsEmpty()
was set to true, then this method returns true if and only if the value corresponding to the last entry ofsortedTimestamps()
is empty.static CandidateCellForSweeping
of(Cell cell, Collection<Long> sortedTimestamps)
Collection<Long>
sortedTimestamps()
All start timestamps for the cell that are strictly less thanCandidateCellForSweepingRequest.maxTimestampExclusive()
and are not inCandidateCellForSweepingRequest#timestampsToIgnore()
, in ascending order.
-
-
-
Method Detail
-
cell
Cell cell()
-
sortedTimestamps
Collection<Long> sortedTimestamps()
All start timestamps for the cell that are strictly less thanCandidateCellForSweepingRequest.maxTimestampExclusive()
and are not inCandidateCellForSweepingRequest#timestampsToIgnore()
, in ascending order. If the array is empty, then the cell is not an actual candidate and is only returned for the purpose of reporting the number of examined cells.
-
isLatestValueEmpty
boolean isLatestValueEmpty()
IfCandidateCellForSweepingRequest.shouldCheckIfLatestValueIsEmpty()
was set to true, then this method returns true if and only if the value corresponding to the last entry ofsortedTimestamps()
is empty.Otherwise, the return value is undefined and depends on the implementation.
-
of
static CandidateCellForSweeping of(Cell cell, Collection<Long> sortedTimestamps)
-
-