Package com.mckoi.database.global
Class ObjectTranslator
java.lang.Object
com.mckoi.database.global.ObjectTranslator
This object compliments ObjectTransfer and provides a method to translate
any object into a type the database engine can process.
- Author:
- Tobias Downer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Object
deserialize
(ByteLongObject blob) Deserializes a ByteLongObject to a Java object.static ByteLongObject
Serializes the Java object to a ByteLongObject.static Object
Translates the given object to a type the database can process.
-
Constructor Details
-
ObjectTranslator
public ObjectTranslator()
-
-
Method Details
-
translate
Translates the given object to a type the database can process. -
serialize
Serializes the Java object to a ByteLongObject. -
deserialize
Deserializes a ByteLongObject to a Java object.
-