Class AvroWriter

    • Constructor Summary

      Constructors 
      Constructor Description
      AvroWriter()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected abstract org.apache.avro.Schema generate​(AvroWriterProcessor writer, com.github.fge.jsonschema.core.report.ProcessingReport report, com.github.fge.jsonschema.core.tree.SchemaTree tree)  
      com.github.fge.jsonschema.core.util.ValueHolder<org.apache.avro.Schema> process​(com.github.fge.jsonschema.core.report.ProcessingReport report, AvroPayload input)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AvroWriter

        public AvroWriter()
    • Method Detail

      • process

        public final com.github.fge.jsonschema.core.util.ValueHolder<org.apache.avro.Schema> process​(com.github.fge.jsonschema.core.report.ProcessingReport report,
                                                                                                     AvroPayload input)
                                                                                              throws com.github.fge.jsonschema.core.exceptions.ProcessingException
        Specified by:
        process in interface com.github.fge.jsonschema.core.processing.Processor<AvroPayload,​com.github.fge.jsonschema.core.util.ValueHolder<org.apache.avro.Schema>>
        Throws:
        com.github.fge.jsonschema.core.exceptions.ProcessingException
      • generate

        protected abstract org.apache.avro.Schema generate​(AvroWriterProcessor writer,
                                                           com.github.fge.jsonschema.core.report.ProcessingReport report,
                                                           com.github.fge.jsonschema.core.tree.SchemaTree tree)
                                                    throws com.github.fge.jsonschema.core.exceptions.ProcessingException
        Throws:
        com.github.fge.jsonschema.core.exceptions.ProcessingException