Package com.google.gerrit.index
Class IndexConfig
- java.lang.Object
-
- com.google.gerrit.index.IndexConfig
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IndexConfig.Builder
-
Constructor Summary
Constructors Constructor Description IndexConfig()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static IndexConfig.Builder
builder()
static IndexConfig
createDefault()
static IndexConfig.Builder
fromConfig(org.eclipse.jgit.lib.Config cfg)
abstract int
maxLimit()
abstract int
maxPages()
abstract int
maxTerms()
abstract boolean
separateChangeSubIndexes()
abstract String
type()
-
-
-
Method Detail
-
createDefault
public static IndexConfig createDefault()
-
fromConfig
public static IndexConfig.Builder fromConfig(org.eclipse.jgit.lib.Config cfg)
-
builder
public static IndexConfig.Builder builder()
-
maxLimit
public abstract int maxLimit()
- Returns:
- maximum limit supported by the underlying index, or limited for performance reasons.
-
maxPages
public abstract int maxPages()
- Returns:
- maximum number of pages (limit / start) supported by the underlying index, or limited for performance reasons.
-
maxTerms
public abstract int maxTerms()
- Returns:
- maximum number of total index query terms supported by the underlying index, or limited for performance reasons.
-
type
public abstract String type()
- Returns:
- index type.
-
separateChangeSubIndexes
public abstract boolean separateChangeSubIndexes()
- Returns:
- whether different subsets of changes may be stored in different physical sub-indexes.
-
-