public static List<SchemaFilter> extract(
      final SchemaFilter schemaFilter, final SchemaFilterType filterType) {
    final List<SchemaFilter> res = new ArrayList<>();
    internalExtract(res, schemaFilter, filterType);
    return res;
  }
Extracts a certain type of SchemaFilter from the Filter tree.

@param filterType type
@return list of SchemaFilter with specific type
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/schema/filter/SchemaFilter.java