Class SchemaAndToString


  • public class SchemaAndToString
    extends java.lang.Object
    Used to cache the toString of a given schema, since it is expensive to compute.
    • Constructor Summary

      Constructors 
      Constructor Description
      SchemaAndToString​(org.apache.avro.Schema schema)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.avro.Schema getSchema()  
      java.lang.String getToString()  
      • Methods inherited from class java.lang.Object

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

      • SchemaAndToString

        public SchemaAndToString​(org.apache.avro.Schema schema)
    • Method Detail

      • getSchema

        public org.apache.avro.Schema getSchema()
      • getToString

        public java.lang.String getToString()