public interface DataInputOutputSerde<E>
Modifier and Type | Field and Description |
---|---|
static EPTypeClass |
EPTYPE
Type information
|
Modifier and Type | Method and Description |
---|---|
E |
read(java.io.DataInput input,
byte[] unitKey)
Read an object from the stream.
|
void |
write(E object,
java.io.DataOutput output,
byte[] unitKey,
EventBeanCollatedWriter writer)
Write an object to the stream.
|
static final EPTypeClass EPTYPE
void write(E object, java.io.DataOutput output, byte[] unitKey, EventBeanCollatedWriter writer) throws java.io.IOException
object
- to write or null if this is a nullable valueoutput
- to write tounitKey
- the page key of the page containing the object, can be null if not relevant or not providedwriter
- the writer for events, can be null if not relevant or not providedjava.io.IOException
- for io exceptionsE read(java.io.DataInput input, byte[] unitKey) throws java.io.IOException
input
- input to readunitKey
- the identifying key of the reader, can be null if not relevant or not providedjava.io.IOException
- for io exceptions