public interface PredefinedQuery<Q extends it.unibz.inf.ontop.answering.reformulation.input.RDF4JInputQuery>
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.rdf4j.query.BindingSet |
convertBindings(it.unibz.inf.ontop.com.google.common.collect.ImmutableMap<String,String> bindings)
NB: the bindings should have been validated before
|
Optional<String> |
getDescription() |
String |
getId() |
Q |
getInputQuery() |
Optional<String> |
getName() |
boolean |
isResultStreamingEnabled() |
it.unibz.inf.ontop.com.google.common.collect.ImmutableMap<String,String> |
replaceWithReferenceValues(it.unibz.inf.ontop.com.google.common.collect.ImmutableMap<String,String> bindings)
Removes irrelevant bindings and replace the values of "safe" parameters by the reference ones
NB: the bindings should have been validated before
|
boolean |
shouldReturn404IfEmpty() |
void |
validate(it.unibz.inf.ontop.com.google.common.collect.ImmutableMap<String,String> bindings) |
Q getInputQuery()
String getId()
boolean shouldReturn404IfEmpty()
boolean isResultStreamingEnabled()
void validate(it.unibz.inf.ontop.com.google.common.collect.ImmutableMap<String,String> bindings) throws InvalidBindingSetException
InvalidBindingSetExceptionorg.eclipse.rdf4j.query.BindingSet convertBindings(it.unibz.inf.ontop.com.google.common.collect.ImmutableMap<String,String> bindings)
it.unibz.inf.ontop.com.google.common.collect.ImmutableMap<String,String> replaceWithReferenceValues(it.unibz.inf.ontop.com.google.common.collect.ImmutableMap<String,String> bindings)
Copyright © 2009–2021 Free University of Bozen-Bolzano. All rights reserved.