Class BranchSetIndexPredicate
java.lang.Object
com.google.gerrit.index.query.Predicate<T>
com.google.gerrit.index.query.OrPredicate<ChangeData>
com.google.gerrit.server.query.change.BranchSetIndexPredicate
- All Implemented Interfaces:
- Matchable<ChangeData>
A Predicate to match any number of BranchNameKeys with O(1) efficiency
- 
Nested Class SummaryNested classes/interfaces inherited from class com.google.gerrit.index.query.PredicatePredicate.Any<T>
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanmatch(ChangeData changeData) Does this predicate match this object?toString()Methods inherited from class com.google.gerrit.index.query.OrPredicatecopy, equals, getChild, getChildCount, getChildren, getCost, hashCode, isMatchableMethods inherited from class com.google.gerrit.index.query.Predicateand, and, any, asMatchable, estimateCost, getFlattenedPredicateList, getLeafCount, getPredicateString, isLeaf, not, or, or, supportedForQueries
- 
Constructor Details- 
BranchSetIndexPredicatepublic BranchSetIndexPredicate(String name, Set<BranchNameKey> branches) throws com.google.gerrit.exceptions.StorageException - Throws:
- com.google.gerrit.exceptions.StorageException
 
 
- 
- 
Method Details- 
matchDescription copied from interface:MatchableDoes this predicate match this object?- Specified by:
- matchin interface- Matchable<ChangeData>
- Overrides:
- matchin class- OrPredicate<ChangeData>
 
- 
toString- Overrides:
- toStringin class- OrPredicate<ChangeData>
 
 
-