org.aksw.commons.sparql.api.pagination.extra
Class PaginationState

java.lang.Object
  extended by 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
 

Constructor Detail

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 -
Method Detail

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.