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

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

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


Constructor Summary
ThriftCounterColumnImpl(C name, org.apache.cassandra.thrift.CounterColumn column)
           
 
Method Summary
 long getLongValue()
           
 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, getName, getShortValue, getStringValue, getUUIDValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThriftCounterColumnImpl

public ThriftCounterColumnImpl(C name,
                               org.apache.cassandra.thrift.CounterColumn column)
Method Detail

getValue

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

getLongValue

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

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()