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>
-
- All Implemented Interfaces:
Matchable<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 DategetMaxTimestamp()abstract DategetMinTimestamp()protected TimestampgetValueTimestamp(I object)protected static Timestampparse(String value)-
Methods inherited from class com.google.gerrit.index.query.IndexPredicate
getCost, getField, getType, match
-
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, getFlattenedPredicateList, getLeafCount, getPredicateString, isLeaf, isMatchable, not, or, or, supportedForQueries
-
-
-
-
Method Detail
-
parse
protected static Timestamp parse(String value) throws QueryParseException
- Throws:
QueryParseException
-
getMinTimestamp
public abstract Date getMinTimestamp()
-
getMaxTimestamp
public abstract Date getMaxTimestamp()
-
-