com.usergrid.count.common
Class Count<K,C>
java.lang.Object
com.usergrid.count.common.Count<K,C>
public class Count<K,C>
- extends Object
Loosely models a 'count' of things to
- Author:
- zznate
Constructor Summary |
Count(String tableName,
K keyName,
C columnName,
long value)
|
Count
public Count(String tableName,
K keyName,
C columnName,
long value)
apply
public Count apply(Count count)
getCounterName
public String getCounterName()
- the counter name should uniquely identify the entity being counted.
- Returns:
getValue
public long getValue()
getColumnName
public C getColumnName()
getKeyName
public K getKeyName()
getKeyNameBytes
public ByteBuffer getKeyNameBytes()
getColumnNameBytes
public ByteBuffer getColumnNameBytes()
getKeySerializer
public me.prettyprint.hector.api.Serializer<K> getKeySerializer()
getColumnNameSerializer
public me.prettyprint.hector.api.Serializer<C> getColumnNameSerializer()
getTableName
public String getTableName()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2013. All Rights Reserved.