|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.aksw.commons.jena.ExtendedQueryEngineHTTP
@Deprecated public class ExtendedQueryEngineHTTP
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 |
|---|
public static final String QUERY_MIME_TYPE
| Constructor Detail |
|---|
public ExtendedQueryEngineHTTP(String serviceURI,
com.hp.hpl.jena.query.Query query)
public ExtendedQueryEngineHTTP(String serviceURI,
String queryString)
| Method Detail |
|---|
public void setTimeOut(long timeOut)
public long getTimeOut()
public void setFileManager(com.hp.hpl.jena.util.FileManager fm)
setFileManager in interface com.hp.hpl.jena.query.QueryExecutionpublic void setInitialBinding(com.hp.hpl.jena.query.QuerySolution binding)
setInitialBinding in interface com.hp.hpl.jena.query.QueryExecutionpublic void setInitialBindings(com.hp.hpl.jena.query.ResultSet table)
public void setDefaultGraphURIs(List<String> defaultGraphURIs)
defaultGraphURIs - The defaultGraphURIs to set.public void setNamedGraphURIs(List<String> namedGraphURIs)
namedGraphURIs - The namedGraphURIs to set.
public void addParam(String field,
String value)
public void addDefaultGraph(String defaultGraph)
defaultGraph - The defaultGraph to add.public void addNamedGraph(String name)
name - The URI to add.
public void setBasicAuthentication(String user,
char[] password)
user - password - public com.hp.hpl.jena.query.ResultSet execSelect()
execSelect in interface com.hp.hpl.jena.query.QueryExecutionpublic com.hp.hpl.jena.rdf.model.Model execConstruct()
execConstruct in interface com.hp.hpl.jena.query.QueryExecutionpublic com.hp.hpl.jena.rdf.model.Model execConstruct(com.hp.hpl.jena.rdf.model.Model model)
execConstruct in interface com.hp.hpl.jena.query.QueryExecutionpublic com.hp.hpl.jena.rdf.model.Model execDescribe()
execDescribe in interface com.hp.hpl.jena.query.QueryExecutionpublic com.hp.hpl.jena.rdf.model.Model execDescribe(com.hp.hpl.jena.rdf.model.Model model)
execDescribe in interface com.hp.hpl.jena.query.QueryExecutionpublic boolean execAsk()
execAsk in interface com.hp.hpl.jena.query.QueryExecutionpublic com.hp.hpl.jena.sparql.util.Context getContext()
getContext in interface com.hp.hpl.jena.query.QueryExecutionpublic void abort()
abort in interface com.hp.hpl.jena.query.QueryExecutionpublic void close()
close in interface com.hp.hpl.jena.query.QueryExecution
public void setTimeout(long timeout,
TimeUnit timeoutUnits)
setTimeout in interface com.hp.hpl.jena.query.QueryExecutionpublic void setTimeout(long timeout)
setTimeout in interface com.hp.hpl.jena.query.QueryExecution
public void setTimeout(long timeout1,
TimeUnit timeUnit1,
long timeout2,
TimeUnit timeUnit2)
setTimeout in interface com.hp.hpl.jena.query.QueryExecution
public void setTimeout(long timeout1,
long timeout2)
setTimeout in interface com.hp.hpl.jena.query.QueryExecutionpublic String toString()
toString in class Objectpublic com.hp.hpl.jena.query.Dataset getDataset()
getDataset in interface com.hp.hpl.jena.query.QueryExecution
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||