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