org.apache.hadoop.hbase.regionserver
Interface RegionScanner

All Superinterfaces:
Closeable, InternalScanner

public interface RegionScanner
extends InternalScanner

RegionScanner describes iterators over rows in an HRegion.


Method Summary
 HRegionInfo getRegionInfo()
           
 boolean isFilterDone()
           
 boolean reseek(byte[] row)
          Do a reseek to the required row.
 
Methods inherited from interface org.apache.hadoop.hbase.regionserver.InternalScanner
close, next, next, next, next
 

Method Detail

getRegionInfo

HRegionInfo getRegionInfo()
Returns:
The RegionInfo for this scanner.

isFilterDone

boolean isFilterDone()
Returns:
True if a filter indicates that this scanner will return no further rows.

reseek

boolean reseek(byte[] row)
               throws IOException
Do a reseek to the required row. Should not be used to seek to a key which may come before the current position. Always seeks to the beginning of a row boundary.

Throws:
IOException
IllegalArgumentException - if row is null


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.