T
- The class of objects that can be serialized with this encoder /
decoder.public abstract class CustomEncoding<T> extends Object
ValidatingEncoder
is recommended.Constructor and Description |
---|
CustomEncoding() |
Modifier and Type | Method and Description |
---|---|
protected Schema |
getSchema() |
protected abstract T |
read(Object reuse,
Decoder in) |
protected abstract void |
write(Object datum,
Encoder out) |
protected Schema schema
protected abstract void write(Object datum, Encoder out) throws IOException
IOException
protected abstract T read(Object reuse, Decoder in) throws IOException
IOException
protected Schema getSchema()
Copyright © 2009–2021 The Apache Software Foundation. All rights reserved.