| Package | Description | 
|---|---|
| org.apache.avro.data | Interfaces and base classes shared by generic, specific and reflect. | 
| org.apache.avro.generic | A generic representation for Avro data. | 
| org.apache.avro.io | Utilities for Encoding and Decoding Avro data. | 
| org.apache.avro.io.parsing | Implementation of Avro schemas as LL(1) grammars. | 
| org.apache.avro.ipc | Support for inter-process calls. | 
| org.apache.avro.ipc.generic | |
| org.apache.avro.ipc.reflect | |
| org.apache.avro.ipc.specific | |
| org.apache.avro.perf.test | |
| org.apache.avro.protobuf | Protocol Buffer
  compatibility. | 
| org.apache.avro.reflect | Use Java reflection to generate schemas and protocols for existing
classes. | 
| org.apache.avro.specific | Generate specific Java classes for schemas and protocols. | 
| org.apache.avro.thrift | Thrift compatibility. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | Json.ObjectWriter. write(Object datum,
     Encoder out) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | GenericDatumWriter. write(D datum,
     Encoder out) | 
| protected void | GenericDatumWriter. write(Schema schema,
     Object datum,
     Encoder out)Called to write data. | 
| protected void | GenericDatumWriter. writeArray(Schema schema,
          Object datum,
          Encoder out)Called to write a array. | 
| protected void | GenericDatumWriter. writeBytes(Object datum,
          Encoder out)Called to write a bytes. | 
| protected void | GenericDatumWriter. writeEnum(Schema schema,
         Object datum,
         Encoder out)Called to write an enum value. | 
| protected void | GenericDatumWriter. writeField(Object datum,
          Schema.Field f,
          Encoder out,
          Object state)Called to write a single field of a record. | 
| protected void | GenericDatumWriter. writeFixed(Schema schema,
          Object datum,
          Encoder out)Called to write a fixed value. | 
| protected void | GenericDatumWriter. writeMap(Schema schema,
        Object datum,
        Encoder out)Called to write a map. | 
| protected void | GenericDatumWriter. writeRecord(Schema schema,
           Object datum,
           Encoder out)Called to write a record. | 
| protected void | GenericDatumWriter. writeString(Object datum,
           Encoder out)Called to write a string. | 
| protected void | GenericDatumWriter. writeString(Schema schema,
           Object datum,
           Encoder out)Called to write a string. | 
| protected void | GenericDatumWriter. writeWithoutConversion(Schema schema,
                      Object datum,
                      Encoder out)Called to write data. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | BinaryEncoderAn abstract  Encoderfor Avro's binary encoding. | 
| class  | BlockingBinaryEncoderA  BinaryEncoderimplementation that writes large arrays and maps as a
 sequence of blocks. | 
| class  | BufferedBinaryEncoderAn  Encoderfor Avro's binary encoding. | 
| class  | DirectBinaryEncoderAn  Encoderfor Avro's binary encoding that does not buffer output. | 
| class  | JsonEncoderAn  Encoderfor Avro's JSON data encoding. | 
| class  | ParsingEncoder | 
| class  | ValidatingEncoderAn implementation of  Encoderthat wraps another Encoder and ensures
 that the sequence of operations conforms to the provided schema. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Encoder | ValidatingEncoder. out | 
| Modifier and Type | Method and Description | 
|---|---|
| ValidatingEncoder | ValidatingEncoder. configure(Encoder encoder)Reconfigures this ValidatingEncoder to wrap the encoder provided. | 
| ValidatingEncoder | EncoderFactory. validatingEncoder(Schema schema,
                 Encoder encoder)Creates a  ValidatingEncoderthat wraps the Encoder provided. | 
| void | DatumWriter. write(D datum,
     Encoder out)Write a datum. | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | ResolvingGrammarGenerator. encode(Encoder e,
      Schema s,
      com.fasterxml.jackson.databind.JsonNode n)Encodes the given Json node n on to the encoder e according
 to the schema s. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | HandshakeResponse. customEncode(Encoder out) | 
| void | HandshakeRequest. customEncode(Encoder out) | 
| abstract void | Responder. writeError(Schema schema,
          Object error,
          Encoder out)Writes an error message. | 
| abstract void | Requestor. writeRequest(Schema schema,
            Object request,
            Encoder out)Writes a request message. | 
| abstract void | Responder. writeResponse(Schema schema,
             Object response,
             Encoder out)Writes a response message. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | GenericResponder. writeError(Schema schema,
          Object error,
          Encoder out) | 
| void | GenericRequestor. writeRequest(Schema schema,
            Object request,
            Encoder out) | 
| void | GenericResponder. writeResponse(Schema schema,
             Object response,
             Encoder out) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ReflectResponder. writeError(Schema schema,
          Object error,
          Encoder out) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | SpecificResponder. writeError(Schema schema,
          Object error,
          Encoder out) | 
| void | SpecificRequestor. writeRequest(Schema schema,
            Object request,
            Encoder out) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Encoder | BasicState. newEncoder(boolean direct,
          OutputStream out) | 
| protected Encoder | BasicState. newEncoder(int blockSize,
          OutputStream out) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | ProtobufDatumWriter. writeBytes(Object datum,
          Encoder out) | 
| protected void | ProtobufDatumWriter. writeEnum(Schema schema,
         Object datum,
         Encoder out) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | DateAsLongEncoding. write(Object datum,
     Encoder out) | 
| protected abstract void | CustomEncoding. write(Object datum,
     Encoder out) | 
| protected void | ReflectDatumWriter. write(Schema schema,
     Object datum,
     Encoder out) | 
| protected void | ReflectDatumWriter. writeArray(Schema schema,
          Object datum,
          Encoder out)Called to write a array. | 
| protected void | ReflectDatumWriter. writeBytes(Object datum,
          Encoder out) | 
| protected void | ReflectDatumWriter. writeField(Object record,
          Schema.Field f,
          Encoder out,
          Object state) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | SpecificRecordBase. customEncode(Encoder out) | 
| protected void | SpecificDatumWriter. writeEnum(Schema schema,
         Object datum,
         Encoder out) | 
| protected void | SpecificDatumWriter. writeField(Object datum,
          Schema.Field f,
          Encoder out,
          Object state) | 
| protected void | SpecificDatumWriter. writeRecord(Schema schema,
           Object datum,
           Encoder out) | 
| protected void | SpecificDatumWriter. writeString(Schema schema,
           Object datum,
           Encoder out) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | ThriftDatumWriter. writeBytes(Object datum,
          Encoder out) | 
Copyright © 2009–2020 The Apache Software Foundation. All rights reserved.