org.apache.hadoop.hbase.client
Class MetaScanner.TableMetaScannerVisitor
java.lang.Object
org.apache.hadoop.hbase.client.MetaScanner.MetaScannerVisitorBase
org.apache.hadoop.hbase.client.MetaScanner.DefaultMetaScannerVisitor
org.apache.hadoop.hbase.client.MetaScanner.TableMetaScannerVisitor
- All Implemented Interfaces:
- Closeable, MetaScanner.MetaScannerVisitor
- Enclosing class:
- MetaScanner
public abstract static class MetaScanner.TableMetaScannerVisitor
- extends MetaScanner.DefaultMetaScannerVisitor
A MetaScannerVisitor for a table. Provides a consistent view of the table's
META entries during concurrent splits (see HBASE-5986 for details). This class
does not guarantee ordered traversal of meta entries, and can block until the
META entries for daughters are available during splits.
Method Summary |
boolean |
processRow(Result rowResult)
Visitor method that accepts a RowResult and the meta region location. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetaScanner.TableMetaScannerVisitor
public MetaScanner.TableMetaScannerVisitor(TableName tableName)
processRow
public final 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.
- Specified by:
processRow
in interface MetaScanner.MetaScannerVisitor
- Overrides:
processRow
in class MetaScanner.DefaultMetaScannerVisitor
- Parameters:
rowResult
- result
- Returns:
- A boolean to know if it should continue to loop in the region
- Throws:
IOException
- e
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.