public static class AvroJodaTimeConversions.LossyTimestampMicrosConversion extends AvroJodaTimeConversions.TimestampMicrosConversion
Constructor and Description |
---|
LossyTimestampMicrosConversion() |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
toLong(DateTime timestamp,
Schema schema,
LogicalType type) |
fromLong, getConvertedType, getLogicalTypeName
adjustAndSetValue, fromArray, fromBoolean, fromBytes, fromCharSequence, fromDouble, fromEnumSymbol, fromFixed, fromFloat, fromInt, fromMap, fromRecord, getRecommendedSchema, toArray, toBoolean, toBytes, toCharSequence, toDouble, toEnumSymbol, toFixed, toFloat, toInt, toMap, toRecord
public java.lang.Long toLong(DateTime timestamp, Schema schema, LogicalType type)
toLong
in class Conversion<DateTime>