Package | Description |
---|---|
com.hp.hpl.jena.query |
ARQ - A query engine for Jena, implementing SPARQL.
|
com.hp.hpl.jena.sparql.algebra | |
com.hp.hpl.jena.sparql.core | |
com.hp.hpl.jena.sparql.engine | |
com.hp.hpl.jena.sparql.engine.http | |
com.hp.hpl.jena.sparql.engine.main | |
com.hp.hpl.jena.sparql.expr | |
com.hp.hpl.jena.sparql.lang | |
com.hp.hpl.jena.sparql.mgt | |
com.hp.hpl.jena.sparql.serializer | |
com.hp.hpl.jena.sparql.syntax | |
com.hp.hpl.jena.sparql.util |
Modifier and Type | Method and Description |
---|---|
Query |
ParameterizedSparqlString.asQuery()
Attempts to take the command text with parameters injected from the
ParameterizedSparqlString.toString() method and parse it as a Query |
Query |
Query.cloneQuery()
Makes a copy of this query.
|
Query |
Query.cloneQuery(boolean useRawQuery)
Makes a copy of this query.
|
static Query |
QueryFactory.create()
Make a query - no parsing done
|
static Query |
QueryFactory.create(Query originalQuery)
Make a query from another one by deep copy (a clone).
|
static Query |
QueryFactory.create(Query originalQuery,
boolean useRawQuery)
Make a query from another one by deep copy (a clone).
|
static Query |
QueryFactory.create(String queryString)
Create a SPARQL query from the given string.
|
static Query |
QueryFactory.create(String queryString,
String baseURI)
Create a query from the given string by calling the parser.
|
static Query |
QueryFactory.create(String queryString,
String baseURI,
Syntax syntax)
Create a query from the given string by calling the parser.
|
static Query |
QueryFactory.create(String queryString,
Syntax syntax)
Create a query from the given string with the
|
Query |
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 |
QueryFactory.parse(Query query,
String queryString,
String baseURI,
Syntax syntaxURI)
Parse a query from the given string by calling the parser.
|
static Query |
QueryFactory.read(String url)
Read a SPARQL query from a file.
|
static Query |
QueryFactory.read(String url,
FileManager filemanager,
String baseURI,
Syntax langURI)
Read a query from a file.
|
static Query |
QueryFactory.read(String url,
String baseURI)
Read a SPARQL query from a file.
|
static Query |
QueryFactory.read(String url,
String baseURI,
Syntax langURI)
Read a query from a file.
|
static Query |
QueryFactory.read(String url,
Syntax langURI)
Read a query from a file.
|
Modifier and Type | Method and Description |
---|---|
static Query |
QueryFactory.create(Query originalQuery)
Make a query from another one by deep copy (a clone).
|
static QueryExecution |
QueryExecutionFactory.create(Query query)
Create a QueryExecution
|
static Query |
QueryFactory.create(Query originalQuery,
boolean useRawQuery)
Make a query from another one by deep copy (a clone).
|
static QueryExecution |
QueryExecutionFactory.create(Query query,
Dataset dataset)
Create a QueryExecution to execute over the Dataset.
|
static QueryExecution |
QueryExecutionFactory.create(Query query,
Dataset dataset,
QuerySolution initialBinding)
Create a QueryExecution over a Dataset given some initial values of variables.
|
static QueryExecution |
QueryExecutionFactory.create(Query query,
FileManager fm)
Create a QueryExecution : the file manager will be used to load
URIs in the query decription.
|
static QueryExecution |
QueryExecutionFactory.create(Query query,
Model model)
Create a QueryExecution to execute over the Model.
|
static QueryExecution |
QueryExecutionFactory.create(Query query,
Model model,
QuerySolution initialBinding)
Create a QueryExecution to execute over the Model,
given some initial values of variables.
|
static QueryExecution |
QueryExecutionFactory.create(Query query,
QuerySolution initialBinding)
Create a QueryExecution to execute over the Model.
|
static Plan |
QueryExecutionFactory.createPlan(Query query,
DatasetGraph dataset,
Binding input) |
static Plan |
QueryExecutionFactory.createPlan(Query query,
DatasetGraph dataset,
Binding input,
Context context) |
static QueryEngineHTTP |
QueryExecutionFactory.createServiceRequest(String service,
Query query)
Create a service request for remote execution over HTTP.
|
void |
QueryVisitor.finishVisit(Query query) |
static void |
ResultSetFormatter.out(ResultSet qresults,
Query query)
Output a result set in a text format.
|
static Query |
QueryFactory.parse(Query query,
String queryString,
String baseURI,
Syntax syntaxURI)
Parse a query from the given string by calling the parser.
|
static QueryExecution |
QueryExecutionFactory.sparqlService(String service,
Query query)
Create a QueryExecution that will access a SPARQL service over HTTP
|
static QueryExecution |
QueryExecutionFactory.sparqlService(String service,
Query query,
List<String> defaultGraphURIs,
List<String> namedGraphURIs)
Create a QueryExecution that will access a SPARQL service over HTTP
|
static QueryExecution |
QueryExecutionFactory.sparqlService(String service,
Query query,
String defaultGraph)
Create a QueryExecution that will access a SPARQL service over HTTP
|
void |
QueryVisitor.startVisit(Query query) |
void |
QueryVisitor.visitAskResultForm(Query query) |
void |
QueryVisitor.visitConstructResultForm(Query query) |
void |
QueryVisitor.visitDatasetDecl(Query query) |
void |
QueryVisitor.visitDescribeResultForm(Query query) |
void |
QueryVisitor.visitGroupBy(Query query) |
void |
QueryVisitor.visitHaving(Query query) |
void |
QueryVisitor.visitLimit(Query query) |
void |
QueryVisitor.visitOffset(Query query) |
void |
QueryVisitor.visitOrderBy(Query query) |
void |
QueryVisitor.visitQueryPattern(Query query) |
void |
QueryVisitor.visitResultForm(Query query) |
void |
QueryVisitor.visitSelectResultForm(Query query) |
void |
QueryVisitor.visitValues(Query query) |
Modifier and Type | Method and Description |
---|---|
static Query |
OpAsQuery.asQuery(Op op) |
Modifier and Type | Method and Description |
---|---|
static Op |
Algebra.compile(Query query)
Compile a query - pattern and modifiers.
|
Op |
AlgebraGenerator.compile(Query query) |
Modifier and Type | Method and Description |
---|---|
static int |
QueryHashCode.calc(Query query) |
static DatasetDescription |
DatasetDescription.create(Query query)
Create a dataset description, given a query.
|
static DatasetDescription |
DatasetDescription.create(Query query,
Context context)
Create a dataset description, given a query and context.
|
static boolean |
QueryCompare.equals(Query query1,
Query query2) |
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.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) |
Constructor and Description |
---|
QueryCompare(Query query2) |
Modifier and Type | Method and Description |
---|---|
Query |
QueryExecutionBase.getQuery() |
Modifier and Type | Method and Description |
---|---|
boolean |
QueryEngineFactory.accept(Query query,
DatasetGraph dataset,
Context context) |
Plan |
QueryEngineFactory.create(Query query,
DatasetGraph dataset,
Binding inputBinding,
Context context) |
QueryEngineFactory |
QueryEngineRegistry.find(Query query,
DatasetGraph dataset)
Locate a suitable factory for this query and dataset
|
QueryEngineFactory |
QueryEngineRegistry.find(Query query,
DatasetGraph dataset,
Context context)
Locate a suitable factory for this query and dataset
|
static QueryEngineFactory |
QueryEngineRegistry.findFactory(Query query,
DatasetGraph dataset,
Context context)
Locate a suitable factory for this query and dataset from the default registry
|
Constructor and Description |
---|
QueryExecutionBase(Query query,
Dataset dataset,
Context context,
QueryEngineFactory qeFactory) |
Modifier and Type | Method and Description |
---|---|
Query |
QueryEngineHTTP.getQuery() |
Constructor and Description |
---|
QueryEngineHTTP(String serviceURI,
Query query) |
Constructor and Description |
---|
QueryEngineMain(Query query,
DatasetGraph dataset,
Binding input,
Context context) |
QueryEngineMainQuad(Query query,
DatasetGraph dataset,
Binding input,
Context context) |
Modifier and Type | Method and Description |
---|---|
void |
ExprVar.format(Query query,
IndentedWriter out) |
Modifier and Type | Method and Description |
---|---|
Query |
SPARQLParserBase.getQuery() |
Query |
SPARQLParser.parse(Query query,
String queryString) |
Modifier and Type | Method and Description |
---|---|
static void |
SyntaxVarScope.check(Query query) |
Query |
SPARQLParser.parse(Query query,
String queryString) |
void |
SPARQLParserBase.setQuery(Query q) |
Modifier and Type | Method and Description |
---|---|
static void |
Explain.explain(Query query,
Context context) |
static void |
Explain.explain(String message,
Query query,
Context context) |
void |
QueryEngineInfo.setLastQueryString(Query q) |
Modifier and Type | Method and Description |
---|---|
void |
QuerySerializer.finishVisit(Query query) |
static void |
Serializer.serialize(Query query,
IndentedLineBuffer buff)
Format the query into the buffer
|
static void |
Serializer.serialize(Query query,
IndentedLineBuffer buff,
Syntax outSyntax)
Format the query
|
static void |
Serializer.serialize(Query query,
IndentedWriter writer)
Format the query
|
static void |
Serializer.serialize(Query query,
IndentedWriter writer,
Syntax outSyntax)
Format the query
|
static void |
Serializer.serialize(Query query,
OutputStream out)
Output the query
|
static void |
Serializer.serialize(Query query,
OutputStream out,
Syntax syntax)
Output the query
|
static void |
Serializer.serializeARQ(Query query,
IndentedWriter writer) |
static void |
Serializer.serializeARQ(Query query,
Prologue p,
IndentedWriter writer) |
static void |
Serializer.serializeSPARQL_10(Query query,
IndentedWriter writer) |
static void |
Serializer.serializeSPARQL_11(Query query,
IndentedWriter writer) |
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.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) |
Modifier and Type | Method and Description |
---|---|
Query |
ElementSubQuery.getQuery() |
Constructor and Description |
---|
ElementSubQuery(Query query) |
Modifier and Type | Method and Description |
---|---|
static void |
QueryUtils.checkOp(Query query,
boolean optimizeAlgebra) |
static void |
QueryUtils.checkParse(Query query) |
static void |
QueryUtils.checkQuery(Query query,
boolean optimizeAlgebra) |
static void |
QueryExecUtils.executeQuery(Query query,
QueryExecution queryExecution) |
static void |
QueryExecUtils.executeQuery(Query query,
QueryExecution queryExecution,
ResultsFormat outputFormat) |
static Expr |
ExprUtils.parse(Query query,
String s,
boolean checkAllUsed) |
static void |
QueryOutputUtils.printOp(IndentedWriter out,
Query query,
boolean printOptimized) |
static void |
QueryOutputUtils.printOp(Query query,
boolean optimize) |
static void |
QueryOutputUtils.printPlan(Query query,
QueryExecution qe) |
static void |
QueryOutputUtils.printQuad(IndentedWriter out,
Query query,
boolean printOptimized) |
static void |
QueryOutputUtils.printQuad(Query query,
boolean printOptimized) |
static void |
QueryOutputUtils.printQuery(IndentedWriter out,
Query query) |
static void |
QueryOutputUtils.printQuery(IndentedWriter out,
Query query,
Syntax syntax) |
static void |
QueryOutputUtils.printQuery(Query query) |
Licenced under the Apache License, Version 2.0