Class CommentPredicate
- java.lang.Object
- 
- com.google.gerrit.index.query.Predicate<T>
- 
- com.google.gerrit.index.query.OperatorPredicate<I>
- 
- com.google.gerrit.index.query.IndexPredicate<ChangeData>
- 
- com.google.gerrit.server.query.change.ChangeIndexPredicate
- 
- com.google.gerrit.server.query.change.CommentPredicate
 
 
 
 
 
- 
- All Implemented Interfaces:
- Matchable<ChangeData>
 
 public class CommentPredicate extends ChangeIndexPredicate 
- 
- 
Field SummaryFields Modifier and Type Field Description protected ChangeIndexindex- 
Fields inherited from class com.google.gerrit.index.query.OperatorPredicatename, value
 
- 
 - 
Constructor SummaryConstructors Constructor Description CommentPredicate(ChangeIndex index, String value)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCost()booleanmatch(ChangeData object)Does this predicate match this object?- 
Methods inherited from class com.google.gerrit.server.query.change.ChangeIndexPredicatenone
 - 
Methods inherited from class com.google.gerrit.index.query.IndexPredicategetField, getType
 - 
Methods inherited from class com.google.gerrit.index.query.OperatorPredicatecopy, equals, getOperator, getValue, hashCode, toString
 - 
Methods inherited from class com.google.gerrit.index.query.Predicateand, and, any, asMatchable, estimateCost, getChild, getChildCount, getChildren, getLeafCount, isMatchable, not, or, or
 
- 
 
- 
- 
- 
Field Detail- 
indexprotected final ChangeIndex index 
 
- 
 - 
Constructor Detail- 
CommentPredicatepublic CommentPredicate(ChangeIndex index, String value) 
 
- 
 - 
Method Detail- 
matchpublic boolean match(ChangeData object) Description copied from interface:MatchableDoes this predicate match this object?
 - 
getCostpublic int getCost() - Returns:
- a cost estimate to run this predicate, higher figures cost more.
 
 
- 
 
-