|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.modeshape.jcr.query.JcrAbstractQuery
org.modeshape.jcr.query.JcrQuery
org.modeshape.jcr.query.model.SetQueryObjectModel
public class SetQueryObjectModel
Implementation of SetQueryObjectModel
that represents a set query
.
Field Summary |
---|
Fields inherited from class org.modeshape.jcr.query.JcrAbstractQuery |
---|
context, language, statement |
Fields inherited from interface javax.jcr.query.Query |
---|
JCR_JQOM, JCR_SQL2, SQL, XPATH |
Fields inherited from interface org.modeshape.jcr.api.query.Query |
---|
FULL_TEXT_SEARCH |
Constructor Summary | |
---|---|
SetQueryObjectModel(JcrQueryContext context,
String statement,
String language,
SetQuery query,
PlanHints hints,
Path storedAtPath)
Creates a new JCR Query by specifying the set query statement itself, the language in which the query is stated,
the SetQuery representation and, optionally, the node from which the query was loaded. |
Method Summary | |
---|---|
Column[] |
getColumns()
Gets the columns for this query. |
QueryCommand |
getLeft()
Get the left-hand query. |
Limit |
getLimits()
Get the limits associated with this query. |
String |
getOperation()
Get the set operation for this query. |
Ordering[] |
getOrderings()
Gets the orderings for this query. |
QueryCommand |
getRight()
Get the right-hand query. |
boolean |
isAll()
Return whether this set query is a 'UNION ALL' or 'INTERSECT ALL' or 'EXCEPT ALL' query. |
protected SetQuery |
query()
|
Methods inherited from class org.modeshape.jcr.query.JcrQuery |
---|
bindValue, cancel, execute, getAbstractQueryModel, getBindVariableNames, setLimit, setOffset, toString, variableNames |
Methods inherited from class org.modeshape.jcr.query.JcrAbstractQuery |
---|
checkForProblems, context, getLanguage, getStatement, getStoredQueryPath, pathFor, storeAsNode |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.jcr.query.Query |
---|
bindValue, execute, getBindVariableNames, getLanguage, getStatement, getStoredQueryPath, setLimit, setOffset, storeAsNode |
Constructor Detail |
---|
public SetQueryObjectModel(JcrQueryContext context, String statement, String language, SetQuery query, PlanHints hints, Path storedAtPath)
Query
by specifying the set query statement itself, the language in which the query is stated,
the SetQuery
representation and, optionally, the node from which the query was loaded. The language must be a
string from among those returned by QueryManager#getSupportedQueryLanguages()
.
context
- the context that was used to create this query and that will be used to execute this query; may not be nullstatement
- the original statement as supplied by the client; may not be nulllanguage
- the language obtained from the QueryParser
; may not be nullquery
- the parsed set query representation; may not be nullhints
- any hints that are to be used; may be null if there are no hintsstoredAtPath
- the path at which this query was stored, or null if this is not a stored queryMethod Detail |
---|
protected SetQuery query()
query
in class JcrQuery
public Column[] getColumns()
QueryCommand
getColumns
in interface QueryCommand
public Ordering[] getOrderings()
QueryCommand
getOrderings
in interface QueryCommand
public QueryCommand getLeft()
SetQuery
getLeft
in interface SetQuery
public QueryCommand getRight()
SetQuery
getRight
in interface SetQuery
public String getOperation()
SetQuery
getOperation
in interface SetQuery
public boolean isAll()
SetQuery
isAll
in interface SetQuery
public Limit getLimits()
QueryCommand
getLimits
in interface QueryCommand
unlimited
|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |