Package org.eclipse.rdf4j.workbench.util
Class PagedQuery
java.lang.Object
org.eclipse.rdf4j.workbench.util.PagedQuery
-
Constructor Summary
ConstructorDescriptionPagedQuery
(String query, QueryLanguage language, int requestLimit, int requestOffset) Creates an object that adds or modifies the limit and offset clauses of the query to be executed so that only those results to be displayed are requested from the query engine. -
Method Summary
-
Constructor Details
-
PagedQuery
Creates an object that adds or modifies the limit and offset clauses of the query to be executed so that only those results to be displayed are requested from the query engine.
Implementation note: The new object contains the user's query with appended or modified LIMIT and OFFSET clauses.
- Parameters:
query
- as it was specified by the userlanguage
- aQueryLanguage
as specified by the userrequestLimit
- maximum number of results to return, as specified by the URL query parameters or cookiesrequestOffset
- which result to start at when populating the result set
-
-
Method Details
-
isPaged
public boolean isPaged() -
getLimit
public int getLimit() -
getOffset
public int getOffset() -
toString
-