|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
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. |
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.jcr.query.model.Visitable |
---|
accept |
Methods inherited from interface org.modeshape.jcr.api.query.qom.QueryCommand |
---|
getColumns, getLimits, getOrderings |
Method Detail |
---|
List<? extends Ordering> orderings()
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
|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |