public class AvroEncoderUtil
extends Object
-
Method Summary
static <T> T
static <T> byte[]
encode(T datum,
org.apache.avro.Schema avroSchema)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
encode
public static <T> byte[] encode(T datum,
org.apache.avro.Schema avroSchema)
throws IOException
- Throws:
IOException
-