Class SchemaUtil

java.lang.Object
com.google.gerrit.index.SchemaUtil

public class SchemaUtil extends Object
  • Method Details

    • schemasFromClass

      public static <V> com.google.common.collect.ImmutableSortedMap<Integer,Schema<V>> schemasFromClass(Class<?> schemasClass, Class<V> valueClass)
    • schema

      public static <V> Schema<V> schema(int version)
    • 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

      public static <V> Schema<V> schema(Schema<V> 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

      public static Set<String> getPersonParts(org.eclipse.jgit.lib.PersonIdent person)
    • getNameParts

      public static Set<String> getNameParts(String name)
    • getNameParts

      public static Set<String> getNameParts(String name, Iterable<String> emails)