public class UUIDConversion
extends org.apache.avro.Conversion<java.util.UUID>
Constructor and Description |
---|
UUIDConversion() |
Modifier and Type | Method and 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) |
adjustAndSetValue, fromArray, fromBoolean, fromBytes, fromCharSequence, fromDouble, fromEnumSymbol, fromFloat, fromInt, fromLong, fromMap, fromRecord, getRecommendedSchema, toArray, toBoolean, toBytes, toCharSequence, toDouble, toEnumSymbol, toFloat, toInt, toLong, toMap, toRecord
public java.lang.Class<java.util.UUID> getConvertedType()
getConvertedType
in class org.apache.avro.Conversion<java.util.UUID>
public java.lang.String getLogicalTypeName()
getLogicalTypeName
in class org.apache.avro.Conversion<java.util.UUID>
public java.util.UUID fromFixed(org.apache.avro.generic.GenericFixed value, org.apache.avro.Schema schema, org.apache.avro.LogicalType type)
fromFixed
in class org.apache.avro.Conversion<java.util.UUID>
public org.apache.avro.generic.GenericFixed toFixed(java.util.UUID value, org.apache.avro.Schema schema, org.apache.avro.LogicalType type)
toFixed
in class org.apache.avro.Conversion<java.util.UUID>