public static class JodaTimeConversions.TimestampConversion extends Conversion<org.joda.time.DateTime>
| Constructor and Description | 
|---|
TimestampConversion()  | 
| Modifier and Type | Method and Description | 
|---|---|
org.joda.time.DateTime | 
fromLong(Long millisFromEpoch,
        Schema schema,
        LogicalType type)  | 
Class<org.joda.time.DateTime> | 
getConvertedType()
Return the Java class representing the logical type. 
 | 
String | 
getLogicalTypeName()
Return the logical type this class converts. 
 | 
Schema | 
getRecommendedSchema()  | 
Long | 
toLong(org.joda.time.DateTime timestamp,
      Schema schema,
      LogicalType type)  | 
adjustAndSetValue, fromArray, fromBoolean, fromBytes, fromCharSequence, fromDouble, fromEnumSymbol, fromFixed, fromFloat, fromInt, fromMap, fromRecord, toArray, toBoolean, toBytes, toCharSequence, toDouble, toEnumSymbol, toFixed, toFloat, toInt, toMap, toRecordpublic Class<org.joda.time.DateTime> getConvertedType()
ConversiongetConvertedType in class Conversion<org.joda.time.DateTime>public String getLogicalTypeName()
ConversiongetLogicalTypeName in class Conversion<org.joda.time.DateTime>public org.joda.time.DateTime fromLong(Long millisFromEpoch, Schema schema, LogicalType type)
fromLong in class Conversion<org.joda.time.DateTime>public Long toLong(org.joda.time.DateTime timestamp, Schema schema, LogicalType type)
toLong in class Conversion<org.joda.time.DateTime>public Schema getRecommendedSchema()
getRecommendedSchema in class Conversion<org.joda.time.DateTime>Copyright © 2009–2019 The Apache Software Foundation. All rights reserved.