@InterfaceAudience.Private public abstract class CompactionWindow extends Object
Constructor and Description |
---|
CompactionWindow() |
Modifier and Type | Method and Description |
---|---|
abstract int |
compareToTimestamp(long timestamp)
Compares the window to a timestamp.
|
abstract long |
endMillis()
Exclusive upper bound
|
abstract CompactionWindow |
nextEarlierWindow()
Move to the new window of the same tier or of the next tier, which represents an earlier time
span.
|
abstract long |
startMillis()
Inclusive lower bound
|
String |
toString() |
public CompactionWindow()
public abstract int compareToTimestamp(long timestamp)
timestamp
- the timestamp to compare.public abstract CompactionWindow nextEarlierWindow()
public abstract long startMillis()
public abstract long endMillis()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.