public class ColumnCounter
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ColumnCounter.GroupByPrefix |
static class |
ColumnCounter.GroupByPrefixReversed
Similar to GroupByPrefix, but designed to handle counting cells in reverse order.
|
Modifier and Type | Field and Description |
---|---|
protected int |
live |
protected long |
timestamp |
protected int |
tombstones |
Constructor and Description |
---|
ColumnCounter(long timestamp) |
Modifier and Type | Method and Description |
---|---|
boolean |
count(Cell cell,
DeletionInfo.InOrderTester tester) |
ColumnCounter |
countAll(ColumnFamily container) |
protected java.util.Iterator<Cell> |
getCellIterator(ColumnFamily container) |
int |
live() |
int |
tombstones() |
protected int live
protected int tombstones
protected final long timestamp
public boolean count(Cell cell, DeletionInfo.InOrderTester tester)
public int live()
public int tombstones()
public ColumnCounter countAll(ColumnFamily container)
protected java.util.Iterator<Cell> getCellIterator(ColumnFamily container)
Copyright © 2018 The Apache Software Foundation