|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HScannerInterface
HScannerInterface iterates through a set of rows. It's implemented by
several classes. Implements Iterable
but be sure to still call
close()
when done with your Iterator
Method Summary | |
---|---|
void |
close()
Closes a scanner and releases any resources it has allocated |
boolean |
next(HStoreKey key,
SortedMap<org.apache.hadoop.io.Text,byte[]> results)
Grab the next row's worth of values. |
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Method Detail |
---|
boolean next(HStoreKey key, SortedMap<org.apache.hadoop.io.Text,byte[]> results) throws IOException
key
- will contain the row and timestamp upon returnresults
- will contain an entry for each column family member and its
value
IOException
void close() throws IOException
close
in interface Closeable
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |