ByteArrayField
with custom serialization whenever possible,
or use MarshalledObjField
that prevents unnecessary costly deserialization of
objects in multiplexor nodes.
Note: extension of this class is not supported because of the high-performance architecture for binary protocol reading/writing.
public final class PlainObjField extends AbstractDataObjField
PlainObjField
represents an object field with plain serialized form.
It uses standard Java object serialization. Note that this serialization is highly
ineffective and shall be substituted with more effective specialized version if possible.Constructor and Description |
---|
PlainObjField(int index,
String name)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Object |
readObj(com.devexperts.io.BufferedInput in)
Deprecated.
Reads field value from specified data input and returns it to the caller.
|
Object |
readObj(DataInput in)
Deprecated.
Reads field value from specified data input and returns it to the caller.
|
void |
writeObj(com.devexperts.io.BufferedOutput out,
Object value)
Deprecated.
Writes specified field value into specified buffered output.
|
void |
writeObj(DataOutput out,
Object value)
Deprecated.
Writes specified field value into specified data output.
|
equals, getString, parseString, read, setString, toString, write
getDefaultPropertyName, getIndex, getLocalName, getName, getPropertyName, getRecord, getSerialType, setRecord, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getIndex, getLocalName, getName, getPropertyName, getRecord, getSerialType
public PlainObjField(int index, String name)
public void writeObj(DataOutput out, Object value) throws IOException
DataObjField
IOException
- as specified data output does.public void writeObj(com.devexperts.io.BufferedOutput out, Object value) throws IOException
DataObjField
IOException
- as specified data output does.public Object readObj(DataInput in) throws IOException
DataObjField
IOException
- as specified data input does.public Object readObj(com.devexperts.io.BufferedInput in) throws IOException
DataObjField
IOException
- as specified data input does.Copyright © 2002–2025 Devexperts LLC. All rights reserved.