public static class TimeConversions.TimestampMicrosConversion extends Conversion<org.joda.time.DateTime>
Constructor and Description |
---|
TimeConversions.TimestampMicrosConversion() |
Modifier and Type | Method and Description |
---|---|
org.joda.time.DateTime |
fromLong(Long microsFromEpoch,
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.
|
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 TimeConversions.TimestampMicrosConversion()
public Class<org.joda.time.DateTime> getConvertedType()
Conversion
getConvertedType
in class Conversion<org.joda.time.DateTime>
public String getLogicalTypeName()
Conversion
getLogicalTypeName
in class Conversion<org.joda.time.DateTime>
public org.joda.time.DateTime fromLong(Long microsFromEpoch, Schema schema, LogicalType type)
fromLong
in class Conversion<org.joda.time.DateTime>
Copyright © 2009–2016 The Apache Software Foundation. All rights reserved.