|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.netflix.astyanax.thrift.ThriftAllRowsImpl<K,C>
public class ThriftAllRowsImpl<K,C>
Constructor Summary | |
---|---|
ThriftAllRowsImpl(AbstractThriftAllRowsQueryImpl<K,C> query,
ColumnFamily<K,C> columnFamily)
|
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()
Each call to .iterator() returns a new context starting at the beginning of the column family. |
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 ThriftAllRowsImpl(AbstractThriftAllRowsQueryImpl<K,C> query, ColumnFamily<K,C> columnFamily)
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 |