On 03/02/11 14:37, Andy Seaborne wrote:


On 01/02/11 16:36, Stephen Allen wrote:
Andy,

I have started implementing the serializer (SinkBindingOutput) by using
org.openjena.riot.SinkQuadOutput as a guide and using OutputLangUtils to
print out the variable/values. I created the deserializer
(LangBindings) by
extending org.openjena.riot.lang.LangNTuple. I'm using the paired
var/value
format you described below. For now I'll start with a straightforward
implementation with no compression, but like your ideas in this area.
I'll
try to do some measurements to see if any other compression is
beneficial.

Sounds good.


I did not define an org.openjena.riot.Lang enum for the deserializer
(because it isn't an RDF language) but I was planning on putting the
LangBindings class in the org.openjena.riot.lang package.

As good a place as any at the moment.

I've just digging out some code that does tuple I/O from an
experiemental system a while ago (a clustered query engine ..).

I've dug the code out :

https://jena.svn.sf.net/svnroot/jena/Scratch/AFS/trunk/src/riot/io/

Has TokenInputStream, TokeOutputStream as interfaces.

        Andy

Reply via email to