public static class AvroJodaTimeConversions.TimestampMicrosConversion extends Conversion<DateTime>
Constructor and Description |
---|
TimestampMicrosConversion() |
Modifier and Type | Method and Description |
---|---|
DateTime |
fromLong(java.lang.Long microsFromEpoch,
Schema schema,
LogicalType type) |
java.lang.Class<DateTime> |
getConvertedType() |
java.lang.String |
getLogicalTypeName() |
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
public java.lang.Class<DateTime> getConvertedType()
getConvertedType
in class Conversion<DateTime>
public java.lang.String getLogicalTypeName()
getLogicalTypeName
in class Conversion<DateTime>
public DateTime fromLong(java.lang.Long microsFromEpoch, Schema schema, LogicalType type)
fromLong
in class Conversion<DateTime>