Class NoWrappingJsonEncoder

java.lang.Object
org.apache.avro.io.Encoder
org.apache.avro.io.ParsingEncoder
org.apache.avro.io.JsonEncoder
org.apache.avro.io.NoWrappingJsonEncoder
All Implemented Interfaces:
Flushable, org.apache.avro.io.parsing.Parser.ActionHandler

public class NoWrappingJsonEncoder extends org.apache.avro.io.JsonEncoder
  • Field Summary

    Fields inherited from class org.apache.avro.io.JsonEncoder

    isEmpty

    Fields inherited from class org.apache.avro.io.ParsingEncoder

    pos
  • Constructor Summary

    Constructors
    Constructor
    Description
    NoWrappingJsonEncoder(org.apache.avro.Schema sc, com.fasterxml.jackson.core.JsonGenerator out)
     
    NoWrappingJsonEncoder(org.apache.avro.Schema sc, OutputStream out)
     
    NoWrappingJsonEncoder(org.apache.avro.Schema sc, OutputStream out, boolean pretty)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    writeIndex(int unionIndex)
     

    Methods inherited from class org.apache.avro.io.JsonEncoder

    configure, doAction, flush, isIncludeNamespace, setIncludeNamespace, startItem, writeArrayEnd, writeArrayStart, writeBoolean, writeBytes, writeBytes, writeDouble, writeEnum, writeFixed, writeFloat, writeInt, writeLong, writeMapEnd, writeMapStart, writeNull, writeString, writeString

    Methods inherited from class org.apache.avro.io.ParsingEncoder

    depth, pop, push, setItemCount

    Methods inherited from class org.apache.avro.io.Encoder

    writeBytes, writeFixed, writeFixed, writeString

    Methods inherited from class java.lang.Object

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

    • NoWrappingJsonEncoder

      public NoWrappingJsonEncoder(org.apache.avro.Schema sc, OutputStream out) throws IOException
      Throws:
      IOException
    • NoWrappingJsonEncoder

      public NoWrappingJsonEncoder(org.apache.avro.Schema sc, OutputStream out, boolean pretty) throws IOException
      Throws:
      IOException
    • NoWrappingJsonEncoder

      public NoWrappingJsonEncoder(org.apache.avro.Schema sc, com.fasterxml.jackson.core.JsonGenerator out) throws IOException
      Throws:
      IOException
  • Method Details

    • writeIndex

      public void writeIndex(int unionIndex) throws IOException
      Overrides:
      writeIndex in class org.apache.avro.io.JsonEncoder
      Throws:
      IOException