Interface CodecFactory

All Known Implementing Classes:
AvroCodecFactory, AvroRecordCodecFactory, NoCodecFactory, SerializableCodecFactory

public interface CodecFactory
Factory to init and provide codec object.
Since:
10.2
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    init(Map<String,String> options)
    Initializes the codec factory using a map of options.
    <T> Codec<T>
    newCodec(Class<T> objectClass)
    Returns a codec object enables to encode/decode object ot class T.
  • Method Details

    • init

      void init(Map<String,String> options)
      Initializes the codec factory using a map of options.
    • newCodec

      <T> Codec<T> newCodec(Class<T> objectClass)
      Returns a codec object enables to encode/decode object ot class T.