Class IntegerRangeChangePredicate
java.lang.Object
com.google.gerrit.index.query.Predicate<ChangeData>
com.google.gerrit.index.query.OperatorPredicate<ChangeData>
com.google.gerrit.index.query.IndexPredicate<ChangeData>
com.google.gerrit.index.query.IntegerRangePredicate<ChangeData>
com.google.gerrit.server.query.change.IntegerRangeChangePredicate
- All Implemented Interfaces:
Matchable<ChangeData>
- Direct Known Subclasses:
AddedPredicate,DeletedPredicate,DeltaPredicate,IsAttentionPredicate,IsUnresolvedPredicate
public abstract class IntegerRangeChangePredicate
extends IntegerRangePredicate<ChangeData>
implements Matchable<ChangeData>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.gerrit.index.query.Predicate
Predicate.Any<T> -
Field Summary
Fields inherited from class com.google.gerrit.index.query.OperatorPredicate
name, value -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionintgetCost()Returns a cost estimate to run this predicate, higher figures cost more.Methods inherited from class com.google.gerrit.index.query.IntegerRangePredicate
getMaximumValue, getMinimumValue, getValueInt, matchMethods inherited from class com.google.gerrit.index.query.IndexPredicate
getField, getTypeMethods inherited from class com.google.gerrit.index.query.OperatorPredicate
copy, equals, getOperator, getValue, hashCode, toStringMethods 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, supportedForQueriesMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.gerrit.index.query.Matchable
match, matchResult
-
Constructor Details
-
IntegerRangeChangePredicate
protected IntegerRangeChangePredicate(SchemaFieldDefs.SchemaField<ChangeData, Integer> type, String value) throws QueryParseException- Throws:
QueryParseException
-
-
Method Details
-
getCost
public int getCost()Description copied from interface:MatchableReturns a cost estimate to run this predicate, higher figures cost more.- Specified by:
getCostin interfaceMatchable<ChangeData>- Overrides:
getCostin classIndexPredicate<ChangeData>
-