Class AbstractIntDateTimeConverter
java.lang.Object
tech.allegro.schema.json2avro.converter.types.AbstractDateTimeConverter
tech.allegro.schema.json2avro.converter.types.AbstractIntDateTimeConverter
- All Implemented Interfaces:
AvroTypeConverter
- Direct Known Subclasses:
IntDateConverter,IntTimeMillisConverter
-
Nested Class Summary
Nested classes/interfaces inherited from interface tech.allegro.schema.json2avro.converter.types.AvroTypeConverter
AvroTypeConverter.Incompatible -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectconvertNumber(Number numberValue) protected org.apache.avro.Schema.TypeMethods inherited from class tech.allegro.schema.json2avro.converter.types.AbstractDateTimeConverter
canManage, convert, convertDateTimeString, getLogicalType, getValidNumberFormat, getValidStringFormat
-
Constructor Details
-
AbstractIntDateTimeConverter
public AbstractIntDateTimeConverter()
-
-
Method Details
-
convertNumber
- Specified by:
convertNumberin classAbstractDateTimeConverter
-
getUnderlyingSchemaType
protected org.apache.avro.Schema.Type getUnderlyingSchemaType()- Specified by:
getUnderlyingSchemaTypein classAbstractDateTimeConverter
-