public interface SparqlQueryConnection extends Transactional, AutoCloseable
RDFConnection,
RDFConnectionFactoryTransactional.Promote| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close this connection.
|
QueryExecution |
query(Query query)
Setup a SPARQL query execution.
|
QueryExecution |
query(String queryString)
Setup a SPARQL query execution.
|
boolean |
queryAsk(Query query)
Execute a ASK query and return a boolean
|
boolean |
queryAsk(String query)
Execute a ASK query and return a boolean
|
Model |
queryConstruct(Query query)
Execute a CONSTRUCT query and return as a Model
|
Model |
queryConstruct(String query)
Execute a CONSTRUCT query and return as a Model
|
Model |
queryDescribe(Query query)
Execute a DESCRIBE query and return as a Model
|
Model |
queryDescribe(String query)
Execute a DESCRIBE query and return as a Model
|
void |
queryResultSet(Query query,
Consumer<ResultSet> resultSetAction)
Execute a SELECT query and process the ResultSet with the handler code.
|
void |
queryResultSet(String query,
Consumer<ResultSet> resultSetAction)
Execute a SELECT query and process the ResultSet with the handler code.
|
void |
querySelect(Query query,
Consumer<QuerySolution> rowAction)
Execute a SELECT query and process the rows of the results with the handler code.
|
void |
querySelect(String query,
Consumer<QuerySolution> rowAction)
Execute a SELECT query and process the rows of the results with the handler code.
|
abort, begin, begin, begin, commit, end, isInTransaction, promote, promote, transactionMode, transactionTypevoid queryResultSet(String query, Consumer<ResultSet> resultSetAction)
query - resultSetAction - void queryResultSet(Query query, Consumer<ResultSet> resultSetAction)
query - resultSetAction - void querySelect(String query, Consumer<QuerySolution> rowAction)
query - rowAction - void querySelect(Query query, Consumer<QuerySolution> rowAction)
query - rowAction - boolean queryAsk(String query)
boolean queryAsk(Query query)
QueryExecution query(Query query)
querySelect(Query, Consumer), queryConstruct(Query),
queryDescribe(Query), queryAsk(Query)
for ways to execute queries for of a specific form.query - QueryExecution query(String queryString)
querySelect(String, Consumer), queryConstruct(String),
queryDescribe(String), queryAsk(String)
for ways to execute queries for of a specific form.queryString - void close()
close in interface AutoCloseableLicenced under the Apache License, Version 2.0