Package org.aksw.jena_sparql_api.fail
Class QueryExecutionFactoryAlwaysFail
java.lang.Object
org.aksw.jena_sparql_api.core.QueryExecutionFactoryBase
org.aksw.jena_sparql_api.fail.QueryExecutionFactoryAlwaysFail
- All Implemented Interfaces:
AutoCloseable,QueryExecutionFactory,QueryExecutionFactoryQuery,QueryExecutionFactoryString
QueryExecutionFactory that always fails.
Useful for test cases that should operate
on cached queries only. This qef can be used
as a backend to a cache.
- Author:
- raven Mar 26, 2018
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.apache.jena.sparql.core.DatasetDescriptionprotected String -
Constructor Summary
ConstructorsConstructorDescriptionQueryExecutionFactoryAlwaysFail(String serviceId, org.apache.jena.sparql.core.DatasetDescription datasetDescription) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.jena.query.QueryExecutioncreateQueryExecution(String queryString) org.apache.jena.query.QueryExecutioncreateQueryExecution(org.apache.jena.query.Query query) getId()getState()Methods inherited from class org.aksw.jena_sparql_api.core.QueryExecutionFactoryBase
close, unwrapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.aksw.jenax.dataaccess.sparql.factory.execution.query.QueryExecutionFactoryQuery
execConstruct, execConstruct, execConstructDataset, execConstructDataset, execDescribe, execDescribe
-
Field Details
-
serviceId
-
datasetDescription
protected org.apache.jena.sparql.core.DatasetDescription datasetDescription
-
-
Constructor Details
-
QueryExecutionFactoryAlwaysFail
public QueryExecutionFactoryAlwaysFail(String serviceId, org.apache.jena.sparql.core.DatasetDescription datasetDescription)
-
-
Method Details
-
getId
-
getState
-
createQueryExecution
-
createQueryExecution
public org.apache.jena.query.QueryExecution createQueryExecution(org.apache.jena.query.Query query)
-