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