public class DataInputOutputSerdeWCollationEmpty extends Object implements DataInputOutputSerdeWCollation<Object>
Modifier and Type | Field and Description |
---|---|
static DataInputOutputSerdeWCollationEmpty |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
Object |
read(DataInput input,
byte[] unitKey)
Read an object from the stream.
|
void |
write(Object object,
DataOutput output,
byte[] unitKey,
EventBeanCollatedWriter writer)
Write an object to the stream.
|
public static final DataInputOutputSerdeWCollationEmpty INSTANCE
public void write(Object object, DataOutput output, byte[] unitKey, EventBeanCollatedWriter writer) throws IOException
DataInputOutputSerdeWCollation
write
in interface DataInputOutputSerdeWCollation<Object>
object
- to writeoutput
- to write tounitKey
- the page key of the page containing the objectwriter
- the writer for eventsIOException
- for io exceptionspublic Object read(DataInput input, byte[] unitKey) throws IOException
DataInputOutputSerdeWCollation
read
in interface DataInputOutputSerdeWCollation<Object>
input
- input to readunitKey
- the identifying key of the readerIOException
- for io exceptionsCopyright © 2005–2018. All rights reserved.