Uses of Class
org.apache.jena.query.Syntax
Package
Description
ARQ - A query engine for Jena, implementing SPARQL.
-
Uses of Syntax in org.apache.jena.http.sys
-
Uses of Syntax in org.apache.jena.query
Modifier and TypeFieldDescriptionstatic Syntax
Syntax.defaultQuerySyntax
The name of the default query language for query parsing.static Syntax
Syntax.defaultSyntax
The system default syntaxstatic Syntax
Syntax.defaultUpdateSyntax
The name of the default update language for update parsing.static final Syntax
Syntax.syntaxAlgebra
SPARQL algebra (SSE syntax) - custom extension.static final Syntax
Syntax.syntaxARQ
The query syntax for extended SPARQL.static final Syntax
Syntax.syntaxSPARQL
The latest SPARQL query syntax - no ARQ syntax extensions.static final Syntax
Syntax.syntaxSPARQL_10
The syntax that the DAWG working group defined.static final Syntax
Syntax.syntaxSPARQL_11
The syntax that the SPARQL 1.1 working group has defined.static final Syntax
Syntax.syntaxSPARQL_12
The syntax that is SPARQL 1.2 from the RDF-star working group.Modifier and TypeFieldDescriptionstatic TranslationTable<Syntax>
Syntax.querySyntaxNames
static TranslationTable<Syntax>
Syntax.updateSyntaxNames
Modifier and TypeMethodDescriptionParameterizedSparqlString.getSyntax()
Gets the syntax used for parsing when callingParameterizedSparqlString.asQuery()
orParameterizedSparqlString.asUpdate()
Query.getSyntax()
static Syntax
Syntax.guessFileSyntax
(String url) static Syntax
Syntax.guessFileSyntax
(String url, Syntax defaultSyntax) Guess the syntax (query and update) based on filenamestatic Syntax
Syntax.guessQueryFileSyntax
(String url) Guess the query syntax based on file namestatic Syntax
Syntax.guessQueryFileSyntax
(String url, Syntax defaultSyntax) Guess the query syntax based on file namestatic Syntax
Syntax.guessUpdateFileSyntax
(String url) Guess the update syntax based on file namestatic Syntax
Syntax.guessUpdateFileSyntax
(String url, Syntax defaultSyntax) Guess the update syntax based on file namestatic Syntax
static Syntax
Modifier and TypeMethodDescriptionAttempts to take the command text with parameters injected from theParameterizedSparqlString.toString()
method and parse it as aQuery
using the givenSyntax
syntaxAttempts to take the command text with parameters injected from theParameterizedSparqlString.toString()
method and parse it as aUpdateRequest
using the givenSyntax
static QueryExecution
Create a QueryExecutionstatic QueryExecution
Create a QueryExecution to execute over the Dataset.static QueryExecution
Create a QueryExecution to execute over the Model.static Query
Create a query from the given string by calling the parser.static Query
Create a query from the given string with thestatic Syntax
Syntax.guessFileSyntax
(String url, Syntax defaultSyntax) Guess the syntax (query and update) based on filenamestatic Syntax
Syntax.guessQueryFileSyntax
(String url, Syntax defaultSyntax) Guess the query syntax based on file namestatic Syntax
Syntax.guessUpdateFileSyntax
(String url, Syntax defaultSyntax) Guess the update syntax based on file namestatic Query
Parse a query from the given string by calling the parser.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.void
Query.serialize
(OutputStream out, Syntax syntax) Output the queryvoid
Format the queryConvert the query to a string in the given syntaxvoid
Sets the syntax used for parsing when callingParameterizedSparqlString.asQuery()
orParameterizedSparqlString.asUpdate()
void
-
Uses of Syntax in org.apache.jena.sparql.exec
Modifier and TypeMethodDescriptionSet the query. -
Uses of Syntax in org.apache.jena.sparql.lang
Modifier and TypeMethodDescriptionboolean
Return true if this factory can create a parser for the given syntaxboolean
Return true if this factory can create a parser for the given syntaxvoid
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
static boolean
boolean
SPARQLParserRegistry.containsFactory
(Syntax syntax) Checks whether a parser factory is registered for the given syntaxboolean
UpdateParserRegistry.containsFactory
(Syntax syntax) Checks whether a parser factory is registered for the given syntaxstatic boolean
SPARQLParserRegistry.containsParserFactory
(Syntax syntax) Checks whether a parser factory is registered for the given syntaxstatic boolean
UpdateParserRegistry.containsParserFactory
(Syntax syntax) Checks whether a parser factory is registered for the given syntaxReturn a parser for the given syntaxReturn a parser for the given syntaxstatic SPARQLParser
SPARQLParser.createParser
(Syntax syntaxURI) SPARQLParserRegistry.createParser
(Syntax syntax) Return a suitable parser for the given syntaxstatic UpdateParser
UpdateParser.createParser
(Syntax syntaxURI) UpdateParserRegistry.createParser
(Syntax syntax) Return a suitable parser for the given syntaxstatic SPARQLParserFactory
SPARQLParserRegistry.findFactory
(Syntax syntax) Return a suitable factory for the given syntaxstatic UpdateParserFactory
UpdateParserRegistry.findFactory
(Syntax syntax) Return a suitable factory for the given syntaxSPARQLParserRegistry.getFactory
(Syntax syntax) Return a suitable parser factory for the given syntaxUpdateParserRegistry.getFactory
(Syntax syntax) Return a suitable parser factory for the given syntaxstatic SPARQLParser
Return a suitable parser for the given syntaxstatic UpdateParser
Return a suitable parser for the given syntaxvoid
Unregister the parser factory associated with the given syntaxvoid
Unregister the parser factory associated with the given syntaxstatic void
SPARQLParserRegistry.removeFactory
(Syntax syntax) Unregister the parser factory associated with the given syntaxstatic void
UpdateParserRegistry.removeFactory
(Syntax syntax) Unregister the parser factory associated with the given syntax -
Uses of Syntax in org.apache.jena.sparql.serializer
Modifier and TypeMethodDescriptionboolean
Return true if this factory can create a serializer for the given syntaxboolean
Return true if this factory can create a serializer for the given syntaxvoid
SerializerRegistry.addQuerySerializer
(Syntax syntax, QuerySerializerFactory factory) Adds a query serializer factory for the given syntaxvoid
SerializerRegistry.addUpdateSerializer
(Syntax syntax, UpdateSerializerFactory factory) Adds an update serializer factory for the given syntaxboolean
SerializerRegistry.containsQuerySerializer
(Syntax syntax) Gets whether a query serializer factory is registered for the given syntaxboolean
SerializerRegistry.containsUpdateSerializer
(Syntax syntax) Gets whether an update serializer factory is registered for the given syntaxQuerySerializerFactory.create
(Syntax syntax, Prologue prologue, org.apache.jena.atlas.io.IndentedWriter writer) Return a serializer for the given syntaxQuerySerializerFactory.create
(Syntax syntax, SerializationContext context, org.apache.jena.atlas.io.IndentedWriter writer) Returns a serializer for the given syntax using an existing serialization context, this method should only be called for serializing sub-queries where the outer context must be honouredUpdateSerializerFactory.create
(Syntax syntax, Prologue prologue, org.apache.jena.atlas.io.IndentedWriter writer) Return a serializer for the given syntaxSerializerRegistry.getQuerySerializerFactory
(Syntax syntax) Gets the query serializer factory for the given syntax which may be null if there is none registeredSerializerRegistry.getUpdateSerializerFactory
(Syntax syntax) Gets the update serializer factory for the given syntax which may be null if there is none registeredvoid
SerializerRegistry.removeQuerySerializer
(Syntax syntax) Removes the query serializer factory for the given syntaxvoid
SerializerRegistry.removeUpdateSerializer
(Syntax syntax) Removes the update serializer factory for the given syntax -
Uses of Syntax in org.apache.jena.sparql.util
Modifier and TypeMethodDescriptionstatic void
QueryOutputUtils.printQuery
(org.apache.jena.atlas.io.IndentedWriter out, Query query, Syntax syntax) -
Uses of Syntax in org.apache.jena.update
Modifier and TypeMethodDescriptionstatic UpdateRequest
Create an UpdateRequest by parsing from a string.static UpdateRequest
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 DatasetGraph by parsing from an InputStream.static void
UpdateAction.parseExecute
(UsingList usingList, DatasetGraph dataset, InputStream input, QuerySolution inputBinding, String baseURI, Syntax syntax) Parse update operations into a DatasetGraph by parsing from an InputStream.static void
UpdateAction.parseExecute
(UsingList usingList, DatasetGraph dataset, InputStream input, Syntax syntax) Parse update operations into a DatasetGraph by parsing from an InputStream.static void
UpdateAction.parseExecute
(UsingList usingList, DatasetGraph dataset, InputStream input, Binding inputBinding, String baseURI, Syntax syntax) Parse update operations into a DatasetGraph by parsing from an InputStream.static void
UpdateAction.parseExecute
(UsingList usingList, DatasetGraph dataset, String fileName, String baseURI, Syntax syntax) Parse update operations into a DatasetGraph by reading it from a filestatic void
UpdateAction.parseExecute
(UsingList usingList, DatasetGraph dataset, String fileName, QuerySolution inputBinding, String baseURI, Syntax syntax) Parse update operations into a DatasetGraph by reading it from a filestatic void
UpdateAction.parseExecute
(UsingList usingList, DatasetGraph dataset, String fileName, Syntax syntax) Parse update operations into a DatasetGraph by reading it from a filestatic void
UpdateAction.parseExecute
(UsingList usingList, DatasetGraph dataset, String fileName, Binding inputBinding, String baseURI, Syntax syntax) Parse update operations into a DatasetGraph by reading it from a filestatic 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
Create an UpdateRequest by reading it from a filestatic UpdateRequest
Create an UpdateRequest by reading it from a filestatic 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
Create an UpdateRequest by reading it from a filestatic UpdateRequest
Create an UpdateRequest by reading it from a file