public class DIORefCountedSet extends Object implements DataInputOutputSerde<RefCountedSet<Object>>
Modifier and Type | Field and Description |
---|---|
static EPTypeClass |
EPTYPE |
Constructor and Description |
---|
DIORefCountedSet(DataInputOutputSerde inner) |
Modifier and Type | Method and Description |
---|---|
RefCountedSet<Object> |
read(DataInput input,
byte[] unitKey)
Read an object from the stream.
|
void |
write(RefCountedSet<Object> valueSet,
DataOutput output,
byte[] unitKey,
EventBeanCollatedWriter writer)
Write an object to the stream.
|
public static final EPTypeClass EPTYPE
public DIORefCountedSet(DataInputOutputSerde inner)
public void write(RefCountedSet<Object> valueSet, DataOutput output, byte[] unitKey, EventBeanCollatedWriter writer) throws IOException
DataInputOutputSerde
write
in interface DataInputOutputSerde<RefCountedSet<Object>>
valueSet
- 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 providedIOException
- for io exceptionspublic RefCountedSet<Object> read(DataInput input, byte[] unitKey) throws IOException
DataInputOutputSerde
read
in interface DataInputOutputSerde<RefCountedSet<Object>>
input
- input to readunitKey
- the identifying key of the reader, can be null if not relevant or not providedIOException
- for io exceptionsCopyright © 2005–2021. All rights reserved.