public boolean eval(ContentFile<?> file) {
    // TODO: detect the case where a column is missing from the file using file's max field id.
    return new MetricsEvalVisitor().eval(file);
  }
@Test
  public void testIntegerEq() {
    boolean shouldRead =
        new StrictMetricsEvaluator(SCHEMA, equal("id", INT_MIN_VALUE - 25)).eval(FILE);
    assertThat(shouldRead).as("Should not match: all values != 5").isFalse();

    shouldRead = new StrictMetricsEvaluator(SCHEMA, equal("id", INT_MIN_VALUE)).eval(FILE);
    assertThat(shouldRead).as("Should not match: some values != 30").isFalse();

    shouldRead = new StrictMetricsEvaluator(SCHEMA, equal("id", INT_MAX_VALUE - 4)).eval(FILE);
    assertThat(shouldRead).as("Should not match: some values != 75").isFalse();

    shouldRead = new StrictMetricsEvaluator(SCHEMA, equal("id", INT_MAX_VALUE)).eval(FILE);
    assertThat(shouldRead).as("Should not match: some values != 79").isFalse();

    shouldRead = new StrictMetricsEvaluator(SCHEMA, equal("id", INT_MAX_VALUE + 1)).eval(FILE);
    assertThat(shouldRead).as("Should not match: some values != 80").isFalse();

    shouldRead =
        new StrictMetricsEvaluator(SCHEMA, equal("always_5", INT_MIN_VALUE - 25)).eval(FILE);
    assertThat(shouldRead).as("Should match: all values == 5").isTrue();
  }