java.lang.Object
org.apache.jena.tdb1.store.nodetable.NodecSSE
- All Implemented Interfaces:
Nodec
Simple encoder/decoder for nodes that uses Turtle term string encoding.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.jena.graph.Nodedecode(ByteBuffer bb, org.apache.jena.shared.PrefixMapping pmap) Decode the node from the byte buffer.intencode(org.apache.jena.graph.Node node, ByteBuffer bb, org.apache.jena.shared.PrefixMapping pmap) Encode the node into the byte buffer, starting at the given offset.intmaxSize(org.apache.jena.graph.Node node) Calculate the maximum number of bytes needed for a Node.
-
Constructor Details
-
NodecSSE
public NodecSSE()
-
-
Method Details
-
maxSize
public int maxSize(org.apache.jena.graph.Node node) Description copied from interface:NodecCalculate the maximum number of bytes needed for a Node. This needs to be an overestimate and is used to ensure there is space in the bytebuffer passed to encode.
-