Package com.google.gerrit.index
Class Schema.Builder<T>
java.lang.Object
com.google.gerrit.index.Schema.Builder<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddIndexedFields
(com.google.common.collect.ImmutableList<IndexedField<T, ?>> indexedFields) final Schema.Builder<T>
addIndexedFields
(IndexedField<T, ?>... fields) addSearchSpecs
(com.google.common.collect.ImmutableList<IndexedField<T, ?>.SearchSpec> searchSpecs) final Schema.Builder<T>
addSearchSpecs
(IndexedField<T, ?>.SearchSpec... searchSpecs) build()
final Schema.Builder<T>
remove
(IndexedField<T, ?>... indexedFields) final Schema.Builder<T>
remove
(IndexedField<T, ?>.SearchSpec... searchSpecs) version
(int version)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
version
-
add
-
addSearchSpecs
@SafeVarargs public final Schema.Builder<T> addSearchSpecs(IndexedField<T, ?>.SearchSpec... searchSpecs) -
addSearchSpecs
public Schema.Builder<T> addSearchSpecs(com.google.common.collect.ImmutableList<IndexedField<T, ?>.SearchSpec> searchSpecs) -
addIndexedFields
-
addIndexedFields
public Schema.Builder<T> addIndexedFields(com.google.common.collect.ImmutableList<IndexedField<T, ?>> indexedFields) -
remove
-
remove
-
build
-