public interface OptimizedFilePredicate extends FilePredicate, java.lang.Comparable<OptimizedFilePredicate>
| Modifier and Type | Method and Description |
|---|---|
java.lang.Iterable<InputFile> |
filter(java.lang.Iterable<InputFile> inputFiles)
Filter provided files to keep only the ones that are valid for this predicate
|
java.lang.Iterable<InputFile> |
get(FileSystem.Index index)
Get all files that are valid for this predicate.
|
int |
priority()
For optimization.
|
applyjava.lang.Iterable<InputFile> filter(java.lang.Iterable<InputFile> inputFiles)
java.lang.Iterable<InputFile> get(FileSystem.Index index)
int priority()
RelativePathPredicate and AbsolutePathPredicate have a high priority since they are using cache index.