@InterfaceAudience.Private public class MemStoreSnapshot extends Object implements Closeable
| 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() |
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–2018 The Apache Software Foundation. All rights reserved.