org.apache.hadoop.hbase.client
Class MetaScanner.DefaultMetaScannerVisitor

java.lang.Object
  extended by org.apache.hadoop.hbase.client.MetaScanner.MetaScannerVisitorBase
      extended by org.apache.hadoop.hbase.client.MetaScanner.DefaultMetaScannerVisitor
All Implemented Interfaces:
Closeable, MetaScanner.MetaScannerVisitor
Direct Known Subclasses:
MetaScanner.TableMetaScannerVisitor
Enclosing class:
MetaScanner

public abstract static class MetaScanner.DefaultMetaScannerVisitor
extends MetaScanner.MetaScannerVisitorBase

A MetaScannerVisitor that skips offline regions and split parents


Constructor Summary
MetaScanner.DefaultMetaScannerVisitor()
           
 
Method Summary
 boolean processRow(Result rowResult)
          Visitor method that accepts a RowResult and the meta region location.
abstract  boolean processRowInternal(Result rowResult)
           
 
Methods inherited from class org.apache.hadoop.hbase.client.MetaScanner.MetaScannerVisitorBase
close
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetaScanner.DefaultMetaScannerVisitor

public MetaScanner.DefaultMetaScannerVisitor()
Method Detail

processRowInternal

public abstract boolean processRowInternal(Result rowResult)
                                    throws IOException
Throws:
IOException

processRow

public boolean processRow(Result rowResult)
                   throws IOException
Description copied from interface: MetaScanner.MetaScannerVisitor
Visitor method that accepts a RowResult and the meta region location. Implementations can return false to stop the region's loop if it becomes unnecessary for some reason.

Parameters:
rowResult - result
Returns:
A boolean to know if it should continue to loop in the region
Throws:
IOException - e


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