java/tsfile/src/main/java/org/apache/tsfile/read/filter/operator/ValueIsNotNullOperator.java [110:123]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  public boolean canSkip(IMetadata metadata) {
    Optional<Statistics<? extends Serializable>> statistics =
        metadata.getMeasurementStatistics(measurementIndex);

    if (!statistics.isPresent()) {
      // the measurement isn't in this block so all values are null.
      // null is always equal to null
      return true;
    }

    // we are looking for records where v notEq(null)
    // so, if this is a column of all nulls, we can drop it
    return statistics.get().getCount() == 0;
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



java/tsfile/src/main/java/org/apache/tsfile/read/filter/operator/ValueIsNullOperator.java [127:138]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  public boolean allSatisfy(IMetadata metadata) {
    Optional<Statistics<? extends Serializable>> statistics =
        metadata.getMeasurementStatistics(measurementIndex);

    if (!statistics.isPresent()) {
      // the measurement isn't in this block so all values are null.
      // null is always equal to null
      return true;
    }

    return statistics.get().getCount() == 0;
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



