public Boolean process(SchemaFilter filter, C context) {
    if (filter == null) {
      return visitNode(null, context);
    } else {
      return filter.accept(this, context);
    }
  }
This class provides a visitor of {@link SchemaFilter}, which can be extended to create a visitor
which only needs to handle a subset of the available methods.
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/schema/filter/SchemaFilterVisitor.java