Class AgePredicate
- 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
-
- com.google.gerrit.server.query.change.AgePredicate
-
- All Implemented Interfaces:
Matchable<ChangeData>
public class AgePredicate extends TimestampRangeChangePredicate
-
-
Field Summary
Fields Modifier and Type Field Description protected long
cut
-
Fields inherited from class com.google.gerrit.index.query.OperatorPredicate
name, value
-
-
Constructor Summary
Constructors Constructor Description AgePredicate(String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Timestamp
getMaxTimestamp()
Timestamp
getMinTimestamp()
boolean
match(ChangeData object)
Does this predicate match this object?-
Methods inherited from class com.google.gerrit.server.query.change.TimestampRangeChangePredicate
getCost
-
Methods inherited from class com.google.gerrit.index.query.TimestampRangePredicate
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
-
AgePredicate
public AgePredicate(String value)
-
-
Method Detail
-
getMinTimestamp
public Timestamp getMinTimestamp()
- Specified by:
getMinTimestamp
in classTimestampRangePredicate<ChangeData>
-
getMaxTimestamp
public Timestamp getMaxTimestamp()
- Specified by:
getMaxTimestamp
in classTimestampRangePredicate<ChangeData>
-
match
public boolean match(ChangeData object)
Description copied from interface:Matchable
Does this predicate match this object?
-
-