org.aksw.commons.sparql.api.core
Class QueryExecutionDecorator

java.lang.Object
  extended by org.aksw.commons.sparql.api.core.QueryExecutionDecorator
All Implemented Interfaces:
com.hp.hpl.jena.query.QueryExecution
Direct Known Subclasses:
QueryExecutionCache, QueryExecutionDelay, QueryExecutionPaginated

public class QueryExecutionDecorator
extends Object
implements com.hp.hpl.jena.query.QueryExecution

Author:
Claus Stadler

Date: 7/26/11 Time: 10:28 AM


Field Summary
protected  com.hp.hpl.jena.query.QueryExecution decoratee
           
 
Constructor Summary
QueryExecutionDecorator(com.hp.hpl.jena.query.QueryExecution decoratee)
           
 
Method Summary
 void abort()
           
 void close()
           
 boolean execAsk()
           
 com.hp.hpl.jena.rdf.model.Model execConstruct()
           
 com.hp.hpl.jena.rdf.model.Model execConstruct(com.hp.hpl.jena.rdf.model.Model model)
           
 com.hp.hpl.jena.rdf.model.Model execDescribe()
           
 com.hp.hpl.jena.rdf.model.Model execDescribe(com.hp.hpl.jena.rdf.model.Model model)
           
 com.hp.hpl.jena.query.ResultSet execSelect()
           
 com.hp.hpl.jena.sparql.util.Context getContext()
           
 com.hp.hpl.jena.query.Dataset getDataset()
           
protected  com.hp.hpl.jena.query.QueryExecution getDecoratee()
           
protected  void setDecoratee(com.hp.hpl.jena.query.QueryExecution decoratee)
           
 void setFileManager(com.hp.hpl.jena.util.FileManager fm)
           
 void setInitialBinding(com.hp.hpl.jena.query.QuerySolution binding)
           
 void setTimeout(long timeout)
           
 void setTimeout(long timeout1, long timeout2)
           
 void setTimeout(long timeout, TimeUnit timeoutUnits)
           
 void setTimeout(long timeout1, TimeUnit timeUnit1, long timeout2, TimeUnit timeUnit2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

decoratee

protected com.hp.hpl.jena.query.QueryExecution decoratee
Constructor Detail

QueryExecutionDecorator

public QueryExecutionDecorator(com.hp.hpl.jena.query.QueryExecution decoratee)
Method Detail

getDecoratee

protected com.hp.hpl.jena.query.QueryExecution getDecoratee()

setDecoratee

protected void setDecoratee(com.hp.hpl.jena.query.QueryExecution decoratee)

setFileManager

public void setFileManager(com.hp.hpl.jena.util.FileManager fm)
Specified by:
setFileManager in interface com.hp.hpl.jena.query.QueryExecution

setInitialBinding

public void setInitialBinding(com.hp.hpl.jena.query.QuerySolution binding)
Specified by:
setInitialBinding in interface com.hp.hpl.jena.query.QueryExecution

getDataset

public com.hp.hpl.jena.query.Dataset getDataset()
Specified by:
getDataset in interface com.hp.hpl.jena.query.QueryExecution

getContext

public com.hp.hpl.jena.sparql.util.Context getContext()
Specified by:
getContext in interface com.hp.hpl.jena.query.QueryExecution

execSelect

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

execConstruct

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

execConstruct

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

execDescribe

public com.hp.hpl.jena.rdf.model.Model execDescribe()
Specified by:
execDescribe in interface com.hp.hpl.jena.query.QueryExecution

execDescribe

public com.hp.hpl.jena.rdf.model.Model execDescribe(com.hp.hpl.jena.rdf.model.Model model)
Specified by:
execDescribe in interface com.hp.hpl.jena.query.QueryExecution

execAsk

public boolean execAsk()
Specified by:
execAsk in interface com.hp.hpl.jena.query.QueryExecution

abort

public void abort()
Specified by:
abort in interface com.hp.hpl.jena.query.QueryExecution

close

public void close()
Specified by:
close in interface com.hp.hpl.jena.query.QueryExecution

setTimeout

public void setTimeout(long timeout,
                       TimeUnit timeoutUnits)
Specified by:
setTimeout in interface com.hp.hpl.jena.query.QueryExecution

setTimeout

public void setTimeout(long timeout)
Specified by:
setTimeout in interface com.hp.hpl.jena.query.QueryExecution

setTimeout

public void setTimeout(long timeout1,
                       TimeUnit timeUnit1,
                       long timeout2,
                       TimeUnit timeUnit2)
Specified by:
setTimeout in interface com.hp.hpl.jena.query.QueryExecution

setTimeout

public void setTimeout(long timeout1,
                       long timeout2)
Specified by:
setTimeout in interface com.hp.hpl.jena.query.QueryExecution


Copyright © 2011. All Rights Reserved.