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 IndexConfigconfig()QueryOptionsconvertForBackend()static QueryOptionscreate(IndexConfig config, int start, int limit, Set<String> fields)abstract com.google.common.collect.ImmutableSet<String>fields()QueryOptionsfilterFields(Function<QueryOptions,Set<String>> filter)abstract intlimit()abstract intstart()QueryOptionswithLimit(int newLimit)QueryOptionswithStart(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)
-
-