Class ChangeIndexPredicate

All Implemented Interfaces:
Matchable<ChangeData>
Direct Known Subclasses:
BooleanPredicate, ChangeIndexCardinalPredicate, ChangeIndexPostFilterPredicate, ChangeStatusPredicate, FileExtensionListPredicate, FileExtensionPredicate, GroupPredicate, MagicLabelPredicates.IndexMagicLabelPredicate, ReviewerPredicate, SubmitRecordPredicate, SubmittablePredicate

public class ChangeIndexPredicate extends IndexPredicate<ChangeData>
Predicate that is mapped to a field in the change index.
  • Constructor Details

  • Method Details

    • none

      public static Predicate<ChangeData> none()
      Returns an index predicate that matches no changes in the index.

      This predicate should be used in preference to a non-index predicate (such as Predicate.not(Predicate.any())), since it can be matched efficiently against the index.

      Returns:
      an index predicate matching no changes.