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>
-
-
Field Summary
-
Fields inherited from class com.google.gerrit.index.query.OperatorPredicate
name, value
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TimestampRangeChangePredicate(FieldDef<ChangeData,Timestamp> def, String name, String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCost()
-
Methods inherited from class com.google.gerrit.index.query.TimestampRangePredicate
getMaxTimestamp, getMinTimestamp, parse
-
Methods inherited from class com.google.gerrit.index.query.IndexPredicate
getField, getType
-
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, getLeafCount, isMatchable, not, or, or
-
-
-
-
Constructor Detail
-
TimestampRangeChangePredicate
protected TimestampRangeChangePredicate(FieldDef<ChangeData,Timestamp> def, String name, String value)
-
-
Method Detail
-
getCost
public int getCost()
- Specified by:
getCost
in interfaceMatchable<ChangeData>
- Returns:
- a cost estimate to run this predicate, higher figures cost more.
-
-