Package org.apache.jackrabbit.core.query
Class AbstractQueryImpl
- java.lang.Object
-
- org.apache.jackrabbit.core.query.AbstractQueryImpl
-
-
Constructor Summary
Constructors Constructor Description AbstractQueryImpl()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract void
init(SessionContext sessionContext, QueryHandler handler, String statement, String language, Node node)
Initialises a query instance from a query string.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.jcr.query.Query
bindValue, execute, getBindVariableNames, getLanguage, getStatement, getStoredQueryPath, setLimit, setOffset, storeAsNode
-
-
-
-
Method Detail
-
init
public abstract void init(SessionContext sessionContext, QueryHandler handler, String statement, String language, Node node) throws InvalidQueryException
Initialises a query instance from a query string.- Parameters:
sessionContext
- component context of the current sessionhandler
- the query handler of the search index.statement
- the query statement.language
- the syntax of the query statement.node
- a nt:query node where the query was read from ornull
if it is not a stored query.- Throws:
InvalidQueryException
- if the query statement is invalid according to the specifiedlanguage
.
-
-