Interface OptimizedFilePredicate

    • Method Detail

      • filter

        java.lang.Iterable<InputFile> filter​(java.lang.Iterable<InputFile> inputFiles)
        Filter provided files to keep only the ones that are valid for this predicate
      • priority

        int priority()
        For optimization. FilePredicates will be applied in priority order. For example when doing p.and(p1, p2, p3) then p1, p2 and p3 will be applied according to their priority value. Higher priority value are applied first. Assign a high priority when the predicate will likely highly reduce the set of InputFiles to filter. Also RelativePathPredicate and AbsolutePathPredicate have a high priority since they are using cache index.