Package com.google.gerrit.index
Class QueryOptions
- java.lang.Object
-
- com.google.gerrit.index.QueryOptions
-
public abstract class QueryOptions extends Object
-
-
Constructor Summary
Constructors Constructor Description QueryOptions()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract IndexConfig
config()
QueryOptions
convertForBackend()
static QueryOptions
create(IndexConfig config, int start, int limit, Set<String> fields)
abstract com.google.common.collect.ImmutableSet<String>
fields()
QueryOptions
filterFields(Function<QueryOptions,Set<String>> filter)
abstract int
limit()
abstract int
start()
QueryOptions
withLimit(int newLimit)
QueryOptions
withStart(int newStart)
-
-
-
Method Detail
-
create
public static QueryOptions create(IndexConfig config, int start, int limit, Set<String> fields)
-
convertForBackend
public QueryOptions convertForBackend()
-
config
public abstract IndexConfig config()
-
start
public abstract int start()
-
limit
public abstract int limit()
-
fields
public abstract com.google.common.collect.ImmutableSet<String> fields()
-
withLimit
public QueryOptions withLimit(int newLimit)
-
withStart
public QueryOptions withStart(int newStart)
-
filterFields
public QueryOptions filterFields(Function<QueryOptions,Set<String>> filter)
-
-