|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.netflix.astyanax.model.AbstractColumnList<C>
com.netflix.astyanax.thrift.model.ThriftCounterColumnListImpl<C>
public class ThriftCounterColumnListImpl<C>
Constructor Summary | |
---|---|
ThriftCounterColumnListImpl(List<org.apache.cassandra.thrift.CounterColumn> columns,
Serializer<C> colSer)
|
Method Summary | ||
---|---|---|
Column<C> |
getColumnByIndex(int idx)
Queries column by index |
|
Column<C> |
getColumnByName(C columnName)
Queries column by name |
|
|
getSuperColumn(C columnName,
Serializer<C2> colSer)
Return the super column with the specified name |
|
|
getSuperColumn(int idx,
Serializer<C2> colSer)
Get super column by index |
|
boolean |
isEmpty()
Indicates if the list of columns is empty |
|
boolean |
isSuperColumn()
Returns true if the columns are super columns with subcolumns. |
|
Iterator<Column<C>> |
iterator()
|
|
int |
size()
returns the number of columns in the row |
Methods inherited from class com.netflix.astyanax.model.AbstractColumnList |
---|
getBooleanValue, getByteArrayValue, getByteBufferValue, getDateValue, getDoubleValue, getIntegerValue, getLongValue, getStringValue, getUUIDValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThriftCounterColumnListImpl(List<org.apache.cassandra.thrift.CounterColumn> columns, Serializer<C> colSer)
Method Detail |
---|
public Iterator<Column<C>> iterator()
public Column<C> getColumnByName(C columnName)
ColumnList
public Column<C> getColumnByIndex(int idx)
ColumnList
public <C2> Column<C2> getSuperColumn(C columnName, Serializer<C2> colSer)
ColumnList
public <C2> Column<C2> getSuperColumn(int idx, Serializer<C2> colSer)
ColumnList
public boolean isEmpty()
ColumnList
public int size()
ColumnList
public boolean isSuperColumn()
ColumnList
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |