public static class ColumnCounter.GroupByPrefix extends ColumnCounter
ColumnCounter.GroupByPrefix
ignored, live, timestamp
Constructor and Description |
---|
ColumnCounter.GroupByPrefix(long timestamp,
CompositeType type,
int toGroup)
A column counter that count only 1 for all the columns sharing a
given prefix of the key.
|
Modifier and Type | Method and Description |
---|---|
void |
count(Column column,
DeletionInfo.InOrderTester tester) |
countAll, ignored, isLive, live
public ColumnCounter.GroupByPrefix(long timestamp, CompositeType type, int toGroup)
type
- the type of the column name. This can be null if toGroup
is 0, otherwise it should be a composite.toGroup
- the number of composite components on which to group
column. If 0, all columns are grouped, otherwise we group
those for which the toGroup
first component are equals.public void count(Column column, DeletionInfo.InOrderTester tester)
count
in class ColumnCounter
Copyright © 2014 The Apache Software Foundation