Package | Description |
---|---|
org.eclipse.rdf4j.federated.optimizer | |
org.eclipse.rdf4j.federated.util | |
org.eclipse.rdf4j.query.algebra |
Abstract Query Algebra model.
|
org.eclipse.rdf4j.query.algebra.evaluation.impl | |
org.eclipse.rdf4j.query.algebra.evaluation.iterator | |
org.eclipse.rdf4j.query.algebra.evaluation.limited | |
org.eclipse.rdf4j.query.algebra.evaluation.limited.iterator | |
org.eclipse.rdf4j.query.algebra.helpers | |
org.eclipse.rdf4j.query.parser.sparql |
The rdf4j SPARQL 1.1 parser.
|
org.eclipse.rdf4j.queryrender.builder |
This package is deprecated.
|
org.eclipse.rdf4j.sail.elasticsearch |
ElasticSearch index for the
LuceneSail . |
org.eclipse.rdf4j.sail.federation.optimizers | |
org.eclipse.rdf4j.sail.lucene |
A Sail implementation that supports full-text indexing via the Lucene API.
|
org.eclipse.rdf4j.sail.solr |
Modifier and Type | Method and Description |
---|---|
void |
FilterOptimizer.VarFinder.meet(Var var) |
Modifier and Type | Method and Description |
---|---|
protected static Var |
QueryAlgebraUtil.appendVar(Var var,
Set<String> varNames,
BindingSet bindings)
Clone the specified variable and attach bindings.
|
protected static Var |
QueryAlgebraUtil.appendVarId(Var var,
String varID,
Set<String> varNames,
BindingSet bindings)
Clone the specified variable and attach bindings, moreover change name of variable by appending "_varId" to it.
|
Modifier and Type | Method and Description |
---|---|
protected static void |
FilterUtils.append(Var var,
StringBuilder sb) |
protected static StringBuilder |
QueryStringUtil.appendVar(StringBuilder sb,
Var var,
Set<String> varNames,
BindingSet bindings)
Append the variable to the provided StringBuilder.
|
protected static Var |
QueryAlgebraUtil.appendVar(Var var,
Set<String> varNames,
BindingSet bindings)
Clone the specified variable and attach bindings.
|
protected static StringBuilder |
QueryStringUtil.appendVarId(StringBuilder sb,
Var var,
String varID,
Set<String> varNames,
BindingSet bindings)
Append the variable to the provided StringBuilder, however change name of variable by appending "_varId" to it.
|
protected static Var |
QueryAlgebraUtil.appendVarId(Var var,
String varID,
Set<String> varNames,
BindingSet bindings)
Clone the specified variable and attach bindings, moreover change name of variable by appending "_varId" to it.
|
static Value |
QueryAlgebraUtil.getVarValue(Var var,
BindingSet bindings)
Return the
Value of the variable which is either taken from the variable itself (bound) or from the
bindingsset (unbound). |
static String |
QueryStringUtil.toString(Var var) |
Modifier and Type | Field and Description |
---|---|
protected Var |
Bound.arg
The operator's argument.
|
Modifier and Type | Method and Description |
---|---|
<L extends Collection<Var>> |
TripleRef.getVars(L varCollection)
Adds the variables of this statement pattern to the supplied collection.
|
<L extends Collection<Var>> |
ZeroLengthPath.getVars(L varCollection)
Adds the variables of this statement pattern to the supplied collection.
|
<L extends Collection<Var>> |
StatementPattern.getVars(L varCollection)
Adds the variables of this statement pattern to the supplied collection.
|
Modifier and Type | Method and Description |
---|---|
Var |
Var.clone() |
Var |
Bound.getArg()
Gets the argument of this unary value operator.
|
Var |
ZeroLengthPath.getContextVar()
Returns the context variable, if available.
|
Var |
ArbitraryLengthPath.getContextVar()
Returns the context variable, if available.
|
Var |
StatementPattern.getContextVar()
Returns the context variable, if available.
|
Var |
TripleRef.getExprVar()
Returns the context variable, if available.
|
Var |
ValueExprTripleRef.getObjectVar() |
Var |
TripleRef.getObjectVar() |
Var |
ZeroLengthPath.getObjectVar() |
Var |
ArbitraryLengthPath.getObjectVar() |
Var |
StatementPattern.getObjectVar() |
Var |
ValueExprTripleRef.getPredicateVar() |
Var |
TripleRef.getPredicateVar() |
Var |
StatementPattern.getPredicateVar() |
Var |
Projection.getProjectionContext() |
Var |
Service.getServiceRef() |
Var |
ValueExprTripleRef.getSubjectVar() |
Var |
TripleRef.getSubjectVar() |
Var |
ZeroLengthPath.getSubjectVar() |
Var |
ArbitraryLengthPath.getSubjectVar() |
Var |
StatementPattern.getSubjectVar() |
Modifier and Type | Method and Description |
---|---|
List<Var> |
TupleFunctionCall.getResultVars() |
List<Var> |
TripleRef.getVarList() |
List<Var> |
ZeroLengthPath.getVarList() |
List<Var> |
StatementPattern.getVarList() |
Modifier and Type | Method and Description |
---|---|
void |
TupleFunctionCall.addResultVar(Var resultVar) |
void |
TupleFunctionCall.addResultVars(Var... resultVars) |
void |
QueryModelVisitor.meet(Var node) |
void |
Bound.setArg(Var arg)
Sets the argument of this unary value operator.
|
void |
ZeroLengthPath.setContextVar(Var context) |
void |
ArbitraryLengthPath.setContextVar(Var context) |
void |
StatementPattern.setContextVar(Var context) |
void |
TripleRef.setExprVar(Var context) |
void |
TripleRef.setObjectVar(Var object) |
void |
ZeroLengthPath.setObjectVar(Var object) |
void |
ArbitraryLengthPath.setObjectVar(Var object) |
void |
StatementPattern.setObjectVar(Var object) |
void |
TripleRef.setPredicateVar(Var predicate) |
void |
StatementPattern.setPredicateVar(Var predicate) |
void |
Projection.setProjectionContext(Var projectionContext) |
void |
Service.setServiceRef(Var serviceRef) |
void |
TripleRef.setSubjectVar(Var subject) |
void |
ZeroLengthPath.setSubjectVar(Var subject) |
void |
ArbitraryLengthPath.setSubjectVar(Var subject) |
void |
StatementPattern.setSubjectVar(Var subject) |
Modifier and Type | Method and Description |
---|---|
void |
TupleFunctionCall.addResultVars(Iterable<Var> resultVars) |
void |
TupleFunctionCall.setResultVars(Iterable<Var> resultVars) |
Constructor and Description |
---|
ArbitraryLengthPath(StatementPattern.Scope scope,
Var subject,
TupleExpr pathExpression,
Var object,
long minLength)
Creates a arbitrary-length path that matches a subject-, predicate- and object variable against statements from
the specified context scope.
|
ArbitraryLengthPath(StatementPattern.Scope scope,
Var subjVar,
TupleExpr pathExpression,
Var objVar,
Var conVar,
long minLength)
Creates a arbitrary-length path that matches a subject-, predicate-, object- and context variable against
statements from the specified context scope.
|
ArbitraryLengthPath(Var subject,
TupleExpr pathExpression,
Var object,
long minLength)
Creates a arbitrary-length path that matches a subject-, predicate- and object variable against statements from
all contexts.
|
ArbitraryLengthPath(Var subject,
TupleExpr pathExpression,
Var object,
Var context,
long minLength)
Creates a arbitrary-length path that matches a subject-, predicate-, object- and context variable against
statements from all contexts.
|
Bound(Var arg) |
Service(Var serviceRef,
TupleExpr serviceExpr,
String serviceExpressionString,
Map<String,String> prefixDeclarations,
String baseURI,
boolean silent) |
StatementPattern(StatementPattern.Scope scope,
Var subject,
Var predicate,
Var object)
Creates a statement pattern that matches a subject-, predicate- and object variable against statements from the
specified context scope.
|
StatementPattern(StatementPattern.Scope scope,
Var subjVar,
Var predVar,
Var objVar,
Var conVar)
Creates a statement pattern that matches a subject-, predicate-, object- and context variable against statements
from the specified context scope.
|
StatementPattern(Var subject,
Var predicate,
Var object)
Creates a statement pattern that matches a subject-, predicate- and object variable against statements from all
contexts.
|
StatementPattern(Var subject,
Var predicate,
Var object,
Var context)
Creates a statement pattern that matches a subject-, predicate-, object- and context variable against statements
from all contexts.
|
ValueExprTripleRef(String extName,
Var s,
Var p,
Var o) |
ZeroLengthPath(StatementPattern.Scope scope,
Var subject,
Var object)
Creates a zero-length path that matches a subject-, predicate- and object variable against statements from the
specified context scope.
|
ZeroLengthPath(StatementPattern.Scope scope,
Var subjVar,
Var objVar,
Var conVar)
Creates a zero-length path that matches a subject-, predicate-, object- and context variable against statements
from the specified context scope.
|
ZeroLengthPath(Var subject,
Var object)
Creates a zero-length path that matches a subject-, predicate- and object variable against statements from all
contexts.
|
ZeroLengthPath(Var subject,
Var object,
Var context)
Creates a zero-length path that matches a subject-, predicate-, object- and context variable against statements
from all contexts.
|
Modifier and Type | Method and Description |
---|---|
protected <M extends Map<Var,Integer>> |
QueryJoinOptimizer.JoinVisitor.getVarFreqMap(List<Var> varList,
M varFreqMap)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected List<Var> |
QueryJoinOptimizer.JoinVisitor.getConstantVars(Iterable<Var> vars)
Deprecated.
|
protected List<Var> |
QueryJoinOptimizer.JoinVisitor.getStatementPatternVars(TupleExpr tupleExpr)
Deprecated.
|
protected List<Var> |
QueryJoinOptimizer.JoinVisitor.getUnboundVars(Iterable<Var> vars)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Value |
StrictEvaluationStrategy.evaluate(Var var,
BindingSet bindings) |
protected double |
EvaluationStatistics.CardinalityCalculator.getCardinality(double varCardinality,
Var var) |
protected double |
EvaluationStatistics.CardinalityCalculator.getContextCardinality(Var var) |
protected double |
EvaluationStatistics.CardinalityCalculator.getObjectCardinality(Var var) |
protected double |
EvaluationStatistics.CardinalityCalculator.getPredicateCardinality(Var var) |
protected double |
EvaluationStatistics.CardinalityCalculator.getSubjectCardinality(Var var) |
protected Value |
StrictEvaluationStrategy.getVarValue(Var var,
BindingSet bindings) |
protected ZeroLengthPathIteration |
StrictEvaluationStrategy.getZeroLengthPathIterator(BindingSet bindings,
Var subjectVar,
Var objVar,
Var contextVar,
Value subj,
Value obj) |
protected boolean |
StrictEvaluationStrategy.isUnbound(Var var,
BindingSet bindings) |
void |
OrderLimitOptimizer.OrderOptimizer.meet(Var node) |
void |
SameTermFilterOptimizer.VarRenamer.meet(Var var) |
void |
SameTermFilterOptimizer.VarBinder.meet(Var var) |
void |
ConstantOptimizer.VarNameCollector.meet(Var var) |
void |
BindingAssigner.VarVisitor.meet(Var var) |
Modifier and Type | Method and Description |
---|---|
protected int |
EvaluationStatistics.CardinalityCalculator.countConstantVars(Iterable<Var> vars) |
static CloseableIteration<BindingSet,QueryEvaluationException> |
TupleFunctionEvaluationStrategy.evaluate(TupleFunction func,
List<Var> resultVars,
BindingSet bindings,
ValueFactory valueFactory,
Value... argValues) |
protected double |
EvaluationStatistics.CardinalityCalculator.getCardinality(double varCardinality,
Collection<Var> vars) |
protected List<Var> |
QueryJoinOptimizer.JoinVisitor.getConstantVars(Iterable<Var> vars)
Deprecated.
|
protected int |
QueryJoinOptimizer.JoinVisitor.getForeignVarFreq(List<Var> ownUnboundVars,
Map<Var,Integer> varFreqMap)
Deprecated.
|
protected int |
QueryJoinOptimizer.JoinVisitor.getForeignVarFreq(List<Var> ownUnboundVars,
Map<Var,Integer> varFreqMap)
Deprecated.
|
protected double |
QueryJoinOptimizer.JoinVisitor.getTupleExprCardinality(TupleExpr tupleExpr,
Map<TupleExpr,Double> cardinalityMap,
Map<TupleExpr,List<Var>> varsMap,
Map<Var,Integer> varFreqMap,
Set<String> boundVars)
Deprecated.
|
protected double |
QueryJoinOptimizer.JoinVisitor.getTupleExprCardinality(TupleExpr tupleExpr,
Map<TupleExpr,Double> cardinalityMap,
Map<TupleExpr,List<Var>> varsMap,
Map<Var,Integer> varFreqMap,
Set<String> boundVars)
Deprecated.
|
protected double |
QueryJoinOptimizer.JoinVisitor.getTupleExprCost(TupleExpr tupleExpr,
Map<TupleExpr,Double> cardinalityMap,
Map<TupleExpr,List<Var>> varsMap,
Map<Var,Integer> varFreqMap,
Set<String> boundVars)
Deprecated.
|
protected double |
QueryJoinOptimizer.JoinVisitor.getTupleExprCost(TupleExpr tupleExpr,
Map<TupleExpr,Double> cardinalityMap,
Map<TupleExpr,List<Var>> varsMap,
Map<Var,Integer> varFreqMap,
Set<String> boundVars)
Deprecated.
|
protected List<Var> |
QueryJoinOptimizer.JoinVisitor.getUnboundVars(Iterable<Var> vars)
Deprecated.
|
protected <M extends Map<Var,Integer>> |
QueryJoinOptimizer.JoinVisitor.getVarFreqMap(List<Var> varList,
M varFreqMap)
Deprecated.
|
protected TupleExpr |
QueryJoinOptimizer.JoinVisitor.selectNextTupleExpr(List<TupleExpr> expressions,
Map<TupleExpr,Double> cardinalityMap,
Map<TupleExpr,List<Var>> varsMap,
Map<Var,Integer> varFreqMap,
Set<String> boundVars)
Deprecated.
Selects from a list of tuple expressions the next tuple expression that should be evaluated.
|
protected TupleExpr |
QueryJoinOptimizer.JoinVisitor.selectNextTupleExpr(List<TupleExpr> expressions,
Map<TupleExpr,Double> cardinalityMap,
Map<TupleExpr,List<Var>> varsMap,
Map<Var,Integer> varFreqMap,
Set<String> boundVars)
Deprecated.
Selects from a list of tuple expressions the next tuple expression that should be evaluated.
|
Constructor and Description |
---|
VarRenamer(Var oldVar,
Var newVar) |
Modifier and Type | Method and Description |
---|---|
Var |
PathIteration.createAnonVar(String varName) |
Var |
ZeroLengthPathIteration.createAnonVar(String varName) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
PathIteration.isUnbound(Var var,
BindingSet bindings) |
Constructor and Description |
---|
PathIteration(StrictEvaluationStrategy evaluationStrategyImpl,
StatementPattern.Scope scope,
Var startVar,
TupleExpr pathExpression,
Var endVar,
Var contextVar,
long minLength,
BindingSet bindings) |
ZeroLengthPathIteration(EvaluationStrategy evaluationStrategyImpl,
Var subjectVar,
Var objVar,
Value subj,
Value obj,
Var contextVar,
BindingSet bindings) |
Modifier and Type | Method and Description |
---|---|
protected ZeroLengthPathIteration |
LimitedSizeEvaluationStrategy.getZeroLengthPathIterator(BindingSet bindings,
Var subjectVar,
Var objVar,
Var contextVar,
Value subj,
Value obj) |
Constructor and Description |
---|
LimitedSizePathIterator(StrictEvaluationStrategy evaluationStrategyImpl,
StatementPattern.Scope scope,
Var startVar,
TupleExpr pathExpression,
Var endVar,
Var contextVar,
long minLength,
BindingSet bindings,
AtomicLong used,
long maxSize) |
LimitedSizeZeroLengthPathIteration(EvaluationStrategy evaluationStrategyImpl,
Var subjectVar,
Var objVar,
Value subj,
Value obj,
Var contextVar,
BindingSet bindings,
AtomicLong used,
long maxSize) |
Modifier and Type | Method and Description |
---|---|
static Var |
TupleExprs.createConstVar(Value value)
Creates an (anonymous) Var representing a constant value.
|
Modifier and Type | Method and Description |
---|---|
void |
VarNameCollector.meet(Var var) |
void |
AbstractQueryModelVisitor.meet(Var node) |
Modifier and Type | Method and Description |
---|---|
protected Var |
TupleExprBuilder.createAnonVar()
Deprecated.
Creates an anonymous Var with a unique, randomly generated, variable name.
|
Var |
GraphPattern.getContextVar()
Deprecated.
|
Var |
NegatedPropertySet.getContextVar()
Deprecated.
|
Var |
NegatedPropertySet.getSubjectVar()
Deprecated.
|
protected Var |
TupleExprBuilder.mapValueExprToVar(Object valueExpr)
Deprecated.
Maps the given valueExpr to a Var.
|
Var |
TupleExprBuilder.visit(org.eclipse.rdf4j.query.parser.sparql.ast.ASTBlankNodePropertyList node,
Object data)
Deprecated.
|
Var |
TupleExprBuilder.visit(org.eclipse.rdf4j.query.parser.sparql.ast.ASTCollection node,
Object data)
Deprecated.
|
Var |
TupleExprBuilder.visit(org.eclipse.rdf4j.query.parser.sparql.ast.ASTVar node,
Object data)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Set<Var> |
TupleExprBuilder.VarCollector.getCollectedVars() |
Modifier and Type | Method and Description |
---|---|
void |
GraphPattern.addRequiredSP(Var subjVar,
Var predVar,
Var objVar)
Deprecated.
|
void |
TupleExprBuilder.VarCollector.meet(Var var) |
void |
GraphPattern.setContextVar(Var contextVar)
Deprecated.
|
void |
NegatedPropertySet.setContextVar(Var contextVar)
Deprecated.
|
void |
NegatedPropertySet.setSubjectVar(Var subjectVar)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Var |
GroupBuilder.valueToVar(Value theValue)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected Iterable<? extends DocumentDistance> |
ElasticsearchIndex.geoQuery(IRI geoProperty,
org.locationtech.spatial4j.shape.Point p,
IRI units,
double distance,
String distanceVar,
Var contextVar) |
protected Iterable<? extends DocumentResult> |
ElasticsearchIndex.geoRelationQuery(String relation,
IRI geoProperty,
org.locationtech.spatial4j.shape.Shape shape,
Var contextVar) |
Modifier and Type | Method and Description |
---|---|
protected <M extends Map<Var,Integer>> |
QueryMultiJoinOptimizer.JoinVisitor.getVarFreqMap(List<Var> varList,
M varFreqMap) |
Modifier and Type | Method and Description |
---|---|
protected List<Var> |
QueryMultiJoinOptimizer.JoinVisitor.getConstantVars(Iterable<Var> vars) |
protected List<Var> |
QueryMultiJoinOptimizer.JoinVisitor.getStatementPatternVars(TupleExpr tupleExpr) |
protected List<Var> |
QueryMultiJoinOptimizer.JoinVisitor.getUnboundVars(Iterable<Var> vars) |
Modifier and Type | Method and Description |
---|---|
protected int |
EvaluationStatistics.CardinalityCalculator.countConstantVars(Iterable<Var> vars) |
protected List<Var> |
QueryMultiJoinOptimizer.JoinVisitor.getConstantVars(Iterable<Var> vars) |
protected int |
QueryMultiJoinOptimizer.JoinVisitor.getForeignVarFreq(List<Var> ownUnboundVars,
Map<Var,Integer> varFreqMap) |
protected int |
QueryMultiJoinOptimizer.JoinVisitor.getForeignVarFreq(List<Var> ownUnboundVars,
Map<Var,Integer> varFreqMap) |
protected double |
QueryMultiJoinOptimizer.JoinVisitor.getTupleExprCost(TupleExpr tupleExpr,
Map<TupleExpr,Double> cardinalityMap,
Map<TupleExpr,List<Var>> varsMap,
Map<Var,Integer> varFreqMap,
Set<String> boundVars) |
protected double |
QueryMultiJoinOptimizer.JoinVisitor.getTupleExprCost(TupleExpr tupleExpr,
Map<TupleExpr,Double> cardinalityMap,
Map<TupleExpr,List<Var>> varsMap,
Map<Var,Integer> varFreqMap,
Set<String> boundVars) |
protected List<Var> |
QueryMultiJoinOptimizer.JoinVisitor.getUnboundVars(Iterable<Var> vars) |
protected <M extends Map<Var,Integer>> |
QueryMultiJoinOptimizer.JoinVisitor.getVarFreqMap(List<Var> varList,
M varFreqMap) |
protected TupleExpr |
QueryMultiJoinOptimizer.JoinVisitor.selectNextTupleExpr(List<TupleExpr> expressions,
Map<TupleExpr,Double> cardinalityMap,
Map<TupleExpr,List<Var>> varsMap,
Map<Var,Integer> varFreqMap,
Set<String> boundVars)
Selects from a list of tuple expressions the next tuple expression that should be evaluated.
|
protected TupleExpr |
QueryMultiJoinOptimizer.JoinVisitor.selectNextTupleExpr(List<TupleExpr> expressions,
Map<TupleExpr,Double> cardinalityMap,
Map<TupleExpr,List<Var>> varsMap,
Map<Var,Integer> varFreqMap,
Set<String> boundVars)
Selects from a list of tuple expressions the next tuple expression that should be evaluated.
|
Modifier and Type | Method and Description |
---|---|
Var |
GeoRelationQuerySpec.getContextVar() |
Var |
DistanceQuerySpec.getContextVar() |
Modifier and Type | Method and Description |
---|---|
protected Iterable<? extends DocumentDistance> |
LuceneIndex.geoQuery(IRI geoProperty,
org.locationtech.spatial4j.shape.Point p,
IRI units,
double distance,
String distanceVar,
Var contextVar) |
protected abstract Iterable<? extends DocumentDistance> |
AbstractSearchIndex.geoQuery(IRI geoProperty,
org.locationtech.spatial4j.shape.Point p,
IRI units,
double distance,
String distanceVar,
Var context) |
protected Iterable<? extends DocumentResult> |
LuceneIndex.geoRelationQuery(String relation,
IRI geoProperty,
org.locationtech.spatial4j.shape.Shape shape,
Var contextVar) |
protected abstract Iterable<? extends DocumentResult> |
AbstractSearchIndex.geoRelationQuery(String relation,
IRI geoProperty,
org.locationtech.spatial4j.shape.Shape shape,
Var context) |
Constructor and Description |
---|
DistanceQuerySpec(Literal from,
IRI units,
double dist,
String distVar,
IRI geoProperty,
String geoVar,
String subjectVar,
Var contextVar) |
Modifier and Type | Method and Description |
---|---|
protected Iterable<? extends DocumentDistance> |
SolrIndex.geoQuery(IRI geoProperty,
org.locationtech.spatial4j.shape.Point p,
IRI units,
double distance,
String distanceVar,
Var contextVar) |
protected Iterable<? extends DocumentResult> |
SolrIndex.geoRelationQuery(String relation,
IRI geoProperty,
org.locationtech.spatial4j.shape.Shape shape,
Var contextVar) |
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.