me.prettyprint.cassandra.model
Class CounterRowImpl<K,N>

java.lang.Object
  extended by me.prettyprint.cassandra.model.CounterRowImpl<K,N>
Type Parameters:
N - Column name type
All Implemented Interfaces:
CounterRow<K,N>

public final class CounterRowImpl<K,N>
extends Object
implements CounterRow<K,N>

A Row is a touple consisting of a Key and a Column Slice. A Row may be used to hold the returned value from queries such as get_range_slices.

Author:
Ran Tavory

Method Summary
 CounterSlice<N> getColumnSlice()
           
 K getKey()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getKey

public K getKey()
Specified by:
getKey in interface CounterRow<K,N>

getColumnSlice

public CounterSlice<N> getColumnSlice()
Specified by:
getColumnSlice in interface CounterRow<K,N>

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.