public static class ColumnCounter.GroupByPrefix extends ColumnCounter
ColumnCounter.GroupByPrefixignored, live| Constructor and Description |
|---|
ColumnCounter.GroupByPrefix(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(IColumn column,
IColumnContainer container) |
ignored, isLive, livepublic ColumnCounter.GroupByPrefix(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(IColumn column, IColumnContainer container)
count in class ColumnCounterCopyright © 2014 The Apache Software Foundation