@InterfaceAudience.Private public class MemStoreSnapshot extends Object implements Closeable
| Modifier and Type | Field and Description |
|---|---|
private int |
cellsCount |
private long |
id |
private MemStoreSize |
memStoreSize |
private List<KeyValueScanner> |
scanners |
private boolean |
tagsPresent |
private TimeRangeTracker |
timeRangeTracker |
| Constructor and Description |
|---|
MemStoreSnapshot(long id,
ImmutableSegment snapshot) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
getCellsCount() |
long |
getDataSize() |
long |
getId() |
MemStoreSize |
getMemStoreSize() |
List<KeyValueScanner> |
getScanners() |
TimeRangeTracker |
getTimeRangeTracker() |
boolean |
isTagsPresent() |
private final long id
private final int cellsCount
private final MemStoreSize memStoreSize
private final TimeRangeTracker timeRangeTracker
private final List<KeyValueScanner> scanners
private final boolean tagsPresent
public MemStoreSnapshot(long id, ImmutableSegment snapshot)
public long getId()
public int getCellsCount()
public long getDataSize()
public MemStoreSize getMemStoreSize()
public TimeRangeTracker getTimeRangeTracker()
TimeRangeTracker for all the Cells in the snapshot.public List<KeyValueScanner> getScanners()
KeyValueScanner for iterating over the snapshotpublic boolean isTagsPresent()
public void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.