Package | Description |
---|---|
com.hp.hpl.jena.query |
ARQ - A query engine for Jena, implementing SPARQL.
|
com.hp.hpl.jena.sparql.lang | |
com.hp.hpl.jena.sparql.serializer | |
com.hp.hpl.jena.sparql.util | |
com.hp.hpl.jena.update |
Modifier and Type | Field and Description |
---|---|
static Syntax |
Syntax.defaultQuerySyntax
The name of the default query language for query parsing.
|
static Syntax |
Syntax.defaultSyntax
The system default syntax
|
static Syntax |
Syntax.defaultUpdateSyntax
The name of the default update language for update parsing.
|
static Syntax |
Syntax.syntaxAlgebra |
static Syntax |
Syntax.syntaxARQ
The query syntax for extended SPARQL
|
static Syntax |
Syntax.syntaxSPARQL
The query syntax currently that is standardized, published, SPARQL - the "default SPARQL Query"
|
static Syntax |
Syntax.syntaxSPARQL_10
The syntax that the DAWG working group defined
|
static Syntax |
Syntax.syntaxSPARQL_11
The syntax that the SPARQL working group has defined
|
Modifier and Type | Field and Description |
---|---|
static TranslationTable<Syntax> |
Syntax.querySyntaxNames |
static TranslationTable<Syntax> |
Syntax.updateSyntaxNames |
Modifier and Type | Method and Description |
---|---|
Syntax |
Query.getSyntax() |
static Syntax |
Syntax.guessFileSyntax(String url) |
static Syntax |
Syntax.guessFileSyntax(String url,
Syntax defaultSyntax)
Gues the synatx (query and update) based on filename
|
static Syntax |
Syntax.guessQueryFileSyntax(String url)
Guess the query syntax based on file name
|
static Syntax |
Syntax.guessQueryFileSyntax(String url,
Syntax defaultSyntax)
Guess the query syntax based on file name
|
static Syntax |
Syntax.guessUpdateFileSyntax(String url)
Guess the update syntax based on file name
|
static Syntax |
Syntax.guessUpdateFileSyntax(String url,
Syntax defaultSyntax)
Guess the update syntax based on file name
|
static Syntax |
Syntax.lookup(String s) |
static Syntax |
Syntax.make(String uri) |
Modifier and Type | Method and Description |
---|---|
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
|
static QueryExecution |
QueryExecutionFactory.create(String queryStr,
Syntax syntax)
Create a QueryExecution
|
static QueryExecution |
QueryExecutionFactory.create(String queryStr,
Syntax syntax,
Dataset dataset)
Create a QueryExecution to execute over the Dataset.
|
static QueryExecution |
QueryExecutionFactory.create(String queryStr,
Syntax syntax,
Dataset dataset,
QuerySolution initialBinding)
Create a QueryExecution over a Dataset given some initial values of variables.
|
static QueryExecution |
QueryExecutionFactory.create(String queryStr,
Syntax syntax,
FileManager fm)
Create a QueryExecution : the file manager will be used to load
URIs in the query decription.
|
static QueryExecution |
QueryExecutionFactory.create(String queryStr,
Syntax lang,
Model model)
Create a QueryExecution to execute over the Model.
|
static QueryExecution |
QueryExecutionFactory.create(String queryStr,
Syntax syntax,
Model model,
QuerySolution initialBinding)
Create a QueryExecution to execute over the Model,
given some initial values of variables.
|
static QueryExecution |
QueryExecutionFactory.create(String queryStr,
Syntax syntax,
QuerySolution initialBinding)
Create a QueryExecution given some initial values of variables.
|
static Syntax |
Syntax.guessFileSyntax(String url,
Syntax defaultSyntax)
Gues the synatx (query and update) based on filename
|
static Syntax |
Syntax.guessQueryFileSyntax(String url,
Syntax defaultSyntax)
Guess the query syntax based on file name
|
static Syntax |
Syntax.guessUpdateFileSyntax(String url,
Syntax defaultSyntax)
Guess the update syntax based on file name
|
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,
FileManager filemanager,
String baseURI,
Syntax langURI)
Read a 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.
|
void |
Query.serialize(IndentedLineBuffer buff,
Syntax outSyntax)
Format the query
|
void |
Query.serialize(IndentedWriter writer,
Syntax outSyntax)
Format the query
|
void |
Query.serialize(OutputStream out,
Syntax syntax)
Output the query
|
String |
Query.serialize(Syntax syntax)
Convert the query to a string in the given syntax
|
void |
Query.setSyntax(Syntax syntax) |
String |
Query.toString(Syntax syntax) |
Modifier and Type | Method and Description |
---|---|
boolean |
SPARQLParserFactory.accept(Syntax syntax)
Return true if this factory can create a parser for the given syntax
|
boolean |
UpdateParserFactory.accept(Syntax syntax)
Return true if this factory can create a parser for the given syntax
|
void |
SPARQLParserRegistry.add(Syntax syntax,
SPARQLParserFactory f)
Register the given parser factory for the specified syntax.
|
void |
UpdateParserRegistry.add(Syntax syntax,
UpdateParserFactory f)
Register the given parser factory for the specified syntax.
|
static void |
SPARQLParserRegistry.addFactory(Syntax syntax,
SPARQLParserFactory f)
Register the given parser factory for the specified syntax.
|
static void |
UpdateParserRegistry.addFactory(Syntax syntax,
UpdateParserFactory f)
Register the given parser factory for the specified syntax.
|
static boolean |
SPARQLParser.canParse(Syntax syntaxURI) |
static boolean |
UpdateParser.canParse(Syntax syntaxURI) |
boolean |
SPARQLParserRegistry.containsFactory(Syntax syntax)
Checks whether a parser factory is registered for the given syntax
|
boolean |
UpdateParserRegistry.containsFactory(Syntax syntax)
Checks whether a parser factory is registered for the given syntax
|
static boolean |
SPARQLParserRegistry.containsParserFactory(Syntax syntax)
Checks whether a parser factory is registered for the given syntax
|
static boolean |
UpdateParserRegistry.containsParserFactory(Syntax syntax)
Checks whether a parser factory is registered for the given syntax
|
SPARQLParser |
SPARQLParserFactory.create(Syntax syntax)
Return a parser for the given syntax
|
UpdateParser |
UpdateParserFactory.create(Syntax syntax)
Return a parser for the given syntax
|
SPARQLParser |
SPARQLParserRegistry.createParser(Syntax syntax)
Return a suitable parser for the given syntax
|
static SPARQLParser |
SPARQLParser.createParser(Syntax syntaxURI) |
static UpdateParser |
UpdateParser.createParser(Syntax syntaxURI) |
UpdateParser |
UpdateParserRegistry.createParser(Syntax syntax)
Return a suitable parser for the given syntax
|
static SPARQLParserFactory |
SPARQLParserRegistry.findFactory(Syntax syntax)
Return a suitable factory for the given syntax
|
static UpdateParserFactory |
UpdateParserRegistry.findFactory(Syntax syntax)
Return a suitable factory for the given syntax
|
SPARQLParserFactory |
SPARQLParserRegistry.getFactory(Syntax syntax)
Return a suitable parser factory for the given syntax
|
UpdateParserFactory |
UpdateParserRegistry.getFactory(Syntax syntax)
Return a suitable parser factory for the given syntax
|
static SPARQLParser |
SPARQLParserRegistry.parser(Syntax syntax)
Return a suitable parser for the given syntax
|
static UpdateParser |
UpdateParserRegistry.parser(Syntax syntax)
Return a suitable parser for the given syntax
|
void |
SPARQLParserRegistry.remove(Syntax syntax)
Unregister the parser factory associated with the given syntax
|
void |
UpdateParserRegistry.remove(Syntax syntax)
Unregister the parser factory associated with the given syntax
|
static void |
SPARQLParserRegistry.removeFactory(Syntax syntax)
Unregister the parser factory associated with the given syntax
|
static void |
UpdateParserRegistry.removeFactory(Syntax syntax)
Unregister the parser factory associated with the given syntax
|
Modifier and Type | Method and Description |
---|---|
static void |
Serializer.serialize(Query query,
IndentedLineBuffer buff,
Syntax outSyntax)
Format the query
|
static void |
Serializer.serialize(Query query,
IndentedWriter writer,
Syntax outSyntax)
Format the query
|
static void |
Serializer.serialize(Query query,
OutputStream out,
Syntax syntax)
Output the query
|
Modifier and Type | Method and Description |
---|---|
static void |
QueryOutputUtils.printQuery(IndentedWriter out,
Query query,
Syntax syntax) |
Modifier and Type | Method and Description |
---|---|
static UpdateRequest |
UpdateFactory.create(String string,
String baseURI,
Syntax syntax)
Create an UpdateRequest by parsing from a string.
|
static UpdateRequest |
UpdateFactory.create(String string,
Syntax syntax)
Create an UpdateRequest by parsing from a string.
|
static void |
UpdateFactory.parse(UpdateRequest request,
String updateString,
String baseURI,
Syntax syntax) |
static void |
UpdateFactory.parse(UpdateRequest request,
String updateString,
Syntax syntax) |
static void |
UpdateAction.parseExecute(UsingList usingList,
DatasetGraph dataset,
InputStream input,
String baseURI,
Syntax syntax)
Parse update operations into a GraphStore by parsing from an InputStream.
|
static void |
UpdateAction.parseExecute(UsingList usingList,
DatasetGraph dataset,
InputStream input,
Syntax syntax)
Parse update operations into a GraphStore by parsing from an InputStream.
|
static void |
UpdateAction.parseExecute(UsingList usingList,
DatasetGraph dataset,
String fileName,
String baseURI,
Syntax syntax)
Parse update operations into a GraphStore by reading it from a file
|
static void |
UpdateAction.parseExecute(UsingList usingList,
DatasetGraph dataset,
String fileName,
Syntax syntax)
Parse update operations into a GraphStore by reading it from a file
|
static UpdateRequest |
UpdateFactory.read(InputStream input,
String baseURI,
Syntax syntax)
Create an UpdateRequest by parsing from an InputStream.
|
static UpdateRequest |
UpdateFactory.read(InputStream input,
Syntax syntax)
Create an UpdateRequest by parsing from an InputStream.
|
static UpdateRequest |
UpdateFactory.read(String fileName,
String baseURI,
Syntax syntax)
Create an UpdateRequest by reading it from a file
|
static UpdateRequest |
UpdateFactory.read(String fileName,
Syntax syntax)
Create an UpdateRequest by reading it from a file
|
static UpdateRequest |
UpdateFactory.read(UsingList usingList,
InputStream input,
String baseURI,
Syntax syntax)
Create an UpdateRequest by parsing from an InputStream.
|
static UpdateRequest |
UpdateFactory.read(UsingList usingList,
InputStream input,
Syntax syntax)
Create an UpdateRequest by parsing from an InputStream.
|
static UpdateRequest |
UpdateFactory.read(UsingList usingList,
String fileName,
String baseURI,
Syntax syntax)
Create an UpdateRequest by reading it from a file
|
static UpdateRequest |
UpdateFactory.read(UsingList usingList,
String fileName,
Syntax syntax)
Create an UpdateRequest by reading it from a file
|
Licenced under the Apache License, Version 2.0