|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QueryCommand
Represents the abstract base class for all query commands. Subclasses include Query
and SetQuery
.
Method Summary | |
---|---|
List<? extends Column> |
columns()
Return the columns defining the query results. |
Limit |
limits()
Get the limits associated with this query. |
List<? extends Ordering> |
orderings()
Return the orderings for this query. |
QueryCommand |
withLimit(int rowLimit)
Create a copy of this query, but one that uses the supplied limit on the number of result rows. |
QueryCommand |
withOffset(int offset)
Create a copy of this query, but one that uses the supplied offset. |
Methods inherited from interface org.modeshape.graph.query.model.Visitable |
---|
accept |
Method Detail |
---|
List<? extends Ordering> orderings()
Limit limits()
unlimited
List<? extends Column> columns()
QueryCommand withLimit(int rowLimit)
rowLimit
- the limit that should be used; must be a positive number
QueryCommand withOffset(int offset)
offset
- the limit that should be used; may not be negative
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |