com.fasterxml.jackson.dataformat.avro

## Class CustomEncodingWrapper<T>

- java.lang.Object
- - com.fasterxml.jackson.dataformat.avro.CustomEncodingWrapper<T>

-     public class CustomEncodingWrapper<T>
      extends Object

  Wrapper that makes the methods on a `CustomEncoding` accessible since they are otherwise package-private.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CustomEncodingWrapper(org.apache.avro.reflect.CustomEncoding<T> encoding)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `org.apache.avro.Schema` | `getSchema()`
    `T` | `read(Object reuse, org.apache.avro.io.Decoder in)`
    `void` | `write(Object datum, org.apache.avro.io.Encoder out)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### CustomEncodingWrapper

          public CustomEncodingWrapper(org.apache.avro.reflect.CustomEncoding<T> encoding)

  - ### Method Detail

    - #### write

          public void write(Object datum,
                   org.apache.avro.io.Encoder out)
                     throws IOException

      Throws:
        `IOException`

    - #### getSchema

          public org.apache.avro.Schema getSchema()

    - #### read

          public T read(Object reuse,
               org.apache.avro.io.Decoder in)
                 throws IOException

      Throws:
        `IOException`

Copyright © 2017 FasterXML. All rights reserved.