Class AvroJodaTimeConversions.TimestampMicrosConversion

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.joda.time.DateTime fromLong​(java.lang.Long microsFromEpoch, org.apache.avro.Schema schema, org.apache.avro.LogicalType type)  
      java.lang.Class<org.joda.time.DateTime> getConvertedType()  
      java.lang.String getLogicalTypeName()  
      • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TimestampMicrosConversion

        public TimestampMicrosConversion()
    • Method Detail

      • getConvertedType

        public java.lang.Class<org.joda.time.DateTime> getConvertedType()
        Specified by:
        getConvertedType in class org.apache.avro.Conversion<org.joda.time.DateTime>
      • getLogicalTypeName

        public java.lang.String getLogicalTypeName()
        Specified by:
        getLogicalTypeName in class org.apache.avro.Conversion<org.joda.time.DateTime>
      • fromLong

        public org.joda.time.DateTime fromLong​(java.lang.Long microsFromEpoch,
                                               org.apache.avro.Schema schema,
                                               org.apache.avro.LogicalType type)
        Overrides:
        fromLong in class org.apache.avro.Conversion<org.joda.time.DateTime>