Namespace containing functions to manage the global registry of Sesame parsers.
Normally you should not need to adjust the default global registries, however if you need tighter control over what serialisation format is negotiated on a SPARQL endpoint; for example if the endpoint you are talking to has a serialisation bug then you can force the use of different parser by removing the problematic one.
Be warned though, these registries apply globally (process wide), so altering them may have unintended consequences.
Namespace containing functions to manage the global registry of Sesame parsers. Normally you should not need to adjust the default global registries, however if you need tighter control over what serialisation format is negotiated on a SPARQL endpoint; for example if the endpoint you are talking to has a serialisation bug then you can force the use of different parser by removing the problematic one. Be warned though, these registries apply globally (process wide), so altering them may have unintended consequences.
(clear-registry! query-type)
Clears all registered query-parsers for the specified query-type.
Clears all registered query-parsers for the specified query-type.
(parser-registries)
Returns a map of the low level sesame parser registries associated with their corresponding query-type. You should normally call registered-parser-factories which will return you a representation of this information.
Returns a map of the low level sesame parser registries associated with their corresponding query-type. You should normally call registered-parser-factories which will return you a representation of this information.
(register-parser-factories! reg-data)
Takes a map from query-type (:select :construct or :ask) to the sesame Parser Factory class and registers the parsers with the appropriate sesame registries.
This works with the same data representation returned by registered-parser-factories.
Takes a map from query-type (:select :construct or :ask) to the sesame Parser Factory class and registers the parsers with the appropriate sesame registries. This works with the same data representation returned by registered-parser-factories.
(register-parser-factory! query-type factory-klass)
Takes a query-type keyword and a parser factory class and registers it with sesame.
Takes a query-type keyword and a parser factory class and registers it with sesame.
(registered-parser-factories)
Returns the sesame registered query parser factories associated with their corresponding query-type.
These factories define the parsers used for content negotiation inside sesame.
Returns the sesame registered query parser factories associated with their corresponding query-type. These factories define the parsers used for content negotiation inside sesame.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close