Uses of Class
org.apache.jena.query.Query
Package
Description
ARQ - A query engine for Jena, implementing SPARQL.
-
Uses of Query in org.apache.jena.http.sys
-
Uses of Query in org.apache.jena.query
Modifier and TypeMethodDescriptionParameterizedSparqlString.asQuery()
Attempts to take the command text with parameters injected from theParameterizedSparqlString.toString()
method and parse it as aQuery
Attempts to take the command text with parameters injected from theParameterizedSparqlString.toString()
method and parse it as aQuery
using the givenSyntax
syntaxQuery.cloneQuery()
Makes a copy of this query using the syntax transform machinery.static Query
QueryFactory.create()
Make a query - no parsing donestatic Query
Create a SPARQL query from the given string.static Query
Create a query from the given string by calling the parser.static Query
Create a query from the given string by calling the parser.static Query
Create a query from the given string with thestatic Query
Make a query from another one by deep copy (a clone).QueryExecution.getQuery()
The query associated with a query execution.static Query
QueryFactory.make()
Make a query - no parsing done - old name:QueryFactory.create()
preferred.static Query
Parse a query from the given string by calling the parser.static Query
Read a SPARQL query from a file.static Query
Read a SPARQL query from a file.static Query
Read a query from a file.static Query
Read a query from a file.static Query
QueryFactory.read
(String url, StreamManager streamManager, String baseURI, Syntax langURI) Read a query from a file.Modifier and TypeMethodDescriptionstatic QueryExecution
Create a local execution on a dataset for a given querystatic QueryExecution
Create a local execution on a dataset for a given querystatic QueryExecution
Create a QueryExecutionstatic QueryExecution
Create a QueryExecution to execute over the Dataset.static QueryExecution
QueryExecutionFactory.create
(Query query, Dataset dataset, QuerySolution querySolution) Deprecated, for removal: This API element is subject to removal in a future version.static QueryExecution
Create a QueryExecution to execute over the Model.static QueryExecution
QueryExecutionFactory.create
(Query query, org.apache.jena.rdf.model.Model model, QuerySolution querySolution) Deprecated, for removal: This API element is subject to removal in a future version.UseQueryExecution#model(model).query(query).substitution(querySolution).build()
.static QueryExecution
QueryExecutionFactory.create
(Query query, DatasetGraph datasetGraph) Create a QueryExecution to execute over theDatasetGraph
.static Query
Make a query from another one by deep copy (a clone).default void
QueryVisitor.finishVisit
(Query query) static void
Output a result set in a text format.static Query
Parse a query from the given string by calling the parser.static QueryExecution
Create a remote execution.default void
QueryVisitor.startVisit
(Query query) default void
QueryVisitor.visitAskResultForm
(Query query) default void
QueryVisitor.visitConstructResultForm
(Query query) default void
QueryVisitor.visitDatasetDecl
(Query query) default void
QueryVisitor.visitDescribeResultForm
(Query query) default void
QueryVisitor.visitGroupBy
(Query query) default void
QueryVisitor.visitHaving
(Query query) default void
QueryVisitor.visitJsonResultForm
(Query query) default void
QueryVisitor.visitLimit
(Query query) default void
QueryVisitor.visitOffset
(Query query) default void
QueryVisitor.visitOrderBy
(Query query) default void
QueryVisitor.visitQueryPattern
(Query query) default void
QueryVisitor.visitResultForm
(Query query) default void
QueryVisitor.visitSelectResultForm
(Query query) default void
QueryVisitor.visitValues
(Query query) -
Uses of Query in org.apache.jena.sparql.algebra
-
Uses of Query in org.apache.jena.sparql.core
Modifier and TypeMethodDescriptionstatic int
static DatasetDescription
Create a dataset description, given a query.static DatasetDescription
Create a dataset description, given a query and context.static boolean
void
QueryCompare.finishVisit
(Query query1) void
QueryCompare.startVisit
(Query query1) void
QueryCompare.visitAskResultForm
(Query query1) void
QueryCompare.visitConstructResultForm
(Query query1) void
QueryCompare.visitDatasetDecl
(Query query1) void
QueryCompare.visitDescribeResultForm
(Query query1) void
QueryCompare.visitGroupBy
(Query query1) void
QueryCompare.visitHaving
(Query query1) void
QueryCompare.visitJsonResultForm
(Query query) void
QueryCompare.visitLimit
(Query query1) void
QueryCompare.visitOffset
(Query query1) void
QueryCompare.visitOrderBy
(Query query1) void
QueryCompare.visitQueryPattern
(Query query1) void
QueryCompare.visitResultForm
(Query query1) void
QueryCompare.visitSelectResultForm
(Query query1) void
QueryCompare.visitValues
(Query query1) -
Uses of Query in org.apache.jena.sparql.engine
Modifier and TypeMethodDescriptionboolean
QueryEngineFactory.accept
(Query query, DatasetGraph dataset, Context context) Detect appropriate requests for a particular query engine for a particular graph type.boolean
QueryEngineFactoryWrapper.accept
(Query query, DatasetGraph dsg, Context context) QueryEngineFactory.create
(Query query, DatasetGraph dataset, Binding inputBinding, Context context) Call to create aPlan
: the companionQueryEngineFactory.accept(org.apache.jena.query.Query, org.apache.jena.sparql.core.DatasetGraph, org.apache.jena.sparql.util.Context)
will have returnedtrue
.QueryEngineFactoryWrapper.create
(Query query, DatasetGraph dsg, Binding inputBinding, Context context) QueryEngineRegistry.find
(Query query, DatasetGraph dataset) Locate a suitable factory for this query and datasetQueryEngineRegistry.find
(Query query, DatasetGraph dataset, Context context) Locate a suitable factory for this query and datasetstatic QueryEngineFactory
QueryEngineRegistry.findFactory
(Query query, DatasetGraph dataset, Context context) Locate a suitable factory for this query and dataset from the default registry -
Uses of Query in org.apache.jena.sparql.engine.main
ModifierConstructorDescriptionQueryEngineMain
(Query query, DatasetGraph dataset, Binding input, Context context) QueryEngineMainQuad
(Query query, DatasetGraph dataset, Binding input, Context context) -
Uses of Query in org.apache.jena.sparql.exec
Modifier and TypeMethodDescriptionQueryExec.getQuery()
The query associated with a query execution.QueryExecAdapter.getQuery()
QueryExecApp.getQuery()
QueryExecDataset.getQuery()
QueryExecDatasetBuilder.getQuery()
QueryExecutionAdapter.getQuery()
The query associated with a query execution.QueryExecutionCompat.getQuery()
Modifier and TypeMethodDescriptionstatic QueryExecution
QueryExecutionCompat.compatibility
(QueryExecMod qExec, Dataset dataset, Query query, String queryString) static QueryExec
QueryExecApp.create
(QueryExecMod qExec, DatasetGraph dataset, Query query, String queryString) Set the query. -
Uses of Query in org.apache.jena.sparql.exec.http
ModifierConstructorDescriptionQueryExecHTTP
(String serviceURL, Query query, String queryString, int urlLimit, HttpClient httpClient, Map<String, String> httpHeaders, Params params, Context context, List<String> defaultGraphURIs, List<String> namedGraphURIs, QuerySendMode sendMode, String explicitAcceptHeader, long timeout, TimeUnit timeoutUnit) -
Uses of Query in org.apache.jena.sparql.expr
-
Uses of Query in org.apache.jena.sparql.lang
-
Uses of Query in org.apache.jena.sparql.mgt
-
Uses of Query in org.apache.jena.sparql.serializer
Modifier and TypeMethodDescriptionvoid
QuerySerializer.finishVisit
(Query query) void
QuerySerializer.startVisit
(Query query) void
QuerySerializer.visitAskResultForm
(Query query) void
QuerySerializer.visitConstructResultForm
(Query query) void
QuerySerializer.visitDatasetDecl
(Query query) void
QuerySerializer.visitDescribeResultForm
(Query query) void
QuerySerializer.visitGroupBy
(Query query) void
QuerySerializer.visitHaving
(Query query) void
QuerySerializer.visitJsonResultForm
(Query query) void
QuerySerializer.visitLimit
(Query query) void
QuerySerializer.visitOffset
(Query query) void
QuerySerializer.visitOrderBy
(Query query) void
QuerySerializer.visitQueryPattern
(Query query) void
QuerySerializer.visitResultForm
(Query query) void
QuerySerializer.visitSelectResultForm
(Query query) void
QuerySerializer.visitValues
(Query query) -
Uses of Query in org.apache.jena.sparql.syntax
-
Uses of Query in org.apache.jena.sparql.syntax.syntaxtransform
Modifier and TypeMethodDescriptionstatic Query
QueryTransformOps.queryReplaceVars
(Query query, Map<String, ? extends org.apache.jena.rdf.model.RDFNode> substitutions) Transform a query based on a mapping from variable name to replacementRDFNode
(aResource
(or blank node) or aLiteral
).static Query
QueryTransformOps.replaceVars
(Query query, Map<Var, ? extends org.apache.jena.graph.Node> substitutions) Transform a query based on a mapping fromVar
variable to replacementNode
.static Query
QueryTransformOps.shallowCopy
(Query query) static Query
QueryTransformOps.syntaxSubstitute
(Query input, Map<Var, org.apache.jena.graph.Node> substitutions) Replace variables in a query by RDF terms.static Query
QueryTransformOps.transform
(Query query, Map<Var, ? extends org.apache.jena.graph.Node> substitutions) static Query
QueryTransformOps.transform
(Query query, ElementTransform transform) static Query
QueryTransformOps.transform
(Query query, ElementTransform transform, ExprTransform exprTransform) Transform a query usingElementTransform
andExprTransform
.static Query
QueryTransformOps.transformQuery
(Query query, Map<String, ? extends org.apache.jena.rdf.model.RDFNode> substitutions) Modifier and TypeMethodDescriptionstatic Query
QueryTransformOps.queryReplaceVars
(Query query, Map<String, ? extends org.apache.jena.rdf.model.RDFNode> substitutions) Transform a query based on a mapping from variable name to replacementRDFNode
(aResource
(or blank node) or aLiteral
).static Query
QueryTransformOps.replaceVars
(Query query, Map<Var, ? extends org.apache.jena.graph.Node> substitutions) Transform a query based on a mapping fromVar
variable to replacementNode
.static void
QuerySyntaxSubstituteScope.scopeCheck
(Query query, Collection<Var> vars) Check that the query can be transformed by replacing the variables with values.static Query
QueryTransformOps.shallowCopy
(Query query) static Query
QueryTransformOps.syntaxSubstitute
(Query input, Map<Var, org.apache.jena.graph.Node> substitutions) Replace variables in a query by RDF terms.ElementTransform.transform
(ElementSubQuery el, Query query) ElementTransformCopyBase.transform
(ElementSubQuery el, Query query) ElementTransformIdentity.transform
(ElementSubQuery el, Query query) static Query
QueryTransformOps.transform
(Query query, Map<Var, ? extends org.apache.jena.graph.Node> substitutions) static Query
QueryTransformOps.transform
(Query query, ElementTransform transform) static Query
QueryTransformOps.transform
(Query query, ElementTransform transform, ExprTransform exprTransform) Transform a query usingElementTransform
andExprTransform
.static Query
QueryTransformOps.transformQuery
(Query query, Map<String, ? extends org.apache.jena.rdf.model.RDFNode> substitutions) -
Uses of Query in org.apache.jena.sparql.util
Modifier and TypeMethodDescriptionstatic void
Convert a query to the SPARQL algebra with optionally algebra optimizations, write the algebra to a string, parse that string to get second algebra object and check the two algebra objects are the same (blank node isomorphic).static void
QueryCheck.checkParse
(Query query) Write a query to a string, parse that string to get a second query object, and check the two query objects are the same (blank node isomorphic).static void
QueryExecUtils.exec
(Query query, DatasetGraph dsg) static Expr
static void
QueryOutputUtils.printOp
(org.apache.jena.atlas.io.IndentedWriter out, Query query, boolean printOptimized) static void
static void
QueryOutputUtils.printPlan
(Query query, QueryExecution qe) static void
QueryOutputUtils.printQuad
(org.apache.jena.atlas.io.IndentedWriter out, Query query, boolean printOptimized) static void
static void
QueryOutputUtils.printQuery
(org.apache.jena.atlas.io.IndentedWriter out, Query query) static void
QueryOutputUtils.printQuery
(org.apache.jena.atlas.io.IndentedWriter out, Query query, Syntax syntax) static void
QueryOutputUtils.printQuery
(Query query)
QueryExecution.dataset(dataset).query(query).substitution(querySolution).build()
.