public interface QueryWithSolutionModifier extends Query
This interface represents a SPARQL query which contains a specification of solution modifiers: GROUP BY, HAVING, ORDER BY, OFFSET, and LIMIT.
Modifier and Type | Method and Description |
---|---|
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.
|
getDataSet, getInlineData, getQueryPattern, toString
List<Expression> getGroupConditions()
List<Expression> getHavingConditions()
List<OrderCondition> getOrderConditions()
Gets the list of required ordering conditions in decreasing ordering priority.
OrderCondition
s, in order of priority.int getOffset()
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.
int getLimit()
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.
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.