public static class AvroJavaTimeConversions.TimeMillisConversion extends Conversion<java.time.LocalTime>
Constructor and Description |
---|
TimeMillisConversion() |
Modifier and Type | Method and Description |
---|---|
java.time.LocalTime |
fromInt(java.lang.Integer millisFromMidnight,
Schema schema,
LogicalType type) |
java.lang.Class<java.time.LocalTime> |
getConvertedType() |
java.lang.String |
getLogicalTypeName() |
Schema |
getRecommendedSchema() |
java.lang.Integer |
toInt(java.time.LocalTime time,
Schema schema,
LogicalType type) |
adjustAndSetValue, fromArray, fromBoolean, fromBytes, fromCharSequence, fromDouble, fromEnumSymbol, fromFixed, fromFloat, fromLong, fromMap, fromRecord, toArray, toBoolean, toBytes, toCharSequence, toDouble, toEnumSymbol, toFixed, toFloat, toLong, toMap, toRecord
public java.lang.Class<java.time.LocalTime> getConvertedType()
getConvertedType
in class Conversion<java.time.LocalTime>
public java.lang.String getLogicalTypeName()
getLogicalTypeName
in class Conversion<java.time.LocalTime>
public java.time.LocalTime fromInt(java.lang.Integer millisFromMidnight, Schema schema, LogicalType type)
fromInt
in class Conversion<java.time.LocalTime>
public java.lang.Integer toInt(java.time.LocalTime time, Schema schema, LogicalType type)
toInt
in class Conversion<java.time.LocalTime>
public Schema getRecommendedSchema()
getRecommendedSchema
in class Conversion<java.time.LocalTime>