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