docs: public static Scanner getMetricScanner(final TSDB tsdb, final int salt_bucket, 
        final byte[] metric, final int start, final int stop, 
        final byte[] table, final byte[] family) {
      final short metric_width = TSDB.metrics_width();
      final int metric_salt_width = metric_width + Const.SALT_WIDTH();
      final byte[] start_row = new byte[metric_salt_width + Const.TIMESTAMP_BYTES];
      final byte[] end_row = new byte[metric_salt_width + Const.TIMESTAMP_BYTES];
      
      if (Const.SALT_WIDTH() > 0) {
        final byte[] salt = RowKey.getSaltBytes(salt_bucket);
        System.arraycopy(salt, 0, start_row, 0, Const.SALT_WIDTH());
        System.arraycopy(salt, 0, end_row, 0, Const.SALT_WIDTH());
      }
      
      Bytes.setInt(start_row, start, metric_salt_width);
      Bytes.setInt(end_row, stop, metric_salt_width);
      
      System.arraycopy(metric, 0, start_row, Const.SALT_WIDTH(), metric_width);
      System.arraycopy(metric, 0, end_row, Const.SALT_WIDTH(), metric_width);
      
      final Scanner scanner = tsdb.getClient().newScanner(table);
      scanner.setMaxNumRows(tsdb.getConfig().scanner_maxNumRows());
      scanner.setStartKey(start_row);
      scanner.setStopKey(end_row);
      scanner.setFamily(family);
      return scanner;
    }