java.lang.Object
org.apache.jena.tdb1.store.nodetable.NodeTableWrapper
org.apache.jena.tdb1.store.nodetable.NodeTableInline
- All Implemented Interfaces:
org.apache.jena.atlas.lib.Closeable,org.apache.jena.atlas.lib.Sync,NodeTable
NodeTable wrapper to handle inline node ids.
If a node can be made inline, then the underlying table never sees it.
If an inline Nodeid is seen, it is decoded and returned without
the underlying table being called.
-
Method Summary
Modifier and TypeMethodDescriptionstatic NodeTablefinal NodeIdgetAllocateNodeId(org.apache.jena.graph.Node node) Store the node in the node table (if not already present) and return the allocated Id.final org.apache.jena.graph.NodeLook up node id and return the Node - return null if not foundfinal NodeIdgetNodeIdForNode(org.apache.jena.graph.Node node) Look up node and return the NodeId - return NodeId.NodeDoesNotExist if not foundtoString()Methods inherited from class org.apache.jena.tdb1.store.nodetable.NodeTableWrapper
all, allocOffset, close, containsNode, containsNodeId, isEmpty, sync, wrapped
-
Method Details
-
create
-
getAllocateNodeId
Description copied from interface:NodeTableStore the node in the node table (if not already present) and return the allocated Id.- Specified by:
getAllocateNodeIdin interfaceNodeTable- Overrides:
getAllocateNodeIdin classNodeTableWrapper
-
getNodeIdForNode
Description copied from interface:NodeTableLook up node and return the NodeId - return NodeId.NodeDoesNotExist if not found- Specified by:
getNodeIdForNodein interfaceNodeTable- Overrides:
getNodeIdForNodein classNodeTableWrapper
-
getNodeForNodeId
Description copied from interface:NodeTableLook up node id and return the Node - return null if not found- Specified by:
getNodeForNodeIdin interfaceNodeTable- Overrides:
getNodeForNodeIdin classNodeTableWrapper
-
toString
-