Class UUIDConversion


  • public class UUIDConversion
    extends org.apache.avro.Conversion<java.util.UUID>
    • Constructor Summary

      Constructors 
      Constructor Description
      UUIDConversion()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.UUID fromFixed​(org.apache.avro.generic.GenericFixed value, org.apache.avro.Schema schema, org.apache.avro.LogicalType type)  
      java.lang.Class<java.util.UUID> getConvertedType()  
      java.lang.String getLogicalTypeName()  
      org.apache.avro.generic.GenericFixed toFixed​(java.util.UUID value, org.apache.avro.Schema schema, org.apache.avro.LogicalType type)  
      • Methods inherited from class org.apache.avro.Conversion

        adjustAndSetValue, fromArray, fromBoolean, fromBytes, fromCharSequence, fromDouble, fromEnumSymbol, fromFloat, fromInt, fromLong, fromMap, fromRecord, getRecommendedSchema, toArray, toBoolean, toBytes, toCharSequence, toDouble, toEnumSymbol, toFloat, toInt, toLong, toMap, toRecord
      • Methods inherited from class java.lang.Object

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

      • UUIDConversion

        public UUIDConversion()
    • Method Detail

      • getConvertedType

        public java.lang.Class<java.util.UUID> getConvertedType()
        Specified by:
        getConvertedType in class org.apache.avro.Conversion<java.util.UUID>
      • getLogicalTypeName

        public java.lang.String getLogicalTypeName()
        Specified by:
        getLogicalTypeName in class org.apache.avro.Conversion<java.util.UUID>
      • fromFixed

        public java.util.UUID fromFixed​(org.apache.avro.generic.GenericFixed value,
                                        org.apache.avro.Schema schema,
                                        org.apache.avro.LogicalType type)
        Overrides:
        fromFixed in class org.apache.avro.Conversion<java.util.UUID>
      • toFixed

        public org.apache.avro.generic.GenericFixed toFixed​(java.util.UUID value,
                                                            org.apache.avro.Schema schema,
                                                            org.apache.avro.LogicalType type)
        Overrides:
        toFixed in class org.apache.avro.Conversion<java.util.UUID>