org.aksw.commons.sparql.api.pagination.core
Class QueryExecutionPaginated

java.lang.Object
  extended by org.aksw.commons.sparql.api.core.QueryExecutionDecorator
      extended by org.aksw.commons.sparql.api.pagination.core.QueryExecutionPaginated
All Implemented Interfaces:
com.hp.hpl.jena.query.QueryExecution

public class QueryExecutionPaginated
extends QueryExecutionDecorator

A query execution that generates paginated result sets. Note: Construct queries are NOT paginated. (Because I don't see how a model can be paginated)

Author:
Claus Stadler

Date: 7/26/11 Time: 7:59 PM


Field Summary
 
Fields inherited from class org.aksw.commons.sparql.api.core.QueryExecutionDecorator
decoratee
 
Constructor Summary
QueryExecutionPaginated(QueryExecutionFactory factory, com.hp.hpl.jena.query.Query query, long pageSize)
           
 
Method Summary
 com.hp.hpl.jena.rdf.model.Model execConstruct()
           
 com.hp.hpl.jena.rdf.model.Model execConstruct(com.hp.hpl.jena.rdf.model.Model result)
           
 com.hp.hpl.jena.query.ResultSet execSelect()
           
 
Methods inherited from class org.aksw.commons.sparql.api.core.QueryExecutionDecorator
abort, close, execAsk, execDescribe, execDescribe, getContext, getDataset, getDecoratee, getQuery, setDecoratee, setFileManager, setInitialBinding, setTimeout, setTimeout, setTimeout, setTimeout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryExecutionPaginated

public QueryExecutionPaginated(QueryExecutionFactory factory,
                               com.hp.hpl.jena.query.Query query,
                               long pageSize)
Method Detail

execSelect

public com.hp.hpl.jena.query.ResultSet execSelect()
Specified by:
execSelect in interface com.hp.hpl.jena.query.QueryExecution
Overrides:
execSelect in class QueryExecutionDecorator

execConstruct

public com.hp.hpl.jena.rdf.model.Model execConstruct()
Specified by:
execConstruct in interface com.hp.hpl.jena.query.QueryExecution
Overrides:
execConstruct in class QueryExecutionDecorator

execConstruct

public com.hp.hpl.jena.rdf.model.Model execConstruct(com.hp.hpl.jena.rdf.model.Model result)
Specified by:
execConstruct in interface com.hp.hpl.jena.query.QueryExecution
Overrides:
execConstruct in class QueryExecutionDecorator


Copyright © 2012. All Rights Reserved.