public class DIOBoxedFloatArray2DimNullableSerde extends Object implements DataInputOutputSerde<Float[][]>
Modifier and Type | Field and Description |
---|---|
static EPTypeClass |
EPTYPE |
static DIOBoxedFloatArray2DimNullableSerde |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
Float[][] |
read(DataInput input) |
Float[][] |
read(DataInput input,
byte[] unitKey)
Read an object from the stream.
|
void |
write(Float[][] object,
DataOutput output) |
void |
write(Float[][] object,
DataOutput output,
byte[] unitKey,
EventBeanCollatedWriter writer)
Write an object to the stream.
|
public static final EPTypeClass EPTYPE
public static final DIOBoxedFloatArray2DimNullableSerde INSTANCE
public void write(Float[][] object, DataOutput output) throws IOException
IOException
public Float[][] read(DataInput input) throws IOException
IOException
public void write(Float[][] object, DataOutput output, byte[] unitKey, EventBeanCollatedWriter writer) throws IOException
DataInputOutputSerde
write
in interface DataInputOutputSerde<Float[][]>
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 providedIOException
- for io exceptionspublic Float[][] read(DataInput input, byte[] unitKey) throws IOException
DataInputOutputSerde
read
in interface DataInputOutputSerde<Float[][]>
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.