Class AvroJodaTimeConversions.TimestampMicrosConversion
java.lang.Object
org.apache.avro.Conversion<DateTime>
org.apache.beam.sdk.extensions.avro.schemas.utils.AvroJodaTimeConversions.TimestampMicrosConversion
- Direct Known Subclasses:
AvroJodaTimeConversions.LossyTimestampMicrosConversion
- Enclosing class:
AvroJodaTimeConversions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromLong
(Long microsFromEpoch, 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
-
TimestampMicrosConversion
public TimestampMicrosConversion()
-
-
Method Details
-
getConvertedType
- Specified by:
getConvertedType
in classConversion<DateTime>
-
getLogicalTypeName
- Specified by:
getLogicalTypeName
in classConversion<DateTime>
-
fromLong
- Overrides:
fromLong
in classConversion<DateTime>
-