Package com.linkedin.venice.serializer
Interface RecordDeserializer<T>
-
- All Known Implementing Classes:
AvroGenericDeserializer
,AvroSpecificDeserializer
,FastAvroGenericDeserializer
,FastAvroSpecificDeserializer
,IdentityRecordDeserializer
,MapOrderPreservingDeserializer
,MapOrderPreservingFastDeserializer
,VsonAvroGenericDeserializer
public interface RecordDeserializer<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
deserialize(byte[] bytes)
T
deserialize(java.nio.ByteBuffer byteBuffer)
T
deserialize(org.apache.avro.io.BinaryDecoder binaryDecoder)
T
deserialize(T reuse, byte[] bytes)
T
deserialize(T reuse, java.io.InputStream in, org.apache.avro.io.BinaryDecoder reusedDecoder)
T
deserialize(T reuse, java.nio.ByteBuffer byteBuffer, org.apache.avro.io.BinaryDecoder reusedDecoder)
T
deserialize(T reuse, org.apache.avro.io.BinaryDecoder binaryDecoder)
java.util.List<T>
deserializeObjects(byte[] bytes)
java.util.List<T>
deserializeObjects(org.apache.avro.io.BinaryDecoder binaryDecoder)
-
-
-
Method Detail
-
deserialize
T deserialize(byte[] bytes) throws VeniceSerializationException
- Throws:
VeniceSerializationException
-
deserialize
T deserialize(java.nio.ByteBuffer byteBuffer) throws VeniceSerializationException
- Throws:
VeniceSerializationException
-
deserialize
T deserialize(T reuse, java.nio.ByteBuffer byteBuffer, org.apache.avro.io.BinaryDecoder reusedDecoder) throws VeniceSerializationException
- Throws:
VeniceSerializationException
-
deserialize
T deserialize(T reuse, byte[] bytes) throws VeniceSerializationException
- Throws:
VeniceSerializationException
-
deserialize
T deserialize(org.apache.avro.io.BinaryDecoder binaryDecoder) throws VeniceSerializationException
- Throws:
VeniceSerializationException
-
deserialize
T deserialize(T reuse, org.apache.avro.io.BinaryDecoder binaryDecoder) throws VeniceSerializationException
- Throws:
VeniceSerializationException
-
deserialize
T deserialize(T reuse, java.io.InputStream in, org.apache.avro.io.BinaryDecoder reusedDecoder) throws VeniceSerializationException
- Throws:
VeniceSerializationException
-
deserializeObjects
java.util.List<T> deserializeObjects(byte[] bytes) throws VeniceSerializationException
- Throws:
VeniceSerializationException
-
deserializeObjects
java.util.List<T> deserializeObjects(org.apache.avro.io.BinaryDecoder binaryDecoder) throws VeniceSerializationException
- Throws:
VeniceSerializationException
-
-