com.netflix.astyanax.thrift.model
Class ThriftCounterColumnImpl<C>
java.lang.Object
com.netflix.astyanax.model.AbstractColumnImpl<C>
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>
| 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 |
ThriftCounterColumnImpl
public ThriftCounterColumnImpl(C name,
org.apache.cassandra.thrift.CounterColumn column)
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()