jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r770210 - /jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/query/GQL.java
Date Thu, 30 Apr 2009 12:51:53 GMT
Author: jukka
Date: Thu Apr 30 12:51:53 2009
New Revision: 770210

URL: http://svn.apache.org/viewvc?rev=770210&view=rev
Log:
JCR-2076: JSR 283: Joins

Add missing Row methods in o.a.j.commons.query.GQL.

Modified:
    jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/query/GQL.java

Modified: jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/query/GQL.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/query/GQL.java?rev=770210&r1=770209&r2=770210&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/query/GQL.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/query/GQL.java
Thu Apr 30 12:51:53 2009
@@ -24,6 +24,7 @@
 import javax.jcr.query.RowIterator;
 import javax.jcr.query.Row;
 import javax.jcr.query.Query;
+import javax.jcr.Node;
 import javax.jcr.Session;
 import javax.jcr.RepositoryException;
 import javax.jcr.Value;
@@ -1014,6 +1015,30 @@
             }
             return row.getValue(propertyName);
         }
+
+        public Node getNode() throws RepositoryException {
+            return row.getNode();
+        }
+
+        public Node getNode(String selectorName) throws RepositoryException {
+            return row.getNode(selectorName);
+        }
+
+        public String getPath() throws RepositoryException {
+            return row.getPath();
+        }
+
+        public String getPath(String selectorName) throws RepositoryException {
+            return row.getPath(selectorName);
+        }
+
+        public double getScore() throws RepositoryException {
+            return row.getScore();
+        }
+
+        public double getScore(String selectorName) throws RepositoryException {
+            return row.getScore(selectorName);
+        }
     }
 
     /**



Mime
View raw message