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
ConstructorsConstructorDescriptionSparqlQueryExecutorBasicAuthImpl(String sparqlEndpoint, String updateEndpoint, String login, String password) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidcommit()voidend()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).voidrelease()Release a connection to the underlying engine
-
Constructor Details
-
SparqlQueryExecutorBasicAuthImpl
-
-
Method Details
-
prepareSparqlQuery
Description copied from interface:JenaQueryExecutorPrepares a SPARQL Query executor (read-only).- Specified by:
prepareSparqlQueryin interfaceJenaQueryExecutor- Parameters:
query- SPARQL query string- Returns:
- prepared executor
-
prepareSparqlUpdate
Description copied from interface:JenaQueryExecutorPrepares a SPARQL Update processor (write-only).- Specified by:
prepareSparqlUpdatein interfaceJenaQueryExecutor- Returns:
- prepared processor
-
prepareSparqlUpdate
Description copied from interface:JenaQueryExecutorPrepares a SPARQL Update processor (write-only).- Specified by:
prepareSparqlUpdatein interfaceJenaQueryExecutor- Returns:
- prepared processor
-
prepareSparqlUpdate
Description copied from interface:JenaQueryExecutorPrepares a SPARQL Update processor (write-only).- Specified by:
prepareSparqlUpdatein interfaceJenaQueryExecutor- Parameters:
query- SPARQL query string- Returns:
- prepared processor
-
release
public void release()Description copied from interface:JenaQueryExecutorRelease a connection to the underlying engine- Specified by:
releasein interfaceJenaQueryExecutor
-
beginWrite
public void beginWrite()- Specified by:
beginWritein interfaceJenaQueryExecutor
-
beginRead
public void beginRead()- Specified by:
beginReadin interfaceJenaQueryExecutor
-
commit
public void commit()- Specified by:
commitin interfaceJenaQueryExecutor
-
end
public void end()- Specified by:
endin interfaceJenaQueryExecutor
-