Package org.eclipse.rdf4j.spin
Class SpinParser
java.lang.Object
org.eclipse.rdf4j.spin.SpinParser
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionSpinParser
(SpinParser.Input input) SpinParser
(SpinParser.Input input, com.google.common.base.Function<IRI, String> wellKnownVarsMapper, com.google.common.base.Function<IRI, String> wellKnownFuncMapper) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
isThisUnbound
(Resource subj, TripleSource store) orderArguments
(Set<IRI> args) protected ParsedOperation
parse
(Resource queryResource, IRI queryClass, TripleSource store) parse
(Resource queryResource, TripleSource store) parseArguments
(IRI moduleUri, TripleSource store) parseAskQuery
(Resource queryResource, TripleSource store) parseConstraintViolation
(Resource subj, TripleSource store) parseConstructQuery
(Resource queryResource, TripleSource store) parseDescribeQuery
(Resource queryResource, TripleSource store) parseExpression
(Value expr, TripleSource store) parseFunction
(IRI funcUri, TripleSource store) parseMagicProperty
(IRI propUri, TripleSource store) parseQuery
(Resource queryResource, TripleSource store) parseRuleProperties
(TripleSource store) parseSelectQuery
(Resource queryResource, TripleSource store) parseUpdate
(Resource queryResource, TripleSource store) void
Resets/clears any cached information about the given URIs.void
setFunctionParsers
(List<FunctionParser> functionParsers) void
setStrictFunctionChecking
(boolean strictFunctionChecking) void
setTupleFunctionParsers
(List<TupleFunctionParser> tupleFunctionParsers)
-
Constructor Details
-
SpinParser
public SpinParser() -
SpinParser
-
SpinParser
public SpinParser(SpinParser.Input input, com.google.common.base.Function<IRI, String> wellKnownVarsMapper, com.google.common.base.Function<IRI, String> wellKnownFuncMapper)
-
-
Method Details
-
getFunctionParsers
-
setFunctionParsers
-
getTupleFunctionParsers
-
setTupleFunctionParsers
-
isStrictFunctionChecking
public boolean isStrictFunctionChecking() -
setStrictFunctionChecking
public void setStrictFunctionChecking(boolean strictFunctionChecking) -
parseRuleProperties
- Throws:
RDF4JException
-
isThisUnbound
- Throws:
RDF4JException
-
parseConstraintViolation
public ConstraintViolation parseConstraintViolation(Resource subj, TripleSource store) throws RDF4JException - Throws:
RDF4JException
-
parse
- Throws:
RDF4JException
-
parseQuery
- Throws:
RDF4JException
-
parseConstructQuery
public ParsedGraphQuery parseConstructQuery(Resource queryResource, TripleSource store) throws RDF4JException - Throws:
RDF4JException
-
parseSelectQuery
public ParsedTupleQuery parseSelectQuery(Resource queryResource, TripleSource store) throws RDF4JException - Throws:
RDF4JException
-
parseAskQuery
public ParsedBooleanQuery parseAskQuery(Resource queryResource, TripleSource store) throws RDF4JException - Throws:
RDF4JException
-
parseDescribeQuery
public ParsedDescribeQuery parseDescribeQuery(Resource queryResource, TripleSource store) throws RDF4JException - Throws:
RDF4JException
-
parseUpdate
- Throws:
RDF4JException
-
parse
protected ParsedOperation parse(Resource queryResource, IRI queryClass, TripleSource store) throws RDF4JException - Throws:
RDF4JException
-
parseFunction
- Throws:
RDF4JException
-
parseMagicProperty
- Throws:
RDF4JException
-
parseArguments
- Throws:
RDF4JException
-
parseExpression
- Throws:
RDF4JException
-
reset
Resets/clears any cached information about the given URIs.- Parameters:
uris
- if none are specified all cached information is cleared.
-
orderArguments
-