Class SparqlQueryExecutorBasicAuthImpl
java.lang.Object
org.eclipse.lyo.store.internals.query.SparqlQueryExecutorBasicAuthImpl
- All Implemented Interfaces:
JenaQueryExecutor
SparqlQueryExecutorImpl is a SPARQL endpoint-based implementation of
JenaQueryExecutor
.- Since:
- 0.14.0
- Version:
- $version-stub$
-
Constructor Summary
ConstructorDescriptionSparqlQueryExecutorBasicAuthImpl
(String sparqlEndpoint, String updateEndpoint, String login, String password) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
commit()
void
end()
prepareSparqlQuery
(String query) Prepares a SPARQL Query executor (read-only).prepareSparqlUpdate
(String query) Prepares a SPARQL Update processor (write-only).prepareSparqlUpdate
(Update update) Prepares a SPARQL Update processor (write-only).prepareSparqlUpdate
(UpdateRequest updateRequest) Prepares a SPARQL Update processor (write-only).void
release()
Release a connection to the underlying engine
-
Constructor Details
-
SparqlQueryExecutorBasicAuthImpl
-
-
Method Details
-
prepareSparqlQuery
Description copied from interface:JenaQueryExecutor
Prepares a SPARQL Query executor (read-only).- Specified by:
prepareSparqlQuery
in interfaceJenaQueryExecutor
- Parameters:
query
- SPARQL query string- Returns:
- prepared executor
-
prepareSparqlUpdate
Description copied from interface:JenaQueryExecutor
Prepares a SPARQL Update processor (write-only).- Specified by:
prepareSparqlUpdate
in interfaceJenaQueryExecutor
- Returns:
- prepared processor
-
prepareSparqlUpdate
Description copied from interface:JenaQueryExecutor
Prepares a SPARQL Update processor (write-only).- Specified by:
prepareSparqlUpdate
in interfaceJenaQueryExecutor
- Returns:
- prepared processor
-
prepareSparqlUpdate
Description copied from interface:JenaQueryExecutor
Prepares a SPARQL Update processor (write-only).- Specified by:
prepareSparqlUpdate
in interfaceJenaQueryExecutor
- Parameters:
query
- SPARQL query string- Returns:
- prepared processor
-
release
public void release()Description copied from interface:JenaQueryExecutor
Release a connection to the underlying engine- Specified by:
release
in interfaceJenaQueryExecutor
-
beginWrite
public void beginWrite()- Specified by:
beginWrite
in interfaceJenaQueryExecutor
-
beginRead
public void beginRead()- Specified by:
beginRead
in interfaceJenaQueryExecutor
-
commit
public void commit()- Specified by:
commit
in interfaceJenaQueryExecutor
-
end
public void end()- Specified by:
end
in interfaceJenaQueryExecutor
-