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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDataSet, getInlineData, getQueryPattern, toString
public List<Expression> getGroupConditions()
getGroupConditions
in interface QueryWithSolutionModifier
public List<Expression> getHavingConditions()
getHavingConditions
in interface QueryWithSolutionModifier
public List<OrderCondition> getOrderConditions()
QueryWithSolutionModifier
Gets the list of required ordering conditions in decreasing ordering priority.
getOrderConditions
in interface QueryWithSolutionModifier
OrderCondition
s, in order of priority.public int getOffset()
QueryWithSolutionModifier
Gets 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 QueryWithSolutionModifier
public int getLimit()
QueryWithSolutionModifier
Gets 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 QueryWithSolutionModifier
public 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.