public abstract class SimpleQueryWithSolutionModifier extends SimpleQuery implements QueryWithSolutionModifier
| Constructor and Description |
|---|
SimpleQueryWithSolutionModifier() |
| Modifier and Type | Method and Description |
|---|---|
void |
addGroupCondition(Expression groupCondition) |
void |
addHavingCondition(Expression havingCondition) |
void |
addOrderCondition(OrderCondition orderCondition) |
List<Expression> |
getGroupConditions() |
List<Expression> |
getHavingConditions() |
int |
getLimit()
Gets the maximum number of results to be returned by the query.
|
int |
getOffset()
Gets the numeric offset of the first row to be returned by the query.
|
List<OrderCondition> |
getOrderConditions()
Gets the list of required ordering conditions in decreasing ordering
priority.
|
void |
setLimit(int limit) |
void |
setOffset(int offset) |
addDefaultGraph, addNamedGraph, getDataSet, getInlineData, getQueryPattern, setInlineData, setQueryPattern, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDataSet, getInlineData, getQueryPattern, toStringpublic List<Expression> getGroupConditions()
getGroupConditions in interface QueryWithSolutionModifierpublic List<Expression> getHavingConditions()
getHavingConditions in interface QueryWithSolutionModifierpublic List<OrderCondition> getOrderConditions()
QueryWithSolutionModifierGets the list of required ordering conditions in decreasing ordering priority.
getOrderConditions in interface QueryWithSolutionModifierOrderConditions, in order of priority.public int getOffset()
QueryWithSolutionModifierGets the numeric offset of the first row to be returned by the query. The default offset is 0, meaning to start at the beginning.
getOffset in interface QueryWithSolutionModifierpublic int getLimit()
QueryWithSolutionModifierGets the maximum number of results to be returned by the query. A limit of -1 means no limit (return all results). A limit of 0 means that no results should be returned.
getLimit in interface QueryWithSolutionModifierpublic void addGroupCondition(Expression groupCondition)
public void addHavingCondition(Expression havingCondition)
public void addOrderCondition(OrderCondition orderCondition)
public void setOffset(int offset)
public void setLimit(int limit)
Copyright © 2015–2022 The Apache Software Foundation. All rights reserved.