Class AvroJodaTimeConversions.LossyTimestampMicrosConversion

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Long toLong​(org.joda.time.DateTime timestamp, org.apache.avro.Schema schema, org.apache.avro.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, toMap, toRecord
      • Methods inherited from class java.lang.Object

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

      • LossyTimestampMicrosConversion

        public LossyTimestampMicrosConversion()
    • Method Detail

      • toLong

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