Package org.apache.storm.hdfs.avro

# Class GenericAvroSerializer

java.lang.Object
com.esotericsoftware.kryo.Serializer<org.apache.avro.generic.GenericContainer>
org.apache.storm.hdfs.avro.AbstractAvroSerializer
org.apache.storm.hdfs.avro.GenericAvroSerializer

All Implemented Interfaces:
  `Serializable`, `AvroSchemaRegistry`

public class GenericAvroSerializer extends AbstractAvroSerializer
A default implementation of the AvroSerializer that will just pass literal schemas back and forth. This should only be used if no other serializer will fit a use case.

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `GenericAvroSerializer()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getFingerprint(org.apache.avro.Schema schema)`
  `org.apache.avro.Schema`
  `getSchema(String fingerPrint)`

  ### Methods inherited from class org.apache.storm.hdfs.avro.AbstractAvroSerializer

  `read, write`

  ### Methods inherited from class com.esotericsoftware.kryo.Serializer

  `copy, getAcceptsNull, isImmutable, setAcceptsNull, setImmutable`

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

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

- ## Constructor Details

  - ### GenericAvroSerializer

    public GenericAvroSerializer()

- ## Method Details

  - ### getFingerprint

    public String getFingerprint(org.apache.avro.Schema schema)

  - ### getSchema

    public org.apache.avro.Schema getSchema(String fingerPrint)