java.lang.Object
org.apache.avro.specific.SpecificFixed
net.sourceforge.jbizmo.commons.avro.types.Uuid
All Implemented Interfaces:
Externalizable, Serializable, Comparable<org.apache.avro.specific.SpecificFixed>, org.apache.avro.generic.GenericContainer, org.apache.avro.generic.GenericFixed

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

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

    Constructors
    Constructor
    Description
    Creates a new Uuid
    Uuid(byte[] bytes)
    Creates a new Uuid with the given bytes.
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.apache.avro.Schema
     
    org.apache.avro.Schema
     
    void
     
    void
     

    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 Details

    • SCHEMA$

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

    • Uuid

      public Uuid()
      Creates a new Uuid
    • Uuid

      public Uuid(byte[] bytes)
      Creates a new Uuid with the given bytes.
      Parameters:
      bytes - The bytes to create the new Uuid.
  • Method Details

    • 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(ObjectOutput out) throws IOException
      Specified by:
      writeExternal in interface Externalizable
      Specified by:
      writeExternal in class org.apache.avro.specific.SpecificFixed
      Throws:
      IOException
    • readExternal

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