src/main/java/org/apache/hadoop/hdfs/server/namenode/analytics/Helper.java
public static Collection<INode> performFilters(
      NameNodeLoader nameNodeLoader,
      String set,
      String[] filters,
      String[] filterOps,
      String find) {
    Collection<INode> interim = performFilters(nameNodeLoader, set, filters, filterOps);
    return nameNodeLoader.getQueryEngine().findFilter(interim, find);
  }
/**
   * Utility method for performing filtering against NameNode.
   *
   * @param nameNodeLoader the NameNodeLoader
   * @param set whether set of files or dirs
   * @param filters the filter types
   * @param filterOps the filter operations
   * @param find find a min, max, or avg of inode fields
   * @return the inodes collection that passed the filter
   */
Utility method for performing filtering against NameNode.
Utility method for performing filtering against NameNode .
public static Collection<INode> performFilters(
      NameNodeLoader nameNodeLoader,
      String set,
      String[] filters,
      String[] filterOps,
      String find) {
    Collection<INode> interim = performFilters(nameNodeLoader, set, filters, filterOps);
    return nameNodeLoader.getQueryEngine().findFilter(interim, find);
  }
public static Collection < INode > performFilters ( NameNodeLoader nameNodeLoader , String set , String [ ] filters , String [ ] filterOps , String find ) { Collection < INode > interim = performFilters ( nameNodeLoader , set , filters , filterOps ) ; return nameNodeLoader . getQueryEngine ( ) . findFilter ( interim , find ) ; }
Utility method for performing filtering against NameNode.
Utility method for performing filtering against NameNode .