org.apache.hadoop.hbase.client
Class MetaScanner.DefaultMetaScannerVisitor
java.lang.Object
org.apache.hadoop.hbase.client.MetaScanner.MetaScannerVisitorBase
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetaScanner.DefaultMetaScannerVisitor
public MetaScanner.DefaultMetaScannerVisitor()
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.