org.apache.clerezza.rdf.core.sparql.query.impl
Class SimpleQueryWithSolutionModifier
java.lang.Object
org.apache.clerezza.rdf.core.sparql.query.impl.SimpleQuery
org.apache.clerezza.rdf.core.sparql.query.impl.SimpleQueryWithSolutionModifier
- All Implemented Interfaces:
- Query, QueryWithSolutionModifier
- Direct Known Subclasses:
- SimpleConstructQuery, SimpleDescribeQuery, SimpleSelectQuery
public abstract class SimpleQueryWithSolutionModifier
- extends SimpleQuery
- implements QueryWithSolutionModifier
- Author:
- hasan
SimpleQueryWithSolutionModifier
public SimpleQueryWithSolutionModifier()
getOrderConditions
public List<OrderCondition> getOrderConditions()
- Description copied from interface:
QueryWithSolutionModifier
Gets the list of required ordering conditions in decreasing ordering
priority.
- Specified by:
getOrderConditions in interface QueryWithSolutionModifier
- Returns:
- A list of
OrderConditions, in order of priority. - See Also:
-
SPARQL Query Language: 9.1 ORDER BY
getOffset
public int getOffset()
- Description copied from interface:
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.
- Specified by:
getOffset in interface QueryWithSolutionModifier
- Returns:
- The number of rows to skip in the result.
- See Also:
-
SPARQL Query Language: 9.4 OFFSET
getLimit
public int getLimit()
- Description copied from interface:
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.
- Specified by:
getLimit in interface QueryWithSolutionModifier
- Returns:
- The maximum number of rows to returned by the query.
- See Also:
-
SPARQL Query Language: 9.5 LIMIT
addOrderCondition
public void addOrderCondition(OrderCondition orderCondition)
setOffset
public void setOffset(int offset)
setLimit
public void setLimit(int limit)
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.