Modifier and Type | Method and Description |
---|---|
protected void |
TupleAndGraphQueryEvaluator.evaluateBooleanQuery(QueryLanguage queryLn,
String queryString,
QueryResultWriter writer)
Evaluate a boolean SPARQL or SERQL query
|
protected void |
TupleAndGraphQueryEvaluator.evaluateGraphQuery(QueryLanguage queryLn,
String queryString,
RDFWriter writer,
Collection<Namespace> namespaces)
Evaluate SPARQL or SERQL graph query
|
protected void |
TupleAndGraphQueryEvaluator.evaluateTupleQuery(QueryLanguage queryLn,
String queryString,
QueryResultWriter writer)
Evaluate SPARQL or SERQL tuple query and send the output to a writer.
|
protected void |
TupleAndGraphQueryEvaluator.executeUpdate(QueryLanguage queryLn,
String queryString)
Execute a SPARQL or SERQL update
|
Modifier and Type | Method and Description |
---|---|
String |
QueryManager.getQueryPlan(String queryString)
Retrieve the query plan for the given query string.
|
BooleanQuery |
QueryManager.prepareBooleanQuery(String queryString)
Prepare a boolean query which uses the underlying federation to evaluate the query.
|
GraphQuery |
QueryManager.prepareGraphQuery(String queryString)
Prepare a tuple query which uses the underlying federation to evaluate the query.
|
Query |
QueryManager.prepareQuery(String queryString)
Prepare a
Query which uses the underlying federation to evaluate the SPARQL query. |
TupleQuery |
QueryManager.prepareTupleQuery(String queryString)
Prepare a tuple query which uses the underlying federation to evaluate the query.
|
Modifier and Type | Method and Description |
---|---|
protected CloseableIteration<BindingSet,QueryEvaluationException> |
StatementSourcePattern.handleStatementSourcePatternCheck(BindingSet bindings) |
Modifier and Type | Method and Description |
---|---|
SailBooleanQuery |
FedXRepositoryConnection.prepareBooleanQuery(QueryLanguage ql,
String queryString,
String baseURI) |
FedXGraphQuery |
FedXRepositoryConnection.prepareGraphQuery(QueryLanguage ql,
String queryString,
String baseURI) |
SailQuery |
FedXRepositoryConnection.prepareQuery(QueryLanguage ql,
String queryString,
String baseURI) |
FedXTupleQuery |
FedXRepositoryConnection.prepareTupleQuery(QueryLanguage ql,
String queryString,
String baseURI) |
Update |
FedXRepositoryConnection.prepareUpdate(QueryLanguage ql,
String updateString,
String baseURI) |
Modifier and Type | Method and Description |
---|---|
protected TupleQueryResult |
SPARQLProtocolSession.getBackgroundTupleQueryResult(org.apache.http.client.methods.HttpUriRequest method)
Parse the response in a background thread.
|
protected void |
SPARQLProtocolSession.getRDF(org.apache.http.client.methods.HttpUriRequest method,
RDFHandler handler,
boolean requireContext)
Parse the response in this thread using the provided
RDFHandler . |
protected GraphQueryResult |
SPARQLProtocolSession.getRDFBackground(org.apache.http.client.methods.HttpUriRequest method,
boolean requireContext)
Parse the response in a background thread.
|
protected void |
SPARQLProtocolSession.getTupleQueryResult(org.apache.http.client.methods.HttpUriRequest method,
TupleQueryResultHandler handler)
Parse the response in this thread using the provided
TupleQueryResultHandler . |
boolean |
SPARQLProtocolSession.sendBooleanQuery(QueryLanguage ql,
String query,
Dataset dataset,
boolean includeInferred,
Binding... bindings) |
boolean |
SPARQLProtocolSession.sendBooleanQuery(QueryLanguage ql,
String query,
String baseURI,
Dataset dataset,
boolean includeInferred,
int maxQueryTime,
Binding... bindings) |
GraphQueryResult |
SPARQLProtocolSession.sendGraphQuery(QueryLanguage ql,
String query,
Dataset dataset,
boolean includeInferred,
Binding... bindings) |
void |
SPARQLProtocolSession.sendGraphQuery(QueryLanguage ql,
String query,
Dataset dataset,
boolean includeInferred,
RDFHandler handler,
Binding... bindings) |
GraphQueryResult |
SPARQLProtocolSession.sendGraphQuery(QueryLanguage ql,
String query,
String baseURI,
Dataset dataset,
boolean includeInferred,
int maxQueryTime,
Binding... bindings) |
void |
SPARQLProtocolSession.sendGraphQuery(QueryLanguage ql,
String query,
String baseURI,
Dataset dataset,
boolean includeInferred,
int maxQueryTime,
RDFHandler handler,
Binding... bindings) |
TupleQueryResult |
SPARQLProtocolSession.sendTupleQuery(QueryLanguage ql,
String query,
Dataset dataset,
boolean includeInferred,
Binding... bindings) |
TupleQueryResult |
SPARQLProtocolSession.sendTupleQuery(QueryLanguage ql,
String query,
String baseURI,
Dataset dataset,
boolean includeInferred,
int maxQueryTime,
Binding... bindings) |
void |
SPARQLProtocolSession.sendTupleQuery(QueryLanguage ql,
String query,
String baseURI,
Dataset dataset,
boolean includeInferred,
int maxQueryTime,
TupleQueryResultHandler handler,
Binding... bindings) |
void |
SPARQLProtocolSession.sendUpdate(QueryLanguage ql,
String update,
String baseURI,
Dataset dataset,
boolean includeInferred,
Binding... bindings) |
void |
SPARQLProtocolSession.sendUpdate(QueryLanguage ql,
String update,
String baseURI,
Dataset dataset,
boolean includeInferred,
int maxQueryTime,
Binding... bindings) |
Modifier and Type | Class and Description |
---|---|
class |
IncompatibleOperationException
An exception indicating that a string could not be parsed into an operation of the expected type by the parser.
|
Modifier and Type | Method and Description |
---|---|
static ParsedBooleanQuery |
QueryParserUtil.parseBooleanQuery(QueryLanguage ql,
String query,
String baseURI)
Parses the supplied query into a query model.
|
static ParsedGraphQuery |
QueryParserUtil.parseGraphQuery(QueryLanguage ql,
String query,
String baseURI)
Parses the supplied query into a query model.
|
static ParsedOperation |
QueryParserUtil.parseOperation(QueryLanguage ql,
String operation,
String baseURI)
Parses the supplied operation into a query model.
|
static ParsedQuery |
QueryParserUtil.parseQuery(QueryLanguage ql,
String query,
String baseURI)
Parses the supplied query into a query model.
|
ParsedQuery |
QueryParser.parseQuery(String queryStr,
String baseURI) |
static ParsedTupleQuery |
QueryParserUtil.parseTupleQuery(QueryLanguage ql,
String query,
String baseURI)
Parses the supplied query into a query model.
|
static ParsedUpdate |
QueryParserUtil.parseUpdate(QueryLanguage ql,
String update,
String baseURI)
Parses the supplied update operation into a query model.
|
ParsedUpdate |
QueryParser.parseUpdate(String updateStr,
String baseURI) |
Modifier and Type | Method and Description |
---|---|
ParsedQuery |
SeRQLParser.parseQuery(String queryStr,
String baseURI) |
ParsedUpdate |
SeRQLParser.parseUpdate(String updateStr,
String baseURI) |
Modifier and Type | Method and Description |
---|---|
TupleExpr |
ConstructorBuilder.buildConstructor(TupleExpr bodyExpr,
boolean distinct,
boolean reduced)
Deprecated.
|
void |
SPARQLUpdateTest.contextualInsertDeleteData() |
ParsedQuery |
SPARQLParser.parseQuery(String queryStr,
String baseURI) |
ParsedUpdate |
SPARQLParser.parseUpdate(String updateStr,
String baseURI) |
static Set<String> |
BlankNodeVarProcessor.process(org.eclipse.rdf4j.query.parser.sparql.ast.ASTOperationContainer qc)
Deprecated.
|
static Map<String,String> |
PrefixDeclProcessor.process(org.eclipse.rdf4j.query.parser.sparql.ast.ASTOperationContainer qc)
Deprecated.
Processes prefix declarations in queries.
|
static void |
WildcardProjectionProcessor.process(org.eclipse.rdf4j.query.parser.sparql.ast.ASTOperationContainer container)
Deprecated.
|
static Dataset |
DatasetDeclProcessor.process(org.eclipse.rdf4j.query.parser.sparql.ast.ASTOperationContainer qc)
Deprecated.
Extracts a SPARQL
Dataset from an ASTQueryContainer, if one is contained. |
static void |
StringEscapesProcessor.process(org.eclipse.rdf4j.query.parser.sparql.ast.ASTOperationContainer qc)
Deprecated.
Processes escape sequences in ASTString objects.
|
static void |
BaseDeclProcessor.process(org.eclipse.rdf4j.query.parser.sparql.ast.ASTOperationContainer qc,
String externalBaseURI)
Deprecated.
Resolves relative URIs in the supplied query model using either the specified externalBaseURI or, if
this parameter is null, the base URI specified in the query model itself.
|
Modifier and Type | Method and Description |
---|---|
protected static String |
SPARQLQueryTest.getManifestName(Repository manifestRep,
RepositoryConnection con,
String manifestFileURL)
Deprecated.
|
protected static String |
SPARQLUpdateConformanceTest.getManifestName(Repository manifestRep,
RepositoryConnection con,
String manifestFileURL)
Deprecated.
|
protected abstract ParsedOperation |
SPARQL11SyntaxTest.parseOperation(String operation,
String fileURL)
Deprecated.
|
protected abstract ParsedOperation |
SPARQLSyntaxComplianceTest.parseOperation(String operation,
String fileURL) |
protected abstract ParsedOperation |
SPARQL11SyntaxComplianceTest.parseOperation(String operation,
String fileURL) |
Modifier and Type | Method and Description |
---|---|
BooleanQuery |
RepositoryConnection.prepareBooleanQuery(QueryLanguage ql,
String query)
Prepares queries that return true or false.
|
BooleanQuery |
RepositoryConnection.prepareBooleanQuery(QueryLanguage ql,
String query,
String baseURI)
Prepares queries that return true or false.
|
default BooleanQuery |
RepositoryConnection.prepareBooleanQuery(String query)
Prepares SPARQL queries that return true or false, that is, SPARQL ASK queries.
|
GraphQuery |
RepositoryConnection.prepareGraphQuery(QueryLanguage ql,
String query)
Prepares queries that produce RDF graphs.
|
GraphQuery |
RepositoryConnection.prepareGraphQuery(QueryLanguage ql,
String query,
String baseURI)
Prepares queries that produce RDF graphs.
|
default GraphQuery |
RepositoryConnection.prepareGraphQuery(String query)
Prepares SPARQL queries that produce RDF graphs, that is, SPARQL CONSTRUCT or DESCRIBE queries.
|
Query |
RepositoryConnection.prepareQuery(QueryLanguage ql,
String query)
Prepares a query for evaluation on this repository (optional operation).
|
Query |
RepositoryConnection.prepareQuery(QueryLanguage ql,
String query,
String baseURI)
Prepares a query for evaluation on this repository (optional operation).
|
default Query |
RepositoryConnection.prepareQuery(String query)
Prepares a SPARQL query for evaluation on this repository (optional operation).
|
TupleQuery |
RepositoryConnection.prepareTupleQuery(QueryLanguage ql,
String query)
Prepares a query that produces sets of value tuples.
|
TupleQuery |
RepositoryConnection.prepareTupleQuery(QueryLanguage ql,
String query,
String baseURI)
Prepares a query that produces sets of value tuples.
|
default TupleQuery |
RepositoryConnection.prepareTupleQuery(String query)
Prepares a SPARQL query that produces sets of value tuples, that is a SPARQL SELECT query.
|
Update |
RepositoryConnection.prepareUpdate(QueryLanguage ql,
String update)
Prepares an Update operation.
|
Update |
RepositoryConnection.prepareUpdate(QueryLanguage ql,
String update,
String baseURI)
Prepares an Update operation.
|
default Update |
RepositoryConnection.prepareUpdate(String update)
Prepares a SPARQL Update operation.
|
Modifier and Type | Method and Description |
---|---|
BooleanQuery |
AbstractRepositoryConnection.prepareBooleanQuery(QueryLanguage ql,
String query) |
BooleanQuery |
RepositoryConnectionWrapper.prepareBooleanQuery(QueryLanguage ql,
String query,
String baseURI) |
GraphQuery |
AbstractRepositoryConnection.prepareGraphQuery(QueryLanguage ql,
String query) |
GraphQuery |
RepositoryConnectionWrapper.prepareGraphQuery(QueryLanguage ql,
String query,
String baseURI) |
Query |
AbstractRepositoryConnection.prepareQuery(QueryLanguage ql,
String query) |
Query |
RepositoryConnectionWrapper.prepareQuery(QueryLanguage ql,
String query,
String baseURI) |
TupleQuery |
AbstractRepositoryConnection.prepareTupleQuery(QueryLanguage ql,
String query) |
TupleQuery |
RepositoryConnectionWrapper.prepareTupleQuery(QueryLanguage ql,
String query,
String baseURI) |
Update |
AbstractRepositoryConnection.prepareUpdate(QueryLanguage ql,
String update) |
Update |
RepositoryConnectionWrapper.prepareUpdate(QueryLanguage ql,
String update,
String baseURI) |
Modifier and Type | Method and Description |
---|---|
BooleanQuery |
DatasetRepositoryConnection.prepareBooleanQuery(QueryLanguage ql,
String query,
String baseURI) |
GraphQuery |
DatasetRepositoryConnection.prepareGraphQuery(QueryLanguage ql,
String query,
String baseURI) |
Query |
DatasetRepositoryConnection.prepareQuery(QueryLanguage ql,
String query,
String baseURI) |
TupleQuery |
DatasetRepositoryConnection.prepareTupleQuery(QueryLanguage ql,
String query,
String baseURI) |
Modifier and Type | Method and Description |
---|---|
Update |
NotifyingRepositoryConnectionWrapper.prepareUpdate(QueryLanguage ql,
String update,
String baseURI) |
Update |
InterceptingRepositoryConnectionWrapper.prepareUpdate(QueryLanguage ql,
String update,
String baseURI) |
Modifier and Type | Method and Description |
---|---|
MalformedQueryException |
HTTPUpdateExecutionException.getCauseAsMalformedQueryException() |
MalformedQueryException |
HTTPQueryEvaluationException.getCauseAsMalformedQueryException() |
Modifier and Type | Method and Description |
---|---|
SailBooleanQuery |
SailRepositoryConnection.prepareBooleanQuery(QueryLanguage ql,
String queryString,
String baseURI) |
SailGraphQuery |
SailRepositoryConnection.prepareGraphQuery(QueryLanguage ql,
String queryString,
String baseURI) |
SailQuery |
SailRepositoryConnection.prepareQuery(QueryLanguage ql,
String queryString,
String baseURI) |
SailTupleQuery |
SailRepositoryConnection.prepareTupleQuery(QueryLanguage ql,
String queryString,
String baseURI) |
Update |
SailRepositoryConnection.prepareUpdate(QueryLanguage ql,
String update,
String baseURI) |
Modifier and Type | Method and Description |
---|---|
BooleanQuery |
SPARQLConnection.prepareBooleanQuery(QueryLanguage ql,
String query,
String base) |
GraphQuery |
SPARQLConnection.prepareGraphQuery(QueryLanguage ql,
String query,
String base) |
Query |
SPARQLConnection.prepareQuery(QueryLanguage ql,
String query,
String base) |
TupleQuery |
SPARQLConnection.prepareTupleQuery(QueryLanguage ql,
String query,
String base) |
Update |
SPARQLConnection.prepareUpdate(QueryLanguage ql,
String update,
String baseURI) |
Modifier and Type | Method and Description |
---|---|
static <T> T |
Repositories.graphQuery(Repository repository,
String query,
java.util.function.Function<GraphQueryResult,T> processFunction)
Performs a SPARQL Construct or Describe query on the given Repository within a transaction and passes the results
to the given
Function with the result from the function returned by the method. |
static void |
Repositories.graphQuery(Repository repository,
String query,
RDFHandler handler)
Performs a SPARQL Construct or Describe query on the given Repository within a transaction and passes the results
to the given
RDFHandler . |
static <T> T |
Repositories.graphQueryNoTransaction(Repository repository,
String query,
java.util.function.Function<GraphQueryResult,T> processFunction)
Performs a SPARQL Construct or Describe query on the given Repository without opening a transaction and passes
the results to the given
Function with the result from the function returned by the method. |
static void |
Repositories.graphQueryNoTransaction(Repository repository,
String query,
RDFHandler handler)
Performs a SPARQL Construct or Describe query on the given Repository without opening a transaction and passes
the results to the given
RDFHandler . |
static <T> T |
Repositories.tupleQuery(Repository repository,
String query,
java.util.function.Function<TupleQueryResult,T> processFunction)
Performs a SPARQL Select query on the given Repository within a transaction and passes the results to the given
Function with the result from the function returned by the method. |
static void |
Repositories.tupleQuery(Repository repository,
String query,
TupleQueryResultHandler handler)
Performs a SPARQL Select query on the given Repository within a transaction and passes the results to the given
TupleQueryResultHandler . |
static <T> T |
Repositories.tupleQueryNoTransaction(Repository repository,
String query,
java.util.function.Function<TupleQueryResult,T> processFunction)
Performs a SPARQL Select query on the given Repository without opening a transaction and passes the results to
the given
Function with the result from the function returned by the method. |
static void |
Repositories.tupleQueryNoTransaction(Repository repository,
String query,
TupleQueryResultHandler handler)
Performs a SPARQL Select query on the given Repository without opening a transaction and passes the results to
the given
TupleQueryResultHandler . |
Modifier and Type | Method and Description |
---|---|
protected Iterable<? extends DocumentDistance> |
ElasticsearchIndex.geoQuery(IRI geoProperty,
org.locationtech.spatial4j.shape.Point p,
IRI units,
double distance,
String distanceVar,
Var contextVar) |
protected Iterable<? extends DocumentResult> |
ElasticsearchIndex.geoRelationQuery(String relation,
IRI geoProperty,
org.locationtech.spatial4j.shape.Shape shape,
Var contextVar) |
protected SearchQuery |
ElasticsearchIndex.parseQuery(String query,
IRI propertyURI)
Deprecated.
|
protected Iterable<? extends DocumentScore> |
ElasticsearchIndex.query(Resource subject,
String query,
IRI propertyURI,
boolean highlight)
Parse the passed query.
|
Modifier and Type | Method and Description |
---|---|
void |
OwnedTupleExpr.prepare(QueryLanguage queryLn,
String qry,
Map<String,String> bindings) |
Modifier and Type | Method and Description |
---|---|
void |
CustomGraphQueryInferencer.setFields(QueryLanguage language,
String queryText,
String matcherText)
Called in order to set all the fields needed for the inferencer to function.
|
Constructor and Description |
---|
CustomGraphQueryInferencer(NotifyingSail baseSail,
QueryLanguage language,
String queryText,
String matcherText)
Create a new custom inferencer.
|
CustomGraphQueryInferencer(QueryLanguage language,
String queryText,
String matcherText)
Create a new custom inferencer.
|
Modifier and Type | Method and Description |
---|---|
static String |
CustomGraphQueryInferencerConfig.buildMatcherQueryFromRuleQuery(QueryLanguage language,
String ruleQuery) |
Modifier and Type | Method and Description |
---|---|
protected Iterable<? extends DocumentDistance> |
LuceneIndex.geoQuery(IRI geoProperty,
org.locationtech.spatial4j.shape.Point p,
IRI units,
double distance,
String distanceVar,
Var contextVar) |
protected abstract Iterable<? extends DocumentDistance> |
AbstractSearchIndex.geoQuery(IRI geoProperty,
org.locationtech.spatial4j.shape.Point p,
IRI units,
double distance,
String distanceVar,
Var context) |
protected Iterable<? extends DocumentResult> |
LuceneIndex.geoRelationQuery(String relation,
IRI geoProperty,
org.locationtech.spatial4j.shape.Shape shape,
Var contextVar) |
protected abstract Iterable<? extends DocumentResult> |
AbstractSearchIndex.geoRelationQuery(String relation,
IRI geoProperty,
org.locationtech.spatial4j.shape.Shape shape,
Var context) |
protected SearchQuery |
LuceneIndex.parseQuery(String query,
IRI propertyURI)
Deprecated.
|
protected abstract SearchQuery |
AbstractSearchIndex.parseQuery(String q,
IRI property)
Deprecated.
|
protected Iterable<? extends DocumentScore> |
LuceneIndex.query(Resource subject,
String query,
IRI propertyURI,
boolean highlight)
Parse the passed query.
|
protected abstract Iterable<? extends DocumentScore> |
AbstractSearchIndex.query(Resource subject,
String q,
IRI property,
boolean highlight) |
void |
AbstractLuceneSailGeoSPARQLTest.testComplexDistanceQuery() |
void |
AbstractLuceneSailGeoSPARQLTest.testComplexDistanceQueryMathExpr() |
void |
AbstractLuceneSailGeoSPARQLTest.testComplexIntersectionQuery() |
void |
AbstractLuceneSailTest.testComplexQueryOne() |
void |
AbstractLuceneSailTest.testComplexQueryTwo() |
void |
AbstractLuceneSailGeoSPARQLTest.testDistanceQuery() |
void |
AbstractLuceneSailTest.testFuzzyQuery() |
void |
AbstractLuceneSailTest.testGraphQuery() |
void |
AbstractLuceneSailGeoSPARQLTest.testIntersectionQuery() |
void |
AbstractLuceneSailTest.testMultipleLuceneQueries() |
void |
AbstractLuceneSailTest.testPredicateLuceneQueries() |
void |
AbstractLuceneSailTest.testPropertyVar() |
void |
AbstractLuceneSailTest.testQueryWithSpecifiedSubject() |
void |
AbstractLuceneSailTest.testRegularQuery() |
void |
AbstractLuceneSailIndexedPropertiesTest.testRegularQuery() |
void |
AbstractLuceneSailTest.testSnippetLimitedToPredicate()
Test if the snippets do not accidentially come from the "text" field while we actually expect them to come from
the predicate field.
|
void |
AbstractLuceneSailTest.testSnippetQueries() |
void |
AbstractLuceneSailTest.testUnionQuery() |
Modifier and Type | Method and Description |
---|---|
protected Iterable<? extends DocumentDistance> |
SolrIndex.geoQuery(IRI geoProperty,
org.locationtech.spatial4j.shape.Point p,
IRI units,
double distance,
String distanceVar,
Var contextVar) |
protected Iterable<? extends DocumentResult> |
SolrIndex.geoRelationQuery(String relation,
IRI geoProperty,
org.locationtech.spatial4j.shape.Shape shape,
Var contextVar) |
protected SearchQuery |
SolrIndex.parseQuery(String query,
IRI propertyURI)
Deprecated.
|
protected Iterable<? extends DocumentScore> |
SolrIndex.query(Resource subject,
String query,
IRI propertyURI,
boolean highlight)
Parse the passed query.
|
Modifier and Type | Method and Description |
---|---|
void |
SummaryServlet.service(TupleResultBuilder builder,
String xslPath) |
Modifier and Type | Method and Description |
---|---|
boolean |
QueryStorage.askExists(HTTPRepository repository,
String queryName,
String userName) |
boolean |
QueryStorage.canChange(IRI query,
String currentUser)
Determines whether the user with the given userName is allowed to update or delete the given query.
|
boolean |
QueryStorage.canRead(IRI query,
String currentUser)
Determines whether the user with the given userName is allowed to read the given query.
|
void |
QueryStorage.deleteQuery(IRI query,
String userName)
Delete the given query for the given user.
|
void |
QueryStorage.selectSavedQueries(HTTPRepository repository,
String userName,
TupleResultBuilder builder)
Prepares a query to retrieve the queries accessible to the given user in the given repository.
|
void |
QueryStorage.updateQuery(IRI query,
String userName,
boolean shared,
QueryLanguage queryLanguage,
String queryText,
boolean infer,
int rowsPerPage)
Update the entry for the given query.
|
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.