|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cassandra.db.filter.ColumnCounter
org.apache.cassandra.db.filter.ColumnCounter.GroupByPrefix
public static class ColumnCounter.GroupByPrefix
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.cassandra.db.filter.ColumnCounter |
|---|
ColumnCounter.GroupByPrefix |
| Field Summary |
|---|
| Fields inherited from class org.apache.cassandra.db.filter.ColumnCounter |
|---|
ignored, live |
| Constructor Summary | |
|---|---|
ColumnCounter.GroupByPrefix(CompositeType type,
int toGroup)
A column counter that count only 1 for all the columns sharing a given prefix of the key. |
|
| Method Summary | |
|---|---|
void |
count(IColumn column,
IColumnContainer container)
|
| Methods inherited from class org.apache.cassandra.db.filter.ColumnCounter |
|---|
ignored, isLive, live |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public 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.| Method Detail |
|---|
public void count(IColumn column,
IColumnContainer container)
count in class ColumnCounter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||