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:
getConvertedTypein classConversion<LocalTime>
-
getLogicalTypeName
- Specified by:
getLogicalTypeNamein classConversion<LocalTime>
-
fromInt
- Overrides:
fromIntin classConversion<LocalTime>
-
toInt
- Overrides:
toIntin classConversion<LocalTime>
-