Package org.apache.iceberg.avro
Class UUIDConversion
- java.lang.Object
-
- org.apache.avro.Conversion<java.util.UUID>
-
- org.apache.iceberg.avro.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
-
-
-
-
Method Detail
-
getConvertedType
public java.lang.Class<java.util.UUID> getConvertedType()
- Specified by:
getConvertedType
in classorg.apache.avro.Conversion<java.util.UUID>
-
getLogicalTypeName
public java.lang.String getLogicalTypeName()
- Specified by:
getLogicalTypeName
in classorg.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 classorg.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 classorg.apache.avro.Conversion<java.util.UUID>
-
-