|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.core.query.AbstractQueryImpl
org.apache.jackrabbit.core.query.QueryImpl
org.apache.jackrabbit.core.query.QueryObjectModelImpl
public class QueryObjectModelImpl
QueryObjectModelImpl...
| Field Summary | |
|---|---|
protected QueryObjectModelTree |
qomTree
The query object model tree. |
| Fields inherited from class org.apache.jackrabbit.core.query.QueryImpl |
|---|
handler, JCR_JQOM, JCR_SQL2, language, node, query, session, statement |
| Fields inherited from interface javax.jcr.query.Query |
|---|
SQL, XPATH |
| Constructor Summary | |
|---|---|
QueryObjectModelImpl()
|
|
| Method Summary | |
|---|---|
Column[] |
getColumns()
Gets the columns for this query. |
Constraint |
getConstraint()
Gets the constraint for this query. |
Ordering[] |
getOrderings()
Gets the orderings for this query. |
Source |
getSource()
Gets the node-tuple source for this query. |
void |
init(SessionImpl session,
ItemManager itemMgr,
QueryHandler handler,
javax.jcr.Node node)
Initializes a query instance from a nt:query node. |
void |
init(SessionImpl session,
ItemManager itemMgr,
QueryHandler handler,
QueryObjectModelTree qomTree,
java.lang.String language)
Initializes a query instance from a query object model. |
void |
init(SessionImpl session,
ItemManager itemMgr,
QueryHandler handler,
java.lang.String statement,
java.lang.String language)
Initializes a query instance from a query string. |
| Methods inherited from class org.apache.jackrabbit.core.query.QueryImpl |
|---|
bindValue, checkInitialized, checkNotInitialized, execute, getLanguage, getStatement, getStoredQueryPath, setInitialized, setLimit, setOffset, storeAsNode |
| 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 |
|---|
execute, getLanguage, getStatement, getStoredQueryPath, storeAsNode |
| Field Detail |
|---|
protected QueryObjectModelTree qomTree
| Constructor Detail |
|---|
public QueryObjectModelImpl()
| Method Detail |
|---|
public void init(SessionImpl session,
ItemManager itemMgr,
QueryHandler handler,
java.lang.String statement,
java.lang.String language)
throws javax.jcr.query.InvalidQueryException
AbstractQueryImpl
init in class QueryImplsession - the session of the user executing this query.itemMgr - the item manager of the session executing this query.handler - the query handler of the search index.statement - the query statement.language - the syntax of the query statement.
javax.jcr.query.InvalidQueryException - if the query statement is invalid according
to the specified language.
public void init(SessionImpl session,
ItemManager itemMgr,
QueryHandler handler,
javax.jcr.Node node)
throws javax.jcr.query.InvalidQueryException,
javax.jcr.RepositoryException
AbstractQueryImpl
init in class QueryImplsession - the session of the user executing this query.itemMgr - the item manager of the session executing this query.handler - the query handler of the search index.node - a node of type nt:query.
javax.jcr.query.InvalidQueryException - If node is not a valid persisted query
(that is, a node of type nt:query).
javax.jcr.RepositoryException - if another error occurs
public void init(SessionImpl session,
ItemManager itemMgr,
QueryHandler handler,
QueryObjectModelTree qomTree,
java.lang.String language)
throws javax.jcr.query.InvalidQueryException,
javax.jcr.RepositoryException
AbstractQueryImpl
init in class QueryImplsession - the session of the user executing this query.itemMgr - the item manager of the session executing this query.handler - the query handler of the search index.qomTree - the query object model tree.language - the original query syntax from where the JQOM was
created.
javax.jcr.RepositoryException - if another error occurs
javax.jcr.query.InvalidQueryExceptionpublic Source getSource()
getSource in interface QueryObjectModelpublic Constraint getConstraint()
getConstraint in interface QueryObjectModelpublic Ordering[] getOrderings()
getOrderings in interface QueryObjectModelpublic Column[] getColumns()
getColumns in interface QueryObjectModel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||