javax.jcr.query.qom
Interface QueryObjectModel

All Superinterfaces:
Query

public interface QueryObjectModel
extends Query

A query in the JCR query object model.

The JCR query object model describes the queries that can be evaluated by a JCR repository independent of any particular query language, such as SQL.

A query consists of:

The query object model representation of a query is created by factory methods in the QueryObjectModelFactory.

Since:
JCR 2.0

Field Summary
 
Fields inherited from interface javax.jcr.query.Query
JCR_JQOM, JCR_SQL2, SQL, XPATH
 
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 interface javax.jcr.query.Query
bindValue, execute, getBindVariableNames, getLanguage, getStatement, getStoredQueryPath, setLimit, setOffset, storeAsNode
 

Method Detail

getSource

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

Returns:
the node-tuple source; non-null

getConstraint

Constraint getConstraint()
Gets the constraint for this query.

Returns:
the constraint, or null if none

getOrderings

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

Returns:
an array of zero or more orderings; non-null

getColumns

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

Returns:
an array of zero or more columns; non-null


Copyright © 2009 Day Software. All Rights Reserved.