Class GUID

  • All Implemented Interfaces:
    java.io.Externalizable, java.io.Serializable, java.lang.Comparable<org.apache.avro.specific.SpecificFixed>, org.apache.avro.generic.GenericContainer, org.apache.avro.generic.GenericFixed

    @FixedSize(16)
    public class GUID
    extends org.apache.avro.specific.SpecificFixed
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.apache.avro.Schema SCHEMA$  
    • Constructor Summary

      Constructors 
      Constructor Description
      GUID()  
      GUID​(byte[] bytes)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static org.apache.avro.Schema getClassSchema()  
      org.apache.avro.Schema getSchema()  
      void readExternal​(java.io.ObjectInput in)  
      void writeExternal​(java.io.ObjectOutput out)  
      • Methods inherited from class org.apache.avro.specific.SpecificFixed

        bytes, bytes, compareTo, equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • SCHEMA$

        public static final org.apache.avro.Schema SCHEMA$
    • Constructor Detail

      • GUID

        public GUID()
      • GUID

        public GUID​(byte[] bytes)
    • Method Detail

      • getClassSchema

        public static org.apache.avro.Schema getClassSchema()
      • getSchema

        public org.apache.avro.Schema getSchema()
        Specified by:
        getSchema in interface org.apache.avro.generic.GenericContainer
        Specified by:
        getSchema in class org.apache.avro.specific.SpecificFixed
      • writeExternal

        public void writeExternal​(java.io.ObjectOutput out)
                           throws java.io.IOException
        Specified by:
        writeExternal in interface java.io.Externalizable
        Specified by:
        writeExternal in class org.apache.avro.specific.SpecificFixed
        Throws:
        java.io.IOException
      • readExternal

        public void readExternal​(java.io.ObjectInput in)
                          throws java.io.IOException
        Specified by:
        readExternal in interface java.io.Externalizable
        Specified by:
        readExternal in class org.apache.avro.specific.SpecificFixed
        Throws:
        java.io.IOException