com.netflix.astyanax.thrift.model
Class ThriftColumnImpl<C>

java.lang.Object
  extended by com.netflix.astyanax.model.AbstractColumnImpl<C>
      extended by com.netflix.astyanax.thrift.model.ThriftColumnImpl<C>
Type Parameters:
C -
All Implemented Interfaces:
com.netflix.astyanax.model.Column<C>

public class ThriftColumnImpl<C>
extends com.netflix.astyanax.model.AbstractColumnImpl<C>

TODO: All serializers


Constructor Summary
ThriftColumnImpl(C name, org.apache.cassandra.thrift.Column column)
           
 
Method Summary
 java.nio.ByteBuffer getRawName()
           
<C2> com.netflix.astyanax.model.ColumnList<C2>
getSubColumns(com.netflix.astyanax.Serializer<C2> ser)
           
 long getTimestamp()
           
 int getTtl()
           
<V> V
getValue(com.netflix.astyanax.Serializer<V> valSer)
           
 boolean hasValue()
           
 boolean isParentColumn()
           
 
Methods inherited from class com.netflix.astyanax.model.AbstractColumnImpl
getBooleanValue, getByteArrayValue, getByteBufferValue, getByteValue, getCompressedStringValue, getDateValue, getDoubleValue, getFloatValue, getIntegerValue, getLongValue, getName, getShortValue, getStringValue, getUUIDValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThriftColumnImpl

public ThriftColumnImpl(C name,
                        org.apache.cassandra.thrift.Column column)
Method Detail

getValue

public <V> V getValue(com.netflix.astyanax.Serializer<V> valSer)

getSubColumns

public <C2> com.netflix.astyanax.model.ColumnList<C2> getSubColumns(com.netflix.astyanax.Serializer<C2> ser)
Specified by:
getSubColumns in interface com.netflix.astyanax.model.Column<C>
Overrides:
getSubColumns in class com.netflix.astyanax.model.AbstractColumnImpl<C>

isParentColumn

public boolean isParentColumn()
Specified by:
isParentColumn in interface com.netflix.astyanax.model.Column<C>
Overrides:
isParentColumn in class com.netflix.astyanax.model.AbstractColumnImpl<C>

getTimestamp

public long getTimestamp()

getRawName

public java.nio.ByteBuffer getRawName()

getTtl

public int getTtl()

hasValue

public boolean hasValue()