Package org.apache.iceberg.avro
Class UUIDConversion
java.lang.Object
org.apache.avro.Conversion<UUID>
org.apache.iceberg.avro.UUIDConversion
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfromFixed
(org.apache.avro.generic.GenericFixed value, org.apache.avro.Schema schema, org.apache.avro.LogicalType type) org.apache.avro.generic.GenericFixed
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
-
Constructor Details
-
UUIDConversion
public UUIDConversion()
-
-
Method Details
-
getConvertedType
- Specified by:
getConvertedType
in classorg.apache.avro.Conversion<UUID>
-
getLogicalTypeName
- Specified by:
getLogicalTypeName
in classorg.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 classorg.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 classorg.apache.avro.Conversion<UUID>
-