jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r1625993 - in /jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/store/nodetable: NodeTableCache.java NodeTableWrapper.java
Date Thu, 18 Sep 2014 14:29:07 GMT
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)
     {



Mime
View raw message