Class CanSeeChangePredicate
- java.lang.Object
-
- com.google.gerrit.index.query.Predicate<T>
-
- com.google.gerrit.index.query.OperatorPredicate<T>
-
- com.google.gerrit.index.query.PostFilterPredicate<AccountState>
-
- com.google.gerrit.server.query.account.CanSeeChangePredicate
-
- All Implemented Interfaces:
Matchable<AccountState>
public class CanSeeChangePredicate extends PostFilterPredicate<AccountState>
-
-
Field Summary
-
Fields inherited from class com.google.gerrit.index.query.OperatorPredicate
name, value
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCost()
Returns a cost estimate to run this predicate, higher figures cost more.boolean
match(AccountState accountState)
Does this predicate match this object?-
Methods inherited from class com.google.gerrit.index.query.OperatorPredicate
copy, equals, getOperator, getValue, hashCode, toString
-
Methods inherited from class com.google.gerrit.index.query.Predicate
and, and, any, asMatchable, estimateCost, getChild, getChildCount, getChildren, getFlattenedPredicateList, getLeafCount, getPredicateString, isLeaf, isMatchable, not, or, or, supportedForQueries
-
-
-
-
Method Detail
-
match
public boolean match(AccountState accountState)
Description copied from interface:Matchable
Does this predicate match this object?
-
getCost
public int getCost()
Description copied from interface:Matchable
Returns a cost estimate to run this predicate, higher figures cost more.
-
-