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 testIntegerGt() {
    boolean shouldRead =
        new StrictMetricsEvaluator(SCHEMA, greaterThan("id", INT_MAX_VALUE)).eval(FILE);
    assertThat(shouldRead).as("Should not match: always false").isFalse();

    shouldRead =
        new StrictMetricsEvaluator(SCHEMA, greaterThan("id", INT_MAX_VALUE - 1)).eval(FILE);
    assertThat(shouldRead).as("Should not match: 77 and less not in range").isFalse();

    shouldRead = new StrictMetricsEvaluator(SCHEMA, greaterThan("id", INT_MIN_VALUE)).eval(FILE);
    assertThat(shouldRead).as("Should not match: 30 not in range").isFalse();

    shouldRead =
        new StrictMetricsEvaluator(SCHEMA, greaterThan("id", INT_MIN_VALUE - 1)).eval(FILE);
    assertThat(shouldRead).as("Should match: all values in range").isTrue();
  }