Constructor and Description |
---|
AbstractQueryImpl() |
Modifier and Type | Method and Description |
---|---|
abstract void |
init(SessionContext sessionContext,
QueryHandler handler,
String statement,
String language,
javax.jcr.Node node)
Initialises a query instance from a query string.
|
public abstract void init(SessionContext sessionContext, QueryHandler handler, String statement, String language, javax.jcr.Node node) throws javax.jcr.query.InvalidQueryException
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 or
null
if it is not a stored query.javax.jcr.query.InvalidQueryException
- if the query statement is invalid according
to the specified language
.Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.