Class OStreamSerializerAnyStreamable
java.lang.Object
com.orientechnologies.orient.core.serialization.serializer.stream.OStreamSerializerAnyStreamable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromStream(byte[] iStream, ORecordSerializer serializer) Re-Create any object if the class has a public constructor that accepts a String as unique parameter.getName()byte[]toStream(OCommandRequestText iObject) Serialize the class name size + class name + object content
-
Field Details
-
INSTANCE
-
NAME
- See Also:
-
-
Constructor Details
-
OStreamSerializerAnyStreamable
public OStreamSerializerAnyStreamable()
-
-
Method Details
-
fromStream
public OCommandRequestText fromStream(byte[] iStream, ORecordSerializer serializer) throws IOException Re-Create any object if the class has a public constructor that accepts a String as unique parameter.- Throws:
IOException
-
toStream
Serialize the class name size + class name + object content- Throws:
IOException
-
getName
-