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

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

public class QueryImpl
extends Object
implements javax.jcr.query.Query

The implementation of the corresponding JCR interface.


Field Summary
 
Fields inherited from interface javax.jcr.query.Query
JCR_JQOM, JCR_SQL2, SQL, XPATH
 
Method Summary
 void bindValue(String varName, javax.jcr.Value value)
           
 javax.jcr.query.QueryResult execute()
           
 String[] getBindVariableNames()
           
 String getLanguage()
           
 String getStatement()
           
 String getStoredQueryPath()
           
 void setLimit(long limit)
           
 void setOffset(long offset)
           
 javax.jcr.Node storeAsNode(String absPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

bindValue

public void bindValue(String varName,
                      javax.jcr.Value value)
               throws javax.jcr.RepositoryException
Specified by:
bindValue in interface javax.jcr.query.Query
Throws:
javax.jcr.RepositoryException

execute

public javax.jcr.query.QueryResult execute()
                                    throws javax.jcr.RepositoryException
Specified by:
execute in interface javax.jcr.query.Query
Throws:
javax.jcr.RepositoryException

getBindVariableNames

public String[] getBindVariableNames()
                              throws javax.jcr.RepositoryException
Specified by:
getBindVariableNames in interface javax.jcr.query.Query
Throws:
javax.jcr.RepositoryException

getLanguage

public String getLanguage()
Specified by:
getLanguage in interface javax.jcr.query.Query

getStatement

public String getStatement()
Specified by:
getStatement in interface javax.jcr.query.Query

getStoredQueryPath

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

setLimit

public void setLimit(long limit)
Specified by:
setLimit in interface javax.jcr.query.Query

setOffset

public void setOffset(long offset)
Specified by:
setOffset in interface javax.jcr.query.Query

storeAsNode

public javax.jcr.Node storeAsNode(String absPath)
                           throws javax.jcr.RepositoryException
Specified by:
storeAsNode in interface javax.jcr.query.Query
Throws:
javax.jcr.RepositoryException


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