|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.modeshape.graph.query.model.SetQuery
org.modeshape.jcr.query.qom.JcrSetQuery
public class JcrSetQuery

| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.modeshape.graph.query.model.SetQuery |
|---|
SetQuery.Operation |
| Constructor Summary | |
|---|---|
JcrSetQuery(JcrQueryCommand left,
SetQuery.Operation operation,
JcrQueryCommand right,
boolean all)
Create a set query involving the supplied left- and right-hand-side queries. |
|
JcrSetQuery(JcrQueryCommand left,
SetQuery.Operation operation,
JcrQueryCommand right,
boolean all,
List<? extends JcrOrdering> orderings,
JcrLimit limit)
Create a set query involving the supplied left- and right-hand-side queries. |
|
| Method Summary | |
|---|---|
List<? extends JcrColumn> |
columns()
Return the columns defining the query results. |
Column[] |
getColumns()
Gets the columns for this query. |
JcrQueryCommand |
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. |
JcrQueryCommand |
getRight()
Get the right-hand query. |
JcrQueryCommand |
left()
Get the left-hand query. |
JcrLimit |
limits()
Get the limits associated with this query. |
List<? extends JcrOrdering> |
orderings()
Return the orderings for this query. |
JcrQueryCommand |
right()
Get the right-hand query. |
JcrSetQuery |
withLimit(int rowLimit)
Create a copy of this query, but one that uses the supplied limit on the number of result rows. |
JcrSetQuery |
withOffset(int offset)
Create a copy of this query, but one that uses the supplied offset. |
| Methods inherited from class org.modeshape.graph.query.model.SetQuery |
|---|
accept, adding, equals, hashCode, isAll, operation, toString, unionableColumns |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.modeshape.jcr.api.query.qom.SetQuery |
|---|
isAll |
| Methods inherited from interface org.modeshape.graph.query.model.Visitable |
|---|
accept |
| Constructor Detail |
|---|
public JcrSetQuery(JcrQueryCommand left,
SetQuery.Operation operation,
JcrQueryCommand right,
boolean all)
left - the left-hand-side query being combinedoperation - the set operationright - the right-hand-side query being combinedall - true if all of the results should be included
IllegalArgumentException - if the left-hand-side query, right-hand-side query, or operation are null
public JcrSetQuery(JcrQueryCommand left,
SetQuery.Operation operation,
JcrQueryCommand right,
boolean all,
List<? extends JcrOrdering> orderings,
JcrLimit limit)
left - the left-hand-side query being combinedoperation - the set operationright - the right-hand-side query being combinedall - true if all of the results should be includedorderings - the specification of the order of the result rows, or null if the results need not be orderedlimit - the limit for the result rows, or null if there are no limits
IllegalArgumentException - if the left-hand-side query, right-hand-side query, or operation are null| Method Detail |
|---|
public JcrQueryCommand left()
left in class SetQuerySetQuery.left()public List<? extends JcrColumn> columns()
columns in interface QueryCommandcolumns in class SetQueryQuery.columns()public List<? extends JcrOrdering> orderings()
orderings in interface QueryCommandorderings in class SetQueryQuery.orderings()public JcrQueryCommand right()
right in class SetQuerySetQuery.right()public JcrLimit limits()
limits in interface QueryCommandlimits in class SetQueryunlimitedSetQuery.limits()public Limit getLimits()
unlimitedQueryCommand.getLimits()public JcrQueryCommand getLeft()
getLeft in interface SetQuerySetQuery.getLeft()public JcrQueryCommand getRight()
getRight in interface SetQuerySetQuery.getRight()public String getOperation()
getOperation in interface SetQuerySetQuery.getOperation()public Column[] getColumns()
QueryCommand.getColumns()public Ordering[] getOrderings()
QueryCommand.getOrderings()public JcrSetQuery withLimit(int rowLimit)
withLimit in interface QueryCommandwithLimit in class SetQueryrowLimit - the limit that should be used; must be a positive number
SetQuery.withLimit(int)public JcrSetQuery withOffset(int offset)
withOffset in interface QueryCommandwithOffset in class SetQueryoffset - the limit that should be used; may not be negative
SetQuery.withOffset(int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||