public abstract class TimestampRangePredicate<I> extends IndexPredicate<I>
Modifier | Constructor and Description |
---|---|
protected |
TimestampRangePredicate(FieldDef<I,Timestamp> def,
String name,
String value) |
Modifier and Type | Method and Description |
---|---|
int |
getCost() |
abstract Date |
getMaxTimestamp() |
abstract Date |
getMinTimestamp() |
protected static Timestamp |
parse(String value) |
protected static FieldDef<ChangeData,Timestamp> |
updatedField(Schema<ChangeData> schema) |
getField, getType
copy, equals, getOperator, getValue, hashCode, toString
protected static FieldDef<ChangeData,Timestamp> updatedField(Schema<ChangeData> schema)
protected static Timestamp parse(String value) throws com.google.gerrit.server.query.QueryParseException
com.google.gerrit.server.query.QueryParseException
public abstract Date getMinTimestamp()
public abstract Date getMaxTimestamp()