Class DIOFloatSerde
java.lang.Object
com.espertech.esper.common.internal.serde.serdeset.builtin.DIOFloatSerde
- All Implemented Interfaces:
DataInputOutputSerde<Float>
Binding for non-null float values.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionRead an object from the stream.void
write
(Float object, DataOutput stream) void
write
(Float object, DataOutput output, byte[] pageFullKey, EventBeanCollatedWriter writer) Write an object to the stream.
-
Field Details
-
EPTYPE
-
INSTANCE
-
-
Method Details
-
write
public void write(Float object, DataOutput output, byte[] pageFullKey, EventBeanCollatedWriter writer) throws IOException Description copied from interface:DataInputOutputSerde
Write an object to the stream.- Specified by:
write
in interfaceDataInputOutputSerde<Float>
- Parameters:
object
- to write or null if this is a nullable valueoutput
- to write topageFullKey
- 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
-
write
- Throws:
IOException
-
read
- Throws:
IOException
-
read
Description copied from interface:DataInputOutputSerde
Read an object from the stream.- Specified by:
read
in interfaceDataInputOutputSerde<Float>
- Parameters:
input
- input to readresourceKey
- 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
-