public class View
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.Set<SSTableReader> |
compacting |
java.util.List<Memtable> |
flushingMemtables
contains all memtables that are no longer referenced for writing and are queued for / in the process of being
flushed.
|
SSTableIntervalTree |
intervalTree |
java.util.List<Memtable> |
liveMemtables
ordinarily a list of size 1, but when preparing to flush will contain both the memtable we will flush
and the new replacement memtable, until all outstanding write operations on the old table complete.
|
java.util.Set<SSTableReader> |
premature |
java.util.Set<SSTableReader> |
sstables |
java.util.Map<SSTableReader,SSTableReader> |
sstablesMap |
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<Memtable> |
getAllMemtables() |
Memtable |
getCurrentMemtable() |
java.lang.Iterable<SSTableReader> |
getUncompacting(java.lang.Iterable<SSTableReader> candidates) |
com.google.common.collect.Sets.SetView<SSTableReader> |
nonCompactingSStables() |
java.util.List<SSTableReader> |
sstablesInBounds(RowPosition left,
RowPosition right)
Returns the sstables that have any partition between
left and right , when both bounds are taken inclusively. |
static java.util.List<SSTableReader> |
sstablesInBounds(RowPosition left,
RowPosition right,
SSTableIntervalTree intervalTree) |
java.lang.String |
toString() |
public final java.util.List<Memtable> liveMemtables
public final java.util.List<Memtable> flushingMemtables
public final java.util.Set<SSTableReader> compacting
public final java.util.Set<SSTableReader> sstables
public final java.util.Set<SSTableReader> premature
public final java.util.Map<SSTableReader,SSTableReader> sstablesMap
public final SSTableIntervalTree intervalTree
public Memtable getCurrentMemtable()
public java.lang.Iterable<Memtable> getAllMemtables()
public com.google.common.collect.Sets.SetView<SSTableReader> nonCompactingSStables()
public java.lang.Iterable<SSTableReader> getUncompacting(java.lang.Iterable<SSTableReader> candidates)
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.List<SSTableReader> sstablesInBounds(RowPosition left, RowPosition right)
left
and right
, when both bounds are taken inclusively.
The interval formed by left
and right
shouldn't wrap.public static java.util.List<SSTableReader> sstablesInBounds(RowPosition left, RowPosition right, SSTableIntervalTree intervalTree)
Copyright © 2019 The Apache Software Foundation