Class DIOBoxedIntegerArrayNullableSerde
java.lang.Object
com.espertech.esper.common.internal.serde.serdeset.builtin.DIOBoxedIntegerArrayNullableSerde
- All Implemented Interfaces:
DataInputOutputSerde<Integer[]>
public class DIOBoxedIntegerArrayNullableSerde
extends Object
implements DataInputOutputSerde<Integer[]>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final EPTypeClass
static final DIOBoxedIntegerArrayNullableSerde
-
Method Summary
Modifier and TypeMethodDescriptionInteger[]
Integer[]
Read an object from the stream.void
write
(Integer[] object, DataOutput output) void
write
(Integer[] object, DataOutput output, byte[] unitKey, EventBeanCollatedWriter writer) Write an object to the stream.
-
Field Details
-
EPTYPE
-
INSTANCE
-
-
Method Details
-
write
- Throws:
IOException
-
read
- Throws:
IOException
-
write
public void write(Integer[] object, DataOutput output, byte[] unitKey, EventBeanCollatedWriter writer) throws IOException Description copied from interface:DataInputOutputSerde
Write an object to the stream.- Specified by:
write
in interfaceDataInputOutputSerde<Integer[]>
- Parameters:
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 provided- Throws:
IOException
- for io exceptions
-
read
Description copied from interface:DataInputOutputSerde
Read an object from the stream.- Specified by:
read
in interfaceDataInputOutputSerde<Integer[]>
- 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
-