public static FMSketch createFMSketch(long... values) {
    FMSketch fm = new FMSketch(1);
    for (long value : values) {
      fm.addToEstimator(value);
    }
    return fm;
  }
Creates an FM sketch object initialized with the given values.
@param values the values to be added
@return an FM sketch initialized with the given values.
standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/StatisticsTestUtils.java