Class TimestampRangeChangePredicate
java.lang.Object
com.google.gerrit.index.query.Predicate<T>
com.google.gerrit.index.query.OperatorPredicate<I>
com.google.gerrit.index.query.IndexPredicate<I>
com.google.gerrit.index.query.TimestampRangePredicate<ChangeData>
com.google.gerrit.server.query.change.TimestampRangeChangePredicate
- All Implemented Interfaces:
Matchable<ChangeData>
- Direct Known Subclasses:
AfterPredicate,AgePredicate,BeforePredicate
public abstract class TimestampRangeChangePredicate
extends TimestampRangePredicate<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
ConstructorsModifierConstructorDescriptionprotectedTimestampRangeChangePredicate(SchemaFieldDefs.SchemaField<ChangeData, Timestamp> def, String name, String value) -
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.TimestampRangePredicate
getMaxTimestamp, getMinTimestamp, getValueTimestamp, parseMethods inherited from class com.google.gerrit.index.query.IndexPredicate
getField, getType, matchMethods 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, supportedForQueries
-
Constructor Details
-
TimestampRangeChangePredicate
protected TimestampRangeChangePredicate(SchemaFieldDefs.SchemaField<ChangeData, Timestamp> def, String name, String value)
-
-
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>
-