@InterfaceAudience.Private public class MemStoreSnapshot extends Object implements Closeable
| 构造器和说明 |
|---|
MemStoreSnapshot(long id,
ImmutableSegment snapshot) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 Closeableclose 在接口中 AutoCloseableCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.