LucidDbUtilityRowSerialization
From LucidDB Wiki
Row Serialization
There are a few utility routines, written as java UDX/UDP's that consume or write rows to or from HTTP or file streams. They use a common format for serializing rows.
Header
The header contains the following information, in the following format. The header object is a Java Array of Objects, size 10.
- a[0] = String = The version of the writer. This will allow us to handle importing any updated file formats.
- a[1] = Array of length N of Class Objects = Describes the format of the incoming objects.
- a[2-9] = NULL and unused
In the current version, the header object is read, version is unchecked, a[1] Array of Class objects is checked against cursor format to verify it matches intended datatypes.