org.apache.jackrabbit.core.query.qom
Class QueryObjectModelImpl

java.lang.Object
  extended by org.apache.jackrabbit.core.query.AbstractQueryImpl
      extended by org.apache.jackrabbit.core.query.QueryImpl
          extended by org.apache.jackrabbit.core.query.PreparedQueryImpl
              extended by org.apache.jackrabbit.core.query.qom.QueryObjectModelImpl
All Implemented Interfaces:
Query, PreparedQuery, QueryObjectModel

public class QueryObjectModelImpl
extends PreparedQueryImpl
implements QueryObjectModel

QueryObjectModelImpl...


Field Summary
 
Fields inherited from class org.apache.jackrabbit.core.query.PreparedQueryImpl
prepQuery, qomTree
 
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.
 
Methods inherited from class org.apache.jackrabbit.core.query.PreparedQueryImpl
bindValue, init, init, init
 
Methods inherited from class org.apache.jackrabbit.core.query.QueryImpl
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 org.apache.jackrabbit.core.query.jsr283.PreparedQuery
bindValue
 
Methods inherited from interface javax.jcr.query.Query
execute, getLanguage, getStatement, getStoredQueryPath, storeAsNode
 

Constructor Detail

QueryObjectModelImpl

public QueryObjectModelImpl()
Method Detail

getSource

public Source getSource()
Gets the node-tuple source for this query.

Specified by:
getSource in interface QueryObjectModel
Returns:
the node-tuple source; non-null

getConstraint

public Constraint getConstraint()
Gets the constraint for this query.

Specified by:
getConstraint in interface QueryObjectModel
Returns:
the constraint, or null if none

getOrderings

public Ordering[] getOrderings()
Gets the orderings for this query.

Specified by:
getOrderings in interface QueryObjectModel
Returns:
an array of zero or more orderings; non-null

getColumns

public Column[] getColumns()
Gets the columns for this query.

Specified by:
getColumns in interface QueryObjectModel
Returns:
an array of zero or more columns; non-null


Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.