org.apache.jackrabbit.oak.jcr.query
Class RowImpl

java.lang.Object
  extended by org.apache.jackrabbit.oak.jcr.query.RowImpl
All Implemented Interfaces:
javax.jcr.query.Row

public class RowImpl
extends Object
implements javax.jcr.query.Row

The implementation of the corresponding JCR interface.


Constructor Summary
RowImpl(QueryResultImpl result, org.apache.jackrabbit.oak.api.ResultRow row, String pathSelector)
           
 
Method Summary
 javax.jcr.Node getNode()
           
 javax.jcr.Node getNode(String selectorName)
           
 String getPath()
           
 String getPath(String selectorName)
           
 double getScore()
           
 double getScore(String selectorName)
           
 javax.jcr.Value getValue(String columnName)
           
 javax.jcr.Value[] getValues()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RowImpl

public RowImpl(QueryResultImpl result,
               org.apache.jackrabbit.oak.api.ResultRow row,
               String pathSelector)
Method Detail

getNode

public javax.jcr.Node getNode()
                       throws javax.jcr.RepositoryException
Specified by:
getNode in interface javax.jcr.query.Row
Throws:
javax.jcr.RepositoryException

getNode

public javax.jcr.Node getNode(String selectorName)
                       throws javax.jcr.RepositoryException
Specified by:
getNode in interface javax.jcr.query.Row
Throws:
javax.jcr.RepositoryException

getPath

public String getPath()
               throws javax.jcr.RepositoryException
Specified by:
getPath in interface javax.jcr.query.Row
Throws:
javax.jcr.RepositoryException

getPath

public String getPath(String selectorName)
               throws javax.jcr.RepositoryException
Specified by:
getPath in interface javax.jcr.query.Row
Throws:
javax.jcr.RepositoryException

toString

public String toString()
Overrides:
toString in class Object

getScore

public double getScore()
                throws javax.jcr.RepositoryException
Specified by:
getScore in interface javax.jcr.query.Row
Throws:
javax.jcr.RepositoryException

getScore

public double getScore(String selectorName)
                throws javax.jcr.RepositoryException
Specified by:
getScore in interface javax.jcr.query.Row
Throws:
javax.jcr.RepositoryException

getValue

public javax.jcr.Value getValue(String columnName)
                         throws javax.jcr.RepositoryException
Specified by:
getValue in interface javax.jcr.query.Row
Throws:
javax.jcr.RepositoryException

getValues

public javax.jcr.Value[] getValues()
                            throws javax.jcr.RepositoryException
Specified by:
getValues in interface javax.jcr.query.Row
Throws:
javax.jcr.RepositoryException


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.