public class AvroSerDe<T> extends Object implements SerDe<T>
AvroSerDe(AvroType<T> avroType, Map<String,String> modeProperties)
T
fromBytes(byte[] bytes)
com.google.common.base.Function<byte[],T>
fromBytesFunction()
ByteArray
toBytes(T obj)
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public AvroSerDe(AvroType<T> avroType, Map<String,String> modeProperties)
public ByteArray toBytes(T obj) throws Exception
toBytes
SerDe<T>
Exception
public T fromBytes(byte[] bytes)
fromBytes
public com.google.common.base.Function<byte[],T> fromBytesFunction()
fromBytesFunction
Copyright © 2015 The Apache Software Foundation. All Rights Reserved.