Class UUIDConversion

java.lang.Object
org.apache.avro.Conversion<UUID>
org.apache.iceberg.avro.UUIDConversion

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    fromFixed(org.apache.avro.generic.GenericFixed value, org.apache.avro.Schema schema, org.apache.avro.LogicalType type)
     
     
     
    org.apache.avro.generic.GenericFixed
    toFixed(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 Details

    • UUIDConversion

      public UUIDConversion()
  • Method Details

    • getConvertedType

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

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

      public 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<UUID>
    • toFixed

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