Class SchemaUtil


  • public class SchemaUtil
    extends Object
    • Method Detail

      • 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,
                                           com.google.common.collect.ImmutableList<FieldDef<V,​?>> fields)
      • schema

        public static <V> Schema<V> schema​(int version,
                                           com.google.common.collect.ImmutableList<FieldDef<V,​?>> fieldDefs,
                                           com.google.common.collect.ImmutableList<IndexedField<V,​?>> indexedFields,
                                           com.google.common.collect.ImmutableList<IndexedField.SearchSpec> searchSpecs)
      • schema

        public static <V> Schema<V> schema​(Schema<V> schema,
                                           com.google.common.collect.ImmutableList<FieldDef<V,​?>> fieldDefs,
                                           com.google.common.collect.ImmutableList<IndexedField<V,​?>> indexedFields,
                                           com.google.common.collect.ImmutableList<IndexedField.SearchSpec> searchSpecs)
      • schema

        public static <V> Schema<V> schema​(com.google.common.collect.ImmutableList<FieldDef<V,​?>> fieldDefs,
                                           com.google.common.collect.ImmutableList<IndexedField<V,​?>> indexFields,
                                           com.google.common.collect.ImmutableList<IndexedField.SearchSpec> searchSpecs)
      • getPersonParts

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