org.aksw.commons.sparql.api.pagination.extra
Class PaginationState
java.lang.Object
org.aksw.commons.sparql.api.pagination.extra.PaginationState
public class PaginationState
- extends Object
- Author:
- raven
|
Constructor Summary |
PaginationState(com.hp.hpl.jena.query.Query query,
long pageSize)
Note: The query object's limit and offest will be modified. |
|
Method Summary |
com.hp.hpl.jena.query.Query |
next()
Returns the next query or null |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PaginationState
public PaginationState(com.hp.hpl.jena.query.Query query,
long pageSize)
- Note: The query object's limit and offest will be modified.
Use Query.cloneQuery in order to create a copy.
- Parameters:
query - pageSize -
next
public com.hp.hpl.jena.query.Query next()
throws Exception
- Returns the next query or null
- Returns:
-
- Throws:
Exception
Copyright © 2011. All Rights Reserved.