private static CompletableFuture<Void> scanMeta(AsyncTable<AdvancedScanResultConsumer> metaTable,
    TableName tableName, QueryType type, final Visitor visitor) {
    return scanMeta(metaTable, getTableStartRowForMeta(tableName, type),
      getTableStopRowForMeta(tableName, type), type, Integer.MAX_VALUE, visitor);
  }
Performs a scan of META table for given table.
@param metaTable scanner over meta table
@param tableName table within we scan
@param type      scanned part of meta
@param visitor   Visitor invoked against each row
hbase-client/src/main/java/org/apache/hadoop/hbase/ClientMetaTableAccessor.java