|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.devexperts.qd.kit.AbstractDataField
com.devexperts.qd.kit.AbstractDataObjField
com.devexperts.qd.kit.PlainObjField
ByteArrayField
with custom serialization whenever possible,
or use MarshalledObjField
that prevents unnecessary costly deserialization of
objects in multiplexor nodes.
public class PlainObjField
The 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 Summary | |
---|---|
PlainObjField(int index,
java.lang.String name)
Deprecated. |
Method Summary | |
---|---|
java.lang.Object |
readObj(com.devexperts.io.BufferedInput in)
Deprecated. Reads field value from specified data input and returns it to the caller. |
java.lang.Object |
readObj(java.io.DataInput in)
Deprecated. Reads field value from specified data input and returns it to the caller. |
void |
writeObj(com.devexperts.io.BufferedOutput out,
java.lang.Object value)
Deprecated. Writes specified field value into specified buffered output. |
void |
writeObj(java.io.DataOutput out,
java.lang.Object value)
Deprecated. Writes specified field value into specified data output. |
Methods inherited from class com.devexperts.qd.kit.AbstractDataObjField |
---|
equals, parseString, toString |
Methods inherited from class com.devexperts.qd.kit.AbstractDataField |
---|
getIndex, getLocalName, getName, getRecord, getSerialType, setRecord, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.devexperts.qd.DataField |
---|
getIndex, getLocalName, getName, getRecord, getSerialType |
Constructor Detail |
---|
public PlainObjField(int index, java.lang.String name)
Method Detail |
---|
public final void writeObj(java.io.DataOutput out, java.lang.Object value) throws java.io.IOException
DataObjField
java.io.IOException
- as specified data output does.public final void writeObj(com.devexperts.io.BufferedOutput out, java.lang.Object value) throws java.io.IOException
DataObjField
java.io.IOException
- as specified data output does.public final java.lang.Object readObj(java.io.DataInput in) throws java.io.IOException
DataObjField
java.io.IOException
- as specified data input does.public final java.lang.Object readObj(com.devexperts.io.BufferedInput in) throws java.io.IOException
DataObjField
java.io.IOException
- as specified data input does.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |