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 |
---|---|
void |
count(Cell cell,
DeletionInfo.InOrderTester tester) |
ColumnCounter |
countAll(ColumnFamily container) |
int |
live() |
int |
tombstones() |
protected int live
protected int tombstones
protected final long timestamp
public void count(Cell cell, DeletionInfo.InOrderTester tester)
public int live()
public int tombstones()
public ColumnCounter countAll(ColumnFamily container)
Copyright © 2020 The Apache Software Foundation