Package com.github.fge.avro.translators
Class CustomIntTranslator
- java.lang.Object
-
- com.github.fge.avro.translators.AvroTranslator
-
- com.github.fge.avro.translators.CustomIntTranslator
-
public class CustomIntTranslator extends AvroTranslator
-
-
Field Summary
-
Fields inherited from class com.github.fge.avro.translators.AvroTranslator
FACTORY
-
-
Constructor Summary
Constructors Constructor Description CustomIntTranslator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AvroTranslatorgetInstance()voidtranslate(org.apache.avro.Schema avroSchema, MutableTree jsonSchema, com.github.fge.jsonschema.core.report.ProcessingReport report)
-
-
-
Method Detail
-
getInstance
public static AvroTranslator getInstance()
-
translate
public void translate(org.apache.avro.Schema avroSchema, MutableTree jsonSchema, com.github.fge.jsonschema.core.report.ProcessingReport report) throws com.github.fge.jsonschema.core.exceptions.ProcessingException- Specified by:
translatein classAvroTranslator- Throws:
com.github.fge.jsonschema.core.exceptions.ProcessingException
-
-