|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.hbase.regionserver.MinorCompactingStoreScanner
public class MinorCompactingStoreScanner
A scanner that does a minor compaction at the same time. Doesn't need to implement ChangedReadersObserver, since it doesn't scan memstore, only store files and optionally the memstore-snapshot.
| Method Summary | |
|---|---|
void |
close()
Close the KeyValue scanner. |
KeyValue |
next()
Return the next KeyValue in this scanner, iterating the scanner |
boolean |
next(List<KeyValue> results)
Grab the next row's worth of values. |
boolean |
next(List<KeyValue> results,
int limit)
Grab the next row's worth of values with a limit on the number of values to return. |
boolean |
next(StoreFile.Writer writer)
High performance merge scan. |
KeyValue |
peek()
Look at the next KeyValue in this scanner, but do not iterate scanner. |
boolean |
reseek(KeyValue key)
Reseek the scanner at or after the specified KeyValue. |
boolean |
seek(KeyValue key)
Seek the scanner at or after the specified KeyValue. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public KeyValue peek()
KeyValueScanner
peek in interface KeyValueScanner
public KeyValue next()
throws IOException
KeyValueScanner
next in interface KeyValueScannerIOExceptionpublic boolean seek(KeyValue key)
KeyValueScanner
seek in interface KeyValueScannerkey - seek value
public boolean reseek(KeyValue key)
KeyValueScanner
reseek in interface KeyValueScannerkey - seek value (should be non-null)
public boolean next(StoreFile.Writer writer)
throws IOException
writer -
IOException
public boolean next(List<KeyValue> results)
throws IOException
InternalScanner
next in interface InternalScannerresults - return output array
IOException - e
public boolean next(List<KeyValue> results,
int limit)
throws IOException
InternalScanner
next in interface InternalScannerresults - return output arraylimit - limit on row count to get
IOException - epublic void close()
KeyValueScanner
close in interface Closeableclose in interface InternalScannerclose in interface KeyValueScanner
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||