Uses of Class
org.apache.jena.query.Syntax
Packages that use Syntax
Package
Description
ARQ - A query engine for Jena, implementing SPARQL.
-
Uses of Syntax in org.apache.jena.http.sys
Methods in org.apache.jena.http.sys with parameters of type Syntax -
Uses of Syntax in org.apache.jena.query
Fields in org.apache.jena.query declared as SyntaxModifier and TypeFieldDescriptionstatic SyntaxSyntax.defaultQuerySyntaxThe name of the default query language for query parsing.static SyntaxSyntax.defaultSyntaxThe system default syntaxstatic SyntaxSyntax.defaultUpdateSyntaxThe name of the default update language for update parsing.static final SyntaxSyntax.syntaxAlgebraSPARQL algebra (SSE syntax) - custom extension.static final SyntaxSyntax.syntaxARQThe query syntax for extended SPARQL.static final SyntaxSyntax.syntaxSPARQLThe latest SPARQL query syntax - no ARQ syntax extensions.static final SyntaxSyntax.syntaxSPARQL_10The syntax that the DAWG working group defined.static final SyntaxSyntax.syntaxSPARQL_11The syntax that the SPARQL 1.1 working group has defined.static final SyntaxSyntax.syntaxSPARQL_12The syntax that is SPARQL 1.2 from the RDF-star working group.Fields in org.apache.jena.query with type parameters of type SyntaxModifier and TypeFieldDescriptionstatic TranslationTable<Syntax>Syntax.querySyntaxNamesstatic TranslationTable<Syntax>Syntax.updateSyntaxNamesMethods in org.apache.jena.query that return SyntaxModifier and TypeMethodDescriptionParameterizedSparqlString.getSyntax()Gets the syntax used for parsing when callingParameterizedSparqlString.asQuery()orParameterizedSparqlString.asUpdate()Query.getSyntax()static SyntaxSyntax.guessFileSyntax(String url) static SyntaxSyntax.guessFileSyntax(String url, Syntax defaultSyntax) Guess the syntax (query and update) based on filenamestatic SyntaxSyntax.guessQueryFileSyntax(String url) Guess the query syntax based on file namestatic SyntaxSyntax.guessQueryFileSyntax(String url, Syntax defaultSyntax) Guess the query syntax based on file namestatic SyntaxSyntax.guessUpdateFileSyntax(String url) Guess the update syntax based on file namestatic SyntaxSyntax.guessUpdateFileSyntax(String url, Syntax defaultSyntax) Guess the update syntax based on file namestatic Syntaxstatic SyntaxMethods in org.apache.jena.query with parameters of type SyntaxModifier and TypeMethodDescriptionAttempts to take the command text with parameters injected from theParameterizedSparqlString.toString()method and parse it as aQueryusing the givenSyntaxsyntaxAttempts to take the command text with parameters injected from theParameterizedSparqlString.toString()method and parse it as aUpdateRequestusing the givenSyntaxstatic QueryExecutionCreate a QueryExecutionstatic QueryExecutionCreate a QueryExecution to execute over the Dataset.static QueryExecutionCreate a QueryExecution to execute over the Model.static QueryCreate a query from the given string by calling the parser.static QueryCreate a query from the given string with thestatic SyntaxSyntax.guessFileSyntax(String url, Syntax defaultSyntax) Guess the syntax (query and update) based on filenamestatic SyntaxSyntax.guessQueryFileSyntax(String url, Syntax defaultSyntax) Guess the query syntax based on file namestatic SyntaxSyntax.guessUpdateFileSyntax(String url, Syntax defaultSyntax) Guess the update syntax based on file namestatic QueryParse a query from the given string by calling the parser.static QueryRead a query from a file.static QueryRead a query from a file.static QueryQueryFactory.read(String url, StreamManager streamManager, String baseURI, Syntax langURI) Read a query from a file.voidQuery.serialize(OutputStream out, Syntax syntax) Output the queryvoidFormat the queryConvert the query to a string in the given syntaxvoidSets the syntax used for parsing when callingParameterizedSparqlString.asQuery()orParameterizedSparqlString.asUpdate()void -
Uses of Syntax in org.apache.jena.sparql.exec
Methods in org.apache.jena.sparql.exec with parameters of type SyntaxModifier and TypeMethodDescriptionSet the query. -
Uses of Syntax in org.apache.jena.sparql.lang
Methods in org.apache.jena.sparql.lang with parameters of type SyntaxModifier and TypeMethodDescriptionbooleanReturn true if this factory can create a parser for the given syntaxbooleanReturn true if this factory can create a parser for the given syntaxvoidSPARQLParserRegistry.add(Syntax syntax, SPARQLParserFactory f) Register the given parser factory for the specified syntax.voidUpdateParserRegistry.add(Syntax syntax, UpdateParserFactory f) Register the given parser factory for the specified syntax.static voidSPARQLParserRegistry.addFactory(Syntax syntax, SPARQLParserFactory f) Register the given parser factory for the specified syntax.static voidUpdateParserRegistry.addFactory(Syntax syntax, UpdateParserFactory f) Register the given parser factory for the specified syntax.static booleanstatic booleanbooleanSPARQLParserRegistry.containsFactory(Syntax syntax) Checks whether a parser factory is registered for the given syntaxbooleanUpdateParserRegistry.containsFactory(Syntax syntax) Checks whether a parser factory is registered for the given syntaxstatic booleanSPARQLParserRegistry.containsParserFactory(Syntax syntax) Checks whether a parser factory is registered for the given syntaxstatic booleanUpdateParserRegistry.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 SPARQLParserSPARQLParser.createParser(Syntax syntaxURI) SPARQLParserRegistry.createParser(Syntax syntax) Return a suitable parser for the given syntaxstatic UpdateParserUpdateParser.createParser(Syntax syntaxURI) UpdateParserRegistry.createParser(Syntax syntax) Return a suitable parser for the given syntaxstatic SPARQLParserFactorySPARQLParserRegistry.findFactory(Syntax syntax) Return a suitable factory for the given syntaxstatic UpdateParserFactoryUpdateParserRegistry.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 SPARQLParserReturn a suitable parser for the given syntaxstatic UpdateParserReturn a suitable parser for the given syntaxvoidUnregister the parser factory associated with the given syntaxvoidUnregister the parser factory associated with the given syntaxstatic voidSPARQLParserRegistry.removeFactory(Syntax syntax) Unregister the parser factory associated with the given syntaxstatic voidUpdateParserRegistry.removeFactory(Syntax syntax) Unregister the parser factory associated with the given syntax -
Uses of Syntax in org.apache.jena.sparql.serializer
Methods in org.apache.jena.sparql.serializer with parameters of type SyntaxModifier and TypeMethodDescriptionbooleanReturn true if this factory can create a serializer for the given syntaxbooleanReturn true if this factory can create a serializer for the given syntaxvoidSerializerRegistry.addQuerySerializer(Syntax syntax, QuerySerializerFactory factory) Adds a query serializer factory for the given syntaxvoidSerializerRegistry.addUpdateSerializer(Syntax syntax, UpdateSerializerFactory factory) Adds an update serializer factory for the given syntaxbooleanSerializerRegistry.containsQuerySerializer(Syntax syntax) Gets whether a query serializer factory is registered for the given syntaxbooleanSerializerRegistry.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 registeredvoidSerializerRegistry.removeQuerySerializer(Syntax syntax) Removes the query serializer factory for the given syntaxvoidSerializerRegistry.removeUpdateSerializer(Syntax syntax) Removes the update serializer factory for the given syntax -
Uses of Syntax in org.apache.jena.sparql.util
Methods in org.apache.jena.sparql.util with parameters of type SyntaxModifier and TypeMethodDescriptionstatic voidQueryOutputUtils.printQuery(org.apache.jena.atlas.io.IndentedWriter out, Query query, Syntax syntax) -
Uses of Syntax in org.apache.jena.update
Methods in org.apache.jena.update with parameters of type SyntaxModifier and TypeMethodDescriptionstatic UpdateRequestCreate an UpdateRequest by parsing from a string.static UpdateRequestCreate an UpdateRequest by parsing from a string.static voidUpdateFactory.parse(UpdateRequest request, String updateString, String baseURI, Syntax syntax) static voidUpdateFactory.parse(UpdateRequest request, String updateString, Syntax syntax) static voidUpdateAction.parseExecute(UsingList usingList, DatasetGraph dataset, InputStream input, String baseURI, Syntax syntax) Parse update operations into a DatasetGraph by parsing from an InputStream.static voidUpdateAction.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 voidUpdateAction.parseExecute(UsingList usingList, DatasetGraph dataset, InputStream input, Syntax syntax) Parse update operations into a DatasetGraph by parsing from an InputStream.static voidUpdateAction.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 voidUpdateAction.parseExecute(UsingList usingList, DatasetGraph dataset, String fileName, String baseURI, Syntax syntax) Parse update operations into a DatasetGraph by reading it from a filestatic voidUpdateAction.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 voidUpdateAction.parseExecute(UsingList usingList, DatasetGraph dataset, String fileName, Syntax syntax) Parse update operations into a DatasetGraph by reading it from a filestatic voidUpdateAction.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 UpdateRequestUpdateFactory.read(InputStream input, String baseURI, Syntax syntax) Create an UpdateRequest by parsing from an InputStream.static UpdateRequestUpdateFactory.read(InputStream input, Syntax syntax) Create an UpdateRequest by parsing from an InputStream.static UpdateRequestCreate an UpdateRequest by reading it from a filestatic UpdateRequestCreate an UpdateRequest by reading it from a filestatic UpdateRequestUpdateFactory.read(UsingList usingList, InputStream input, String baseURI, Syntax syntax) Create an UpdateRequest by parsing from an InputStream.static UpdateRequestUpdateFactory.read(UsingList usingList, InputStream input, Syntax syntax) Create an UpdateRequest by parsing from an InputStream.static UpdateRequestCreate an UpdateRequest by reading it from a filestatic UpdateRequestCreate an UpdateRequest by reading it from a file