Class VsonAvroSerializer

java.lang.Object
com.linkedin.venice.schema.vson.VsonAvroSerializer

@Deprecated public class VsonAvroSerializer extends Object
Deprecated.
VsonAvroSerializer is in charge of de/serializing between Vson binary and Vson object. It's also able to deserialize Vson binary to Avro object. This class was inspired and referred from Voldemort. https://github.com/voldemort/voldemort/blob/master/src/java/voldemort/serialization/json/JsonTypeSerializer.java
  • Method Details

    • fromSchemaStr

      public static VsonAvroSerializer fromSchemaStr(String vsonSchemaStr)
      Deprecated.
    • toString

      public String toString(Object object)
      Deprecated.
    • toBytes

      public byte[] toBytes(Object object)
      Deprecated.
    • toBytes

      public void toBytes(Object object, DataOutputStream output) throws IOException
      Deprecated.
      Throws:
      IOException
    • toObject

      public Object toObject(byte[] bytes)
      Deprecated.
    • bytesToAvro

      public Object bytesToAvro(byte[] bytes)
      Deprecated.
    • bytesToAvro

      public Object bytesToAvro(byte[] bytes, int offset, int length)
      Deprecated.
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Deprecated.
      Overrides:
      equals in class Object