public class DataRange
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
DataRange.Paging |
Modifier and Type | Field and Description |
---|---|
protected IDiskAtomFilter |
columnFilter |
protected boolean |
selectFullRow |
Constructor and Description |
---|
DataRange(AbstractBounds<RowPosition> range,
IDiskAtomFilter columnFilter) |
Modifier and Type | Method and Description |
---|---|
static DataRange |
allData(IPartitioner partitioner) |
IDiskAtomFilter |
columnFilter(java.nio.ByteBuffer rowKey)
Returns a column filter that should be used for a particular row key.
|
boolean |
contains(RowPosition pos) |
static DataRange |
forKeyRange(Range<Token> keyRange) |
int |
getLiveCount(ColumnFamily data,
long now) |
boolean |
ignoredTombstonedPartitions()
Returns true if tombstoned partitions should not be included in results or count towards the limit.
|
static boolean |
isFullRowSlice(SliceQueryFilter filter) |
boolean |
isWrapAround() |
AbstractBounds<RowPosition> |
keyRange() |
boolean |
selectsFullRowFor(java.nio.ByteBuffer rowKey) |
RowPosition |
startKey() |
RowPosition |
stopKey() |
void |
updateColumnsLimit(int count)
Sets a new limit on the number of (grouped) cells to fetch.
|
protected IDiskAtomFilter columnFilter
protected final boolean selectFullRow
public DataRange(AbstractBounds<RowPosition> range, IDiskAtomFilter columnFilter)
public static boolean isFullRowSlice(SliceQueryFilter filter)
public static DataRange allData(IPartitioner partitioner)
public AbstractBounds<RowPosition> keyRange()
public RowPosition startKey()
public RowPosition stopKey()
public boolean ignoredTombstonedPartitions()
public boolean isWrapAround()
public boolean contains(RowPosition pos)
public int getLiveCount(ColumnFamily data, long now)
public boolean selectsFullRowFor(java.nio.ByteBuffer rowKey)
public IDiskAtomFilter columnFilter(java.nio.ByteBuffer rowKey)
public void updateColumnsLimit(int count)
Copyright © 2015 The Apache Software Foundation