public static class JodaTimeConversions.LossyTimestampMicrosConversion extends JodaTimeConversions.TimestampMicrosConversion
Constructor and Description |
---|
LossyTimestampMicrosConversion() |
Modifier and Type | Method and Description |
---|---|
Long |
toLong(org.joda.time.DateTime timestamp,
Schema schema,
LogicalType type) |
fromLong, getConvertedType, getLogicalTypeName, getRecommendedSchema
adjustAndSetValue, fromArray, fromBoolean, fromBytes, fromCharSequence, fromDouble, fromEnumSymbol, fromFixed, fromFloat, fromInt, fromMap, fromRecord, toArray, toBoolean, toBytes, toCharSequence, toDouble, toEnumSymbol, toFixed, toFloat, toInt, toMap, toRecord
public Long toLong(org.joda.time.DateTime timestamp, Schema schema, LogicalType type)
toLong
in class Conversion<org.joda.time.DateTime>
Copyright © 2009–2020 The Apache Software Foundation. All rights reserved.