You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2014/09/18 16:29:07 UTC

svn commit: r1625993 - in /jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/store/nodetable: NodeTableCache.java NodeTableWrapper.java

Author: andy
Date: Thu Sep 18 14:29:06 2014
New Revision: 1625993

URL: http://svn.apache.org/r1625993
Log:
Expose wrapped tables

Modified:
    jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/store/nodetable/NodeTableCache.java
    jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/store/nodetable/NodeTableWrapper.java

Modified: jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/store/nodetable/NodeTableCache.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/store/nodetable/NodeTableCache.java?rev=1625993&r1=1625992&r2=1625993&view=diff
==============================================================================
--- jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/store/nodetable/NodeTableCache.java (original)
+++ jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/store/nodetable/NodeTableCache.java Thu Sep 18 14:29:06 2014
@@ -75,6 +75,8 @@ public class NodeTableCache implements N
             notPresent = CacheFactory.createCacheSet(nodeMissesCacheSize) ;
     }
 
+    public final NodeTable getBaseTable() { return baseTable ; } 
+    
     /** Get the Node for this NodeId, or null if none */
     @Override
     public Node getNodeForNodeId(NodeId id)

Modified: jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/store/nodetable/NodeTableWrapper.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/store/nodetable/NodeTableWrapper.java?rev=1625993&r1=1625992&r2=1625993&view=diff
==============================================================================
--- jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/store/nodetable/NodeTableWrapper.java (original)
+++ jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/store/nodetable/NodeTableWrapper.java Thu Sep 18 14:29:06 2014
@@ -29,13 +29,13 @@ import com.hp.hpl.jena.tdb.store.nodetab
 public class NodeTableWrapper implements NodeTable
 {
     protected final NodeTable nodeTable ;
+    public final NodeTable wrapped() { return nodeTable ; } 
     
     protected NodeTableWrapper(NodeTable nodeTable)
     {
         this.nodeTable = nodeTable ;
     }
     
-    
     @Override
     public NodeId getAllocateNodeId(Node node)
     {