|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.netflix.astyanax.thrift.model.ThriftCounterSuperColumnImpl<C>
public class ThriftCounterSuperColumnImpl<C>
Constructor Summary | |
---|---|
ThriftCounterSuperColumnImpl(C name,
org.apache.cassandra.thrift.CounterSuperColumn column)
|
Method Summary | ||
---|---|---|
boolean |
getBooleanValue()
Get value as a boolean |
|
byte[] |
getByteArrayValue()
Get the raw byte[] value |
|
ByteBuffer |
getByteBufferValue()
Get the raw ByteBuffer value |
|
Date |
getDateValue()
Get the value as a date object |
|
double |
getDoubleValue()
Return value as a double |
|
int |
getIntegerValue()
Return value as an integer |
|
long |
getLongValue()
Return value as a long. |
|
C |
getName()
Column or super column name |
|
ByteBuffer |
getRawName()
Return the raw byet buffer for the column name |
|
String |
getStringValue()
Return value as a string |
|
|
getSubColumns(Serializer<C2> ser)
Get columns in the case of a super column. |
|
long |
getTimestamp()
Returns the column timestamp. |
|
UUID |
getUUIDValue()
Get the value as a UUID |
|
|
getValue(Serializer<V> valSer)
Return the value |
|
boolean |
isParentColumn()
Returns true if the column contains a list of child columns, otherwise the column contains a value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThriftCounterSuperColumnImpl(C name, org.apache.cassandra.thrift.CounterSuperColumn column)
Method Detail |
---|
public C getName()
Column
getName
in interface Column<C>
public <V> V getValue(Serializer<V> valSer)
Column
getValue
in interface Column<C>
V
- value type
public String getStringValue()
Column
getStringValue
in interface Column<C>
public int getIntegerValue()
Column
getIntegerValue
in interface Column<C>
public long getLongValue()
Column
getLongValue
in interface Column<C>
public <C2> ColumnList<C2> getSubColumns(Serializer<C2> ser)
Column
getSubColumns
in interface Column<C>
C2
- Type of column names for sub columns
public boolean isParentColumn()
Column
isParentColumn
in interface Column<C>
public byte[] getByteArrayValue()
Column
getByteArrayValue
in interface Column<C>
public boolean getBooleanValue()
Column
getBooleanValue
in interface Column<C>
public ByteBuffer getByteBufferValue()
Column
getByteBufferValue
in interface Column<C>
public Date getDateValue()
Column
getDateValue
in interface Column<C>
public UUID getUUIDValue()
Column
getUUIDValue
in interface Column<C>
public long getTimestamp()
Column
getTimestamp
in interface Column<C>
public double getDoubleValue()
Column
getDoubleValue
in interface Column<C>
public ByteBuffer getRawName()
Column
getRawName
in interface Column<C>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |