Class DIOMultiKeyArrayByteSerde
java.lang.Object
com.espertech.esper.common.internal.serde.serdeset.multikey.DIOMultiKeyArrayByteSerde
- All Implemented Interfaces:
DataInputOutputSerde<MultiKeyArrayByte>
,DIOMultiKeyArraySerde<MultiKeyArrayByte>
public class DIOMultiKeyArrayByteSerde
extends Object
implements DIOMultiKeyArraySerde<MultiKeyArrayByte>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionClass<?>
Read an object from the stream.void
write
(MultiKeyArrayByte mk, DataOutput output, byte[] unitKey, EventBeanCollatedWriter writer) Write an object to the stream.
-
Field Details
-
EPTYPE
-
INSTANCE
-
-
Constructor Details
-
DIOMultiKeyArrayByteSerde
public DIOMultiKeyArrayByteSerde()
-
-
Method Details
-
componentType
- Specified by:
componentType
in interfaceDIOMultiKeyArraySerde<MultiKeyArrayByte>
-
write
public void write(MultiKeyArrayByte mk, DataOutput output, byte[] unitKey, EventBeanCollatedWriter writer) throws IOException Description copied from interface:DataInputOutputSerde
Write an object to the stream.- Specified by:
write
in interfaceDataInputOutputSerde<MultiKeyArrayByte>
- Parameters:
mk
- 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 provided- Throws:
IOException
- for io exceptions
-
read
Description copied from interface:DataInputOutputSerde
Read an object from the stream.- Specified by:
read
in interfaceDataInputOutputSerde<MultiKeyArrayByte>
- Parameters:
input
- input to readunitKey
- the identifying key of the reader, can be null if not relevant or not provided- Returns:
- object read or null if this is a nullable value
- Throws:
IOException
- for io exceptions
-