org.aksw.commons.jena
Class ExtendedQueryEngineHTTP

java.lang.Object
  extended by org.aksw.commons.jena.ExtendedQueryEngineHTTP
All Implemented Interfaces:
com.hp.hpl.jena.query.QueryExecution

Deprecated.

@Deprecated
public class ExtendedQueryEngineHTTP
extends Object
implements com.hp.hpl.jena.query.QueryExecution

A QueryEngineHTTP that is capable of closing connections after a given timeout. Jena now provides one on its own


Field Summary
static String QUERY_MIME_TYPE
          Deprecated.  
 
Constructor Summary
ExtendedQueryEngineHTTP(String serviceURI, com.hp.hpl.jena.query.Query query)
          Deprecated.  
ExtendedQueryEngineHTTP(String serviceURI, String queryString)
          Deprecated.  
 
Method Summary
 void abort()
          Deprecated.  
 void addDefaultGraph(String defaultGraph)
          Deprecated.  
 void addNamedGraph(String name)
          Deprecated.  
 void addParam(String field, String value)
          Deprecated.  
 void close()
          Deprecated.  
 boolean execAsk()
          Deprecated.  
 com.hp.hpl.jena.rdf.model.Model execConstruct()
          Deprecated.  
 com.hp.hpl.jena.rdf.model.Model execConstruct(com.hp.hpl.jena.rdf.model.Model model)
          Deprecated.  
 com.hp.hpl.jena.rdf.model.Model execDescribe()
          Deprecated.  
 com.hp.hpl.jena.rdf.model.Model execDescribe(com.hp.hpl.jena.rdf.model.Model model)
          Deprecated.  
 com.hp.hpl.jena.query.ResultSet execSelect()
          Deprecated.  
 com.hp.hpl.jena.sparql.util.Context getContext()
          Deprecated.  
 com.hp.hpl.jena.query.Dataset getDataset()
          Deprecated.  
 long getTimeOut()
          Deprecated.  
 void setBasicAuthentication(String user, char[] password)
          Deprecated. Set user and password for basic authentication.
 void setDefaultGraphURIs(List<String> defaultGraphURIs)
          Deprecated.  
 void setFileManager(com.hp.hpl.jena.util.FileManager fm)
          Deprecated.  
 void setInitialBinding(com.hp.hpl.jena.query.QuerySolution binding)
          Deprecated.  
 void setInitialBindings(com.hp.hpl.jena.query.ResultSet table)
          Deprecated.  
 void setNamedGraphURIs(List<String> namedGraphURIs)
          Deprecated.  
 void setTimeout(long timeout)
          Deprecated.  
 void setTimeOut(long timeOut)
          Deprecated.  
 void setTimeout(long timeout1, long timeout2)
          Deprecated.  
 void setTimeout(long timeout, TimeUnit timeoutUnits)
          Deprecated.  
 void setTimeout(long timeout1, TimeUnit timeUnit1, long timeout2, TimeUnit timeUnit2)
          Deprecated.  
 String toString()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

QUERY_MIME_TYPE

public static final String QUERY_MIME_TYPE
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

ExtendedQueryEngineHTTP

public ExtendedQueryEngineHTTP(String serviceURI,
                               com.hp.hpl.jena.query.Query query)
Deprecated. 

ExtendedQueryEngineHTTP

public ExtendedQueryEngineHTTP(String serviceURI,
                               String queryString)
Deprecated. 
Method Detail

setTimeOut

public void setTimeOut(long timeOut)
Deprecated. 

getTimeOut

public long getTimeOut()
Deprecated. 

setFileManager

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

setInitialBinding

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

setInitialBindings

public void setInitialBindings(com.hp.hpl.jena.query.ResultSet table)
Deprecated. 

setDefaultGraphURIs

public void setDefaultGraphURIs(List<String> defaultGraphURIs)
Deprecated. 
Parameters:
defaultGraphURIs - The defaultGraphURIs to set.

setNamedGraphURIs

public void setNamedGraphURIs(List<String> namedGraphURIs)
Deprecated. 
Parameters:
namedGraphURIs - The namedGraphURIs to set.

addParam

public void addParam(String field,
                     String value)
Deprecated. 

addDefaultGraph

public void addDefaultGraph(String defaultGraph)
Deprecated. 
Parameters:
defaultGraph - The defaultGraph to add.

addNamedGraph

public void addNamedGraph(String name)
Deprecated. 
Parameters:
name - The URI to add.

setBasicAuthentication

public void setBasicAuthentication(String user,
                                   char[] password)
Deprecated. 
Set user and password for basic authentication. After the request is made (one of the exec calls), the application can overwrite the password array to remove details of the secret.

Parameters:
user -
password -

execSelect

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

execConstruct

public com.hp.hpl.jena.rdf.model.Model execConstruct()
Deprecated. 
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)
Deprecated. 
Specified by:
execConstruct in interface com.hp.hpl.jena.query.QueryExecution

execDescribe

public com.hp.hpl.jena.rdf.model.Model execDescribe()
Deprecated. 
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)
Deprecated. 
Specified by:
execDescribe in interface com.hp.hpl.jena.query.QueryExecution

execAsk

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

getContext

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

abort

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

close

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

setTimeout

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

setTimeout

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

setTimeout

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

setTimeout

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

toString

public String toString()
Deprecated. 
Overrides:
toString in class Object

getDataset

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


Copyright © 2011. All Rights Reserved.