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