Class SerializerDeserializerFactory

    • Constructor Detail

      • SerializerDeserializerFactory

        public SerializerDeserializerFactory()
    • Method Detail

      • getAvroGenericSerializer

        public static <K> RecordSerializer<K> getAvroGenericSerializer​(org.apache.avro.Schema schema)
      • getAvroGenericSerializer

        public static <K> RecordSerializer<K> getAvroGenericSerializer​(org.apache.avro.Schema schema,
                                                                       boolean buffered)
      • getVsonSerializer

        public static <K> RecordSerializer<K> getVsonSerializer​(org.apache.avro.Schema schema)
      • getVsonDeserializer

        public static <K> RecordDeserializer<K> getVsonDeserializer​(org.apache.avro.Schema writer,
                                                                    org.apache.avro.Schema reader)
      • getAvroGenericDeserializer

        public static <V> RecordDeserializer<V> getAvroGenericDeserializer​(org.apache.avro.Schema writer,
                                                                           org.apache.avro.Schema reader)
      • getAvroGenericDeserializer

        public static <V> RecordDeserializer<V> getAvroGenericDeserializer​(org.apache.avro.Schema schema)
        This function is assuming that both writer and reader are using the same schema.
        Type Parameters:
        V -
        Parameters:
        schema -
        Returns:
      • getAvroSpecificDeserializer

        public static <V extends org.apache.avro.specific.SpecificRecord> RecordDeserializer<V> getAvroSpecificDeserializer​(java.lang.Class<V> c)
        This function is assuming that both writer and reader are using the same schema defined in {@param c}.
        Type Parameters:
        V -
        Parameters:
        c -
        Returns:
      • getAvroSpecificDeserializer

        public static <V extends org.apache.avro.specific.SpecificRecord> RecordDeserializer<V> getAvroSpecificDeserializer​(org.apache.avro.Schema writer,
                                                                                                                            java.lang.Class<V> c)