Package com.google.gerrit.index
Class SchemaUtil
java.lang.Object
com.google.gerrit.index.SchemaUtil
-
Method Summary
Modifier and TypeMethodDescriptiongetNameParts
(String name) getNameParts
(String name, Iterable<String> emails) getPersonParts
(org.eclipse.jgit.lib.PersonIdent person) static <V> Schema<V>
schema
(int version) static <V> Schema<V>
schema
(int version, com.google.common.collect.ImmutableList<IndexedField<V, ?>> indexedFields, com.google.common.collect.ImmutableList<IndexedField<V, ?>.SearchSpec> searchSpecs) static <V> Schema<V>
schema
(com.google.common.collect.ImmutableList<IndexedField<V, ?>> indexFields, com.google.common.collect.ImmutableList<IndexedField<V, ?>.SearchSpec> searchSpecs) static <V> Schema<V>
static <V> Schema<V>
schema
(Schema<V> schema, com.google.common.collect.ImmutableList<IndexedField<V, ?>> indexedFields, com.google.common.collect.ImmutableList<IndexedField<V, ?>.SearchSpec> searchSpecs) schemasFromClass
(Class<?> schemasClass, Class<V> valueClass)
-
Method Details
-
schemasFromClass
-
schema
-
schema
public static <V> Schema<V> schema(int version, com.google.common.collect.ImmutableList<IndexedField<V, ?>> indexedFields, com.google.common.collect.ImmutableList<IndexedField<V, ?>.SearchSpec> searchSpecs) -
schema
public static <V> Schema<V> schema(Schema<V> schema, com.google.common.collect.ImmutableList<IndexedField<V, ?>> indexedFields, com.google.common.collect.ImmutableList<IndexedField<V, ?>.SearchSpec> searchSpecs) -
schema
-
schema
public static <V> Schema<V> schema(com.google.common.collect.ImmutableList<IndexedField<V, ?>> indexFields, com.google.common.collect.ImmutableList<IndexedField<V, ?>.SearchSpec> searchSpecs) -
getPersonParts
-
getNameParts
-
getNameParts
-