|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.netflix.astyanax.thrift.model.ThriftCqlRowsImpl<K,C>
public class ThriftCqlRowsImpl<K,C>
Constructor Summary | |
---|---|
ThriftCqlRowsImpl(List<org.apache.cassandra.thrift.CqlRow> rows,
Serializer<K> keySer,
Serializer<C> colSer)
|
Method Summary | |
---|---|
Row<K,C> |
getRow(K key)
Return the row for a specific key. |
Row<K,C> |
getRowByIndex(int i)
Return a row by it's index in the response. |
boolean |
isEmpty()
Determine if the row list has data |
Iterator<Row<K,C>> |
iterator()
|
int |
size()
Get the number of rows in the list |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThriftCqlRowsImpl(List<org.apache.cassandra.thrift.CqlRow> rows, Serializer<K> keySer, Serializer<C> colSer)
Method Detail |
---|
public Iterator<Row<K,C>> iterator()
iterator
in interface Iterable<Row<K,C>>
public Row<K,C> getRow(K key)
Rows
getRow
in interface Rows<K,C>
public int size()
Rows
size
in interface Rows<K,C>
public boolean isEmpty()
Rows
isEmpty
in interface Rows<K,C>
public Row<K,C> getRowByIndex(int i)
Rows
getRowByIndex
in interface Rows<K,C>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |