public static class AvroJodaTimeConversions.DateConversion
extends org.apache.avro.Conversion<org.joda.time.LocalDate>
| Constructor and Description |
|---|
DateConversion() |
| Modifier and Type | Method and Description |
|---|---|
org.joda.time.LocalDate |
fromInt(java.lang.Integer daysFromEpoch,
org.apache.avro.Schema schema,
org.apache.avro.LogicalType type) |
java.lang.Class<org.joda.time.LocalDate> |
getConvertedType() |
java.lang.String |
getLogicalTypeName() |
java.lang.Integer |
toInt(org.joda.time.LocalDate date,
org.apache.avro.Schema schema,
org.apache.avro.LogicalType type) |
fromArray, fromBoolean, fromBytes, fromCharSequence, fromDouble, fromEnumSymbol, fromFixed, fromFloat, fromLong, fromMap, fromRecord, getRecommendedSchema, toArray, toBoolean, toBytes, toCharSequence, toDouble, toEnumSymbol, toFixed, toFloat, toLong, toMap, toRecordpublic java.lang.Class<org.joda.time.LocalDate> getConvertedType()
getConvertedType in class org.apache.avro.Conversion<org.joda.time.LocalDate>public java.lang.String getLogicalTypeName()
getLogicalTypeName in class org.apache.avro.Conversion<org.joda.time.LocalDate>public org.joda.time.LocalDate fromInt(java.lang.Integer daysFromEpoch,
org.apache.avro.Schema schema,
org.apache.avro.LogicalType type)
fromInt in class org.apache.avro.Conversion<org.joda.time.LocalDate>public java.lang.Integer toInt(org.joda.time.LocalDate date,
org.apache.avro.Schema schema,
org.apache.avro.LogicalType type)
toInt in class org.apache.avro.Conversion<org.joda.time.LocalDate>