org.aksw.commons.sparql.api.pagination.core
Class ResultSetPaginated
java.lang.Object
org.aksw.commons.collections.PrefetchIterator<com.hp.hpl.jena.sparql.engine.binding.Binding>
org.aksw.commons.sparql.api.pagination.core.ResultSetPaginated
- All Implemented Interfaces:
- Iterator<com.hp.hpl.jena.sparql.engine.binding.Binding>, org.openjena.atlas.lib.Closeable
public class ResultSetPaginated
- extends PrefetchIterator<com.hp.hpl.jena.sparql.engine.binding.Binding>
- implements org.openjena.atlas.lib.Closeable
|
Method Summary |
void |
close()
|
com.hp.hpl.jena.query.ResultSet |
getCurrentResultSet()
|
protected com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorResultSet |
prefetch()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResultSetPaginated
public ResultSetPaginated(QueryExecutionPaginated execution,
QueryExecutionFactory service,
String queryString,
long pageSize)
ResultSetPaginated
public ResultSetPaginated(QueryExecutionPaginated execution,
QueryExecutionFactory service,
com.hp.hpl.jena.query.Query query,
long pageSize)
getCurrentResultSet
public com.hp.hpl.jena.query.ResultSet getCurrentResultSet()
prefetch
protected com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorResultSet prefetch()
throws Exception
- Specified by:
prefetch in class PrefetchIterator<com.hp.hpl.jena.sparql.engine.binding.Binding>
- Throws:
Exception
close
public void close()
- Specified by:
close in interface org.openjena.atlas.lib.Closeable- Overrides:
close in class PrefetchIterator<com.hp.hpl.jena.sparql.engine.binding.Binding>
Copyright © 2012. All Rights Reserved.