public abstract class SortKeyPredicate extends IndexPredicate<ChangeData>
Modifier and Type | Class and Description |
---|---|
static class |
SortKeyPredicate.After |
static class |
SortKeyPredicate.Before |
Modifier and Type | Field and Description |
---|---|
protected com.google.inject.Provider<com.google.gerrit.reviewdb.server.ReviewDb> |
dbProvider |
protected Schema<ChangeData> |
schema |
Modifier and Type | Method and Description |
---|---|
abstract SortKeyPredicate |
copy(java.lang.String newValue) |
int |
getCost() |
abstract long |
getMaxValue(Schema<ChangeData> schema) |
abstract long |
getMinValue(Schema<ChangeData> schema) |
static boolean |
hasSortKeyField(Schema<ChangeData> schema) |
getField, getType
copy, equals, getOperator, getValue, hashCode, toString
protected final Schema<ChangeData> schema
protected final com.google.inject.Provider<com.google.gerrit.reviewdb.server.ReviewDb> dbProvider
public static boolean hasSortKeyField(Schema<ChangeData> schema)
public int getCost()
getCost
in class Predicate<ChangeData>
public abstract long getMinValue(Schema<ChangeData> schema)
public abstract long getMaxValue(Schema<ChangeData> schema)
public abstract SortKeyPredicate copy(java.lang.String newValue)