Class DatasetQueryExecutorImpl
java.lang.Object
org.eclipse.lyo.store.internals.query.DatasetQueryExecutorImpl
- All Implemented Interfaces:
JenaQueryExecutor
DatasetQueryExecutorImpl is a work-in-progress implementation of in-memory and on-disk store
implementation via
SparqlStoreImpl
.- Since:
- 0.14.0
- Version:
- $version-stub$
- Author:
- Andrew Berezovskyi (andriib@kth.se)
-
Constructor Summary
Constructors -
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
-
DatasetQueryExecutorImpl
public DatasetQueryExecutorImpl()UseStoreFactory
instead. -
DatasetQueryExecutorImpl
-
-
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
-