com.netflix.astyanax.thrift.model
Class ThriftRowImpl<K,C>

java.lang.Object
  extended by com.netflix.astyanax.thrift.model.ThriftRowImpl<K,C>
All Implemented Interfaces:
Row<K,C>

public class ThriftRowImpl<K,C>
extends Object
implements Row<K,C>


Constructor Summary
ThriftRowImpl(K key, ByteBuffer byteBuffer, ColumnList<C> columns)
           
 
Method Summary
 ColumnList<C> getColumns()
          Child columns of the row.
 K getKey()
          Return the key value
 ByteBuffer getRawKey()
          Return the raw byte buffer for this key
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThriftRowImpl

public ThriftRowImpl(K key,
                     ByteBuffer byteBuffer,
                     ColumnList<C> columns)
Method Detail

getKey

public K getKey()
Description copied from interface: Row
Return the key value

Specified by:
getKey in interface Row<K,C>
Returns:

getColumns

public ColumnList<C> getColumns()
Description copied from interface: Row
Child columns of the row. Note that if a ColumnPath was provided to a query these will be the columns at the column path location and not the columns at the root of the row.

Specified by:
getColumns in interface Row<K,C>
Returns:

getRawKey

public ByteBuffer getRawKey()
Description copied from interface: Row
Return the raw byte buffer for this key

Specified by:
getRawKey in interface Row<K,C>
Returns:


Copyright © 2012. All Rights Reserved.