public static void scanMeta(Connection connection, @Nullable final byte[] startRow,
    @Nullable final byte[] stopRow, QueryType type, int maxRows,
    final ClientMetaTableAccessor.Visitor visitor) throws IOException {
    scanMeta(connection, startRow, stopRow, type, null, maxRows, visitor);
  }
Performs a scan of META table.
@param connection connection we're using
@param startRow   Where to start the scan. Pass null if want to begin scan at first row.
@param stopRow    Where to stop the scan. Pass null if want to scan all rows from the start one
@param type       scanned part of meta
@param maxRows    maximum rows to return
@param visitor    Visitor invoked against each row.
hbase-server/src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java