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