private static List<Result> fullScan(Connection connection, QueryType type) throws IOException {
    ClientMetaTableAccessor.CollectAllVisitor v = new ClientMetaTableAccessor.CollectAllVisitor();
    scanMeta(connection, null, null, type, v);
    return v.getResults();
  }
Performs a full scan of <code>hbase:meta</code>.
@param connection connection we're using
@param type       scanned part of meta
@return List of {@link Result}
hbase-server/src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java