Class AvroSchemaVisitor<T>

  • Direct Known Subclasses:
    RemoveIds

    public abstract class AvroSchemaVisitor<T>
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T array​(org.apache.avro.Schema array, T element)  
      protected java.util.Deque<java.lang.String> fieldNames()  
      T map​(org.apache.avro.Schema map, T value)  
      T primitive​(org.apache.avro.Schema primitive)  
      T record​(org.apache.avro.Schema record, java.util.List<java.lang.String> names, java.util.List<T> fields)  
      T union​(org.apache.avro.Schema union, java.util.List<T> options)  
      static <T> T visit​(org.apache.avro.Schema schema, AvroSchemaVisitor<T> visitor)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AvroSchemaVisitor

        public AvroSchemaVisitor()
    • Method Detail

      • visit

        public static <T> T visit​(org.apache.avro.Schema schema,
                                  AvroSchemaVisitor<T> visitor)
      • fieldNames

        protected java.util.Deque<java.lang.String> fieldNames()
      • record

        public T record​(org.apache.avro.Schema record,
                        java.util.List<java.lang.String> names,
                        java.util.List<T> fields)
      • union

        public T union​(org.apache.avro.Schema union,
                       java.util.List<T> options)
      • array

        public T array​(org.apache.avro.Schema array,
                       T element)
      • map

        public T map​(org.apache.avro.Schema map,
                     T value)
      • primitive

        public T primitive​(org.apache.avro.Schema primitive)