Package com.google.gerrit.index.query
Class TimestampRangePredicate<I>
- 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<I>
-
- Direct Known Subclasses:
TimestampRangeChangePredicate
public abstract class TimestampRangePredicate<I> extends IndexPredicate<I>
-
-
Field Summary
-
Fields inherited from class com.google.gerrit.index.query.OperatorPredicate
name, value
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Date
getMaxTimestamp()
abstract Date
getMinTimestamp()
protected Timestamp
getValueTimestamp(I object)
protected static Timestamp
parse(String value)
-
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
-
-
-
-
Method Detail
-
parse
protected static Timestamp parse(String value) throws QueryParseException
- Throws:
QueryParseException
-
getMinTimestamp
public abstract Date getMinTimestamp()
-
getMaxTimestamp
public abstract Date getMaxTimestamp()
-
-