Class AvroJodaTimeConversions.TimeMicrosConversion
java.lang.Object
org.apache.avro.Conversion<LocalTime>
org.apache.beam.sdk.extensions.avro.schemas.utils.AvroJodaTimeConversions.TimeMicrosConversion
- Direct Known Subclasses:
AvroJodaTimeConversions.LossyTimeMicrosConversion
- Enclosing class:
AvroJodaTimeConversions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromLong
(Long microsFromMidnight, Schema schema, LogicalType type) Methods inherited from class org.apache.avro.Conversion
adjustAndSetValue, fromArray, fromBoolean, fromBytes, fromCharSequence, fromDouble, fromEnumSymbol, fromFixed, fromFloat, fromInt, fromMap, fromRecord, getRecommendedSchema, toArray, toBoolean, toBytes, toCharSequence, toDouble, toEnumSymbol, toFixed, toFloat, toInt, toLong, toMap, toRecord
-
Constructor Details
-
TimeMicrosConversion
public TimeMicrosConversion()
-
-
Method Details
-
getConvertedType
- Specified by:
getConvertedType
in classConversion<LocalTime>
-
getLogicalTypeName
- Specified by:
getLogicalTypeName
in classConversion<LocalTime>
-
fromLong
- Overrides:
fromLong
in classConversion<LocalTime>
-