me.prettyprint.cassandra.model
Class RowImpl<K,N,V>

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

public final class RowImpl<K,N,V>
extends Object
implements Row<K,N,V>

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
 ColumnSlice<N,V> 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 Row<K,N,V>

getColumnSlice

public ColumnSlice<N,V> getColumnSlice()
Specified by:
getColumnSlice in interface Row<K,N,V>

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.