com.netflix.astyanax.thrift.model
Class ThriftRowImpl<K,C>
java.lang.Object
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>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThriftRowImpl
public ThriftRowImpl(K key,
ByteBuffer byteBuffer,
ColumnList<C> columns)
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.