Package com.linkedin.venice.schema.vson
Class VsonAvroSerializer
java.lang.Object
com.linkedin.venice.schema.vson.VsonAvroSerializer
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 Summary
Modifier and TypeMethodDescriptionbytesToAvro(byte[] bytes) Deprecated.bytesToAvro(byte[] bytes, int offset, int length) Deprecated.booleanDeprecated.static VsonAvroSerializerfromSchemaStr(String vsonSchemaStr) Deprecated.inthashCode()Deprecated.byte[]Deprecated.voidtoBytes(Object object, DataOutputStream output) Deprecated.toObject(byte[] bytes) Deprecated.Deprecated.
-
Method Details
-
fromSchemaStr
Deprecated. -
toString
Deprecated. -
toBytes
Deprecated. -
toBytes
Deprecated.- Throws:
IOException
-
toObject
Deprecated. -
bytesToAvro
Deprecated. -
bytesToAvro
Deprecated. -
hashCode
public int hashCode()Deprecated. -
equals
Deprecated.
-