public abstract class AbstractQueryPreparer extends Object implements QueryPreparer
Constructor and Description |
---|
AbstractQueryPreparer(TripleSource tripleSource) |
Modifier and Type | Method and Description |
---|---|
protected abstract CloseableIteration<? extends BindingSet,QueryEvaluationException> |
evaluate(TupleExpr tupleExpr,
Dataset dataset,
BindingSet bindings,
boolean includeInferred,
int maxExecutionTime) |
protected abstract void |
execute(UpdateExpr updateExpr,
Dataset dataset,
BindingSet bindings,
boolean includeInferred,
int maxExecutionTime) |
TripleSource |
getTripleSource() |
BooleanQuery |
prepare(ParsedBooleanQuery q) |
GraphQuery |
prepare(ParsedGraphQuery q) |
TupleQuery |
prepare(ParsedTupleQuery q) |
Update |
prepare(ParsedUpdate u) |
public AbstractQueryPreparer(TripleSource tripleSource)
public BooleanQuery prepare(ParsedBooleanQuery q)
prepare
in interface QueryPreparer
public TupleQuery prepare(ParsedTupleQuery q)
prepare
in interface QueryPreparer
public GraphQuery prepare(ParsedGraphQuery q)
prepare
in interface QueryPreparer
public Update prepare(ParsedUpdate u)
prepare
in interface QueryPreparer
public TripleSource getTripleSource()
getTripleSource
in interface QueryPreparer
protected abstract CloseableIteration<? extends BindingSet,QueryEvaluationException> evaluate(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings, boolean includeInferred, int maxExecutionTime) throws QueryEvaluationException
QueryEvaluationException
protected abstract void execute(UpdateExpr updateExpr, Dataset dataset, BindingSet bindings, boolean includeInferred, int maxExecutionTime) throws UpdateExecutionException
UpdateExecutionException
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.