Greetings,

Andy, in response to another topic, stated "Jena now provides
"Serializable" for Triple/Quad/Node"

As some of you know I am working on Jena on Cassandra (graph implementation
complete) and want to know what the most efficient method of serializing
nodes is.  I am using the Thrift library to convert to a RDF_TERM and
serialzie that to a byte array.

{code}
private final TSerializer ser = new TSerializer();

...

RDF_Term term = new RDF_Term(); ThriftConvert.toThrift(node, null, term,
false); byte[] bary = ser.serialize(term);

{code}

What I require is that the node serialze into an array of bytes and be able
to deserialize the same.

Are the new serialization techniques for the Node faster than Thrift
conversion?  Is there any special treatment required or is it just a case
of ObjectOutputStream.write( node ) ?

Where can I find more info/examples?

Claude
-- 
I like: Like Like - The likeliest place on the web
<http://like-like.xenei.com>
LinkedIn: http://www.linkedin.com/in/claudewarren

Reply via email to