@InterfaceAudience.Private public class MemStoreSnapshot extends Object
Modifier and Type | Field and Description |
---|---|
private int |
cellsCount |
private long |
id |
private KeyValueScanner |
scanner |
private long |
size |
private boolean |
tagsPresent |
private TimeRangeTracker |
timeRangeTracker |
Constructor and Description |
---|
MemStoreSnapshot(long id,
int cellsCount,
long size,
TimeRangeTracker timeRangeTracker,
KeyValueScanner scanner,
boolean tagsPresent) |
Modifier and Type | Method and Description |
---|---|
int |
getCellsCount() |
long |
getId() |
KeyValueScanner |
getScanner() |
long |
getSize() |
TimeRangeTracker |
getTimeRangeTracker() |
boolean |
isTagsPresent() |
private final long id
private final int cellsCount
private final long size
private final TimeRangeTracker timeRangeTracker
private final KeyValueScanner scanner
private final boolean tagsPresent
public MemStoreSnapshot(long id, int cellsCount, long size, TimeRangeTracker timeRangeTracker, KeyValueScanner scanner, boolean tagsPresent)
public long getId()
public int getCellsCount()
public long getSize()
public TimeRangeTracker getTimeRangeTracker()
TimeRangeTracker
for all the Cells in the snapshot.public KeyValueScanner getScanner()
KeyValueScanner
for iterating over the snapshotpublic boolean isTagsPresent()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.