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

java.lang.Object
  extended by org.aksw.commons.sparql.api.core.QueryExecutionAdapter
All Implemented Interfaces:
com.hp.hpl.jena.query.QueryExecution
Direct Known Subclasses:
QueryExecutionDereference

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

Author:
Claus Stadler

Date: 11/29/11 Time: 12:01 AM


Field Summary
protected  QueryExecutionTimeoutHelper timeoutHelper
           
 
Constructor Summary
QueryExecutionAdapter()
           
 
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()
           
 com.hp.hpl.jena.query.Query getQuery()
          The query associated with a query execution.
 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

timeoutHelper

protected QueryExecutionTimeoutHelper timeoutHelper
Constructor Detail

QueryExecutionAdapter

public QueryExecutionAdapter()
Method Detail

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

getQuery

public com.hp.hpl.jena.query.Query getQuery()
The query associated with a query execution. May be null (QueryExecution may have been created by other means)

Specified by:
getQuery 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 © 2012. All Rights Reserved.