Uses of Class
org.eclipse.rdf4j.query.algebra.Var
Package
Description
Abstract Query Algebra model.
Implementations of
relevant to query evaluation.
invalid reference
Iteration
The rdf4j SPARQL 1.1 parser.
ElasticSearch index for the
LuceneSail
.A Sail implementation that supports full-text indexing via the Lucene API.
-
Uses of Var in org.eclipse.rdf4j.federated.algebra
Modifier and TypeMethodDescriptionCheckStatementPattern.getOrder()
ExclusiveGroup.getOrder()
FedXService.getOrder()
NTuple.getOrder()
PassThroughTupleExpr.getOrder()
SingleSourceQuery.getOrder()
Modifier and TypeMethodDescriptionCheckStatementPattern.getSupportedOrders
(AvailableStatementOrder tripleSource) ExclusiveGroup.getSupportedOrders
(AvailableStatementOrder tripleSource) FedXService.getSupportedOrders
(AvailableStatementOrder tripleSource) NTuple.getSupportedOrders
(AvailableStatementOrder tripleSource) PassThroughTupleExpr.getSupportedOrders
(AvailableStatementOrder tripleSource) SingleSourceQuery.getSupportedOrders
(AvailableStatementOrder tripleSource) Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
ModifierConstructorDescriptionFedXZeroLengthPath
(StatementPattern.Scope scope, Var subjVar, Var objVar, Var conVar, QueryInfo queryInfo, List<StatementSource> statementSources) -
Uses of Var in org.eclipse.rdf4j.federated.evaluation
Modifier and TypeMethodDescriptionprotected FedXZeroLengthPathIteration
FedXZeroLengthPathEvaluationStep.getZeroLengthPathIterator
(BindingSet bindings, Var subjectVar, Var objVar, Var contextVar, Value subj, Value obj, QueryEvaluationContext context) ModifierConstructorDescriptionFedXZeroLengthPathEvaluationStep
(Var subjectVar, Var objVar, Var contextVar, QueryValueEvaluationStep subPrep, QueryValueEvaluationStep objPrep, EvaluationStrategy strategy, QueryEvaluationContext context, Supplier<List<StatementSource>> statementSources, Supplier<QueryInfo> queryInfo) -
Uses of Var in org.eclipse.rdf4j.federated.evaluation.iterator
Modifier and TypeMethodDescriptionprotected boolean
FedXPathIteration.isUnbound
(Var var, BindingSet bindings) ModifierConstructorDescriptionFedXPathIteration
(EvaluationStrategy strategy, StatementPattern.Scope scope, Var startVar, TupleExpr pathExpression, Var endVar, Var contextVar, long minLength, BindingSet bindings, QueryInfo queryInfo) FedXZeroLengthPathIteration
(EvaluationStrategy evaluationStrategyImpl, Var subjectVar, Var objVar, Value subj, Value obj, Var contextVar, BindingSet bindings, QueryEvaluationContext context, QueryInfo queryInfo, List<StatementSource> statementSources) -
Uses of Var in org.eclipse.rdf4j.federated.optimizer
-
Uses of Var in org.eclipse.rdf4j.federated.util
Modifier and TypeMethodDescriptionprotected 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 TypeMethodDescriptionprotected static void
FilterUtils.append
(Var var, StringBuilder sb) protected static Var
QueryAlgebraUtil.appendVar
(Var var, Set<String> varNames, BindingSet bindings) Clone the specified variable and attach bindings.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.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.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.static Value
QueryAlgebraUtil.getVarValue
(Var var, BindingSet bindings) Return theValue
of the variable which is either taken from the variable itself (bound) or from the bindingsset (unbound).static String
-
Uses of Var in org.eclipse.rdf4j.query.algebra
Modifier and TypeMethodDescription<L extends Collection<Var>>
LStatementPattern.getVars
(L varCollection) Adds the variables of this statement pattern to the supplied collection.<L extends Collection<Var>>
LTripleRef.getVars
(L varCollection) Adds the variables of this statement pattern to the supplied collection.<L extends Collection<Var>>
LZeroLengthPath.getVars
(L varCollection) Adds the variables of this statement pattern to the supplied collection.Modifier and TypeMethodDescriptionVar.clone()
Bound.getArg()
Gets the argument of this unary value operator.ArbitraryLengthPath.getContextVar()
Returns the context variable, if available.StatementPattern.getContextVar()
Returns the context variable, if available.ZeroLengthPath.getContextVar()
Returns the context variable, if available.TripleRef.getExprVar()
Returns the context variable, if available.ArbitraryLengthPath.getObjectVar()
StatementPattern.getObjectVar()
TripleRef.getObjectVar()
ValueExprTripleRef.getObjectVar()
ZeroLengthPath.getObjectVar()
ArbitraryLengthPath.getOrder()
BinaryTupleOperator.getOrder()
BindingSetAssignment.getOrder()
EmptySet.getOrder()
SingletonSet.getOrder()
StatementPattern.getOrder()
TripleRef.getOrder()
default Var
TupleExpr.getOrder()
TupleFunctionCall.getOrder()
UnaryTupleOperator.getOrder()
ZeroLengthPath.getOrder()
StatementPattern.getPredicateVar()
TripleRef.getPredicateVar()
ValueExprTripleRef.getPredicateVar()
Projection.getProjectionContext()
Service.getServiceRef()
ArbitraryLengthPath.getSubjectVar()
StatementPattern.getSubjectVar()
TripleRef.getSubjectVar()
ValueExprTripleRef.getSubjectVar()
ZeroLengthPath.getSubjectVar()
Modifier and TypeMethodDescriptionTupleFunctionCall.getResultVars()
ArbitraryLengthPath.getSupportedOrders
(AvailableStatementOrder tripleSource) BinaryTupleOperator.getSupportedOrders
(AvailableStatementOrder tripleSource) BindingSetAssignment.getSupportedOrders
(AvailableStatementOrder tripleSource) EmptySet.getSupportedOrders
(AvailableStatementOrder tripleSource) SingletonSet.getSupportedOrders
(AvailableStatementOrder tripleSource) StatementPattern.getSupportedOrders
(AvailableStatementOrder tripleSource) TripleRef.getSupportedOrders
(AvailableStatementOrder tripleSource) TupleExpr.getSupportedOrders
(AvailableStatementOrder tripleSource) TupleFunctionCall.getSupportedOrders
(AvailableStatementOrder tripleSource) UnaryTupleOperator.getSupportedOrders
(AvailableStatementOrder tripleSource) ZeroLengthPath.getSupportedOrders
(AvailableStatementOrder tripleSource) StatementPattern.getVarList()
TripleRef.getVarList()
ZeroLengthPath.getVarList()
Modifier and TypeMethodDescriptionvoid
TupleFunctionCall.addResultVar
(Var resultVar) void
TupleFunctionCall.addResultVars
(Var... resultVars) void
void
Sets the argument of this unary value operator.void
ArbitraryLengthPath.setContextVar
(Var context) void
ZeroLengthPath.setContextVar
(Var context) void
TripleRef.setExprVar
(Var context) void
ArbitraryLengthPath.setObjectVar
(Var object) void
TripleRef.setObjectVar
(Var object) void
ZeroLengthPath.setObjectVar
(Var object) void
void
void
void
void
void
void
default void
void
void
void
void
TripleRef.setPredicateVar
(Var predicate) void
Projection.setProjectionContext
(Var projectionContext) void
Service.setServiceRef
(Var serviceRef) void
ArbitraryLengthPath.setSubjectVar
(Var subject) void
TripleRef.setSubjectVar
(Var subject) void
ZeroLengthPath.setSubjectVar
(Var subject) Modifier and TypeMethodDescriptionvoid
TupleFunctionCall.addResultVars
(Iterable<Var> resultVars) void
TupleFunctionCall.setResultVars
(Iterable<Var> resultVars) ModifierConstructorDescriptionArbitraryLengthPath
(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.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. -
Uses of Var in org.eclipse.rdf4j.query.algebra.evaluation.impl
Modifier and TypeMethodDescriptionprotected 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) static Value
DefaultEvaluationStrategy.getVarValue
(Var var, BindingSet bindings) protected QueryValueEvaluationStep
DefaultEvaluationStrategy.prepare
(Var var, QueryEvaluationContext context) Modifier and TypeMethodDescriptionprotected int
EvaluationStatistics.CardinalityCalculator.countConstantVars
(Iterable<Var> vars) protected static CloseableIteration
<BindingSet> DefaultEvaluationStrategy.evaluate
(TupleFunction func, List<Var> resultVars, BindingSet bindings, ValueFactory valueFactory, Value... argValues) static CloseableIteration
<BindingSet> ExtendedEvaluationStrategy.evaluate
(TupleFunction func, List<Var> resultVars, BindingSet bindings, ValueFactory valueFactory, Value... argValues) Deprecated, for removal: This API element is subject to removal in a future version.static CloseableIteration
<BindingSet> TupleFunctionEvaluationStrategy.evaluate
(TupleFunction func, List<Var> resultVars, BindingSet bindings, ValueFactory valueFactory, Value... argValues) Deprecated, for removal: This API element is subject to removal in a future version.protected double
EvaluationStatistics.CardinalityCalculator.getCardinality
(double varCardinality, Collection<Var> vars) -
Uses of Var in org.eclipse.rdf4j.query.algebra.evaluation.impl.evaluationsteps
Modifier and TypeMethodDescriptionStatementPatternQueryEvaluationStep.extractContextsFromDatasets
(Var contextVar, boolean emptyGraph, Set<IRI> graphs) protected ZeroLengthPathIteration
ZeroLengthPathEvaluationStep.getZeroLengthPathIterator
(BindingSet bindings, Var subjectVar, Var objVar, Var contextVar, Value subj, Value obj, QueryEvaluationContext context) ModifierConstructorDescriptionRdfStarQueryEvaluationStep
(Var subjVar, Var predVar, Var objVar, Var extVar, RDFStarTripleSource tripleSource, QueryEvaluationContext context) ReificationRdfStarQueryEvaluationStep
(Var subjVar, Var predVar, Var objVar, Var extVar, TripleSource tripleSource, QueryEvaluationContext context) ServiceQueryEvaluationStep
(Service service, Var serviceRef, FederatedServiceResolver serviceResolver) ZeroLengthPathEvaluationStep
(Var subjectVar, Var objVar, Var contextVar, QueryValueEvaluationStep subPrep, QueryValueEvaluationStep objPrep, EvaluationStrategy strategy, QueryEvaluationContext context) -
Uses of Var in org.eclipse.rdf4j.query.algebra.evaluation.impl.evaluationsteps.values
Modifier and TypeMethodDescriptionstatic QueryValueEvaluationStep
QueryValueEvaluationStepSupplier.prepareVar
(Var var, QueryEvaluationContext context) -
Uses of Var in org.eclipse.rdf4j.query.algebra.evaluation.iterator
Modifier and TypeMethodDescriptionprotected boolean
PathIteration.isUnbound
(Var var, BindingSet bindings) ModifierConstructorDescriptionPathIteration
(EvaluationStrategy strategy, 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, QueryEvaluationContext context) -
Uses of Var in org.eclipse.rdf4j.query.algebra.evaluation.optimizer
Modifier and TypeMethodDescriptionQueryJoinOptimizer.JoinVisitor.fillVarFreqMap
(List<Var> varList, M varFreqMap) Modifier and TypeMethodDescriptionQueryJoinOptimizer.JoinVisitor.getStatementPatternVars
(TupleExpr tupleExpr) QueryJoinOptimizer.JoinVisitor.getUnboundVars
(List<Var> vars) Modifier and TypeMethodDescriptionQueryJoinOptimizer.JoinVisitor.fillVarFreqMap
(List<Var> varList, M varFreqMap) protected int
QueryJoinOptimizer.JoinVisitor.getForeignVarFreq
(List<Var> ownUnboundVars, Map<Var, Integer> varFreqMap) protected int
QueryJoinOptimizer.JoinVisitor.getForeignVarFreq
(List<Var> ownUnboundVars, Map<Var, Integer> varFreqMap) QueryJoinOptimizer.JoinVisitor.getUnboundVars
(List<Var> vars) -
Uses of Var in org.eclipse.rdf4j.query.algebra.helpers
Modifier and TypeMethodDescriptionstatic Var
TupleExprs.createConstVar
(Value value) Creates an (anonymous) Var representing a constant value. -
Uses of Var in org.eclipse.rdf4j.query.algebra.helpers.collectors
-
Uses of Var in org.eclipse.rdf4j.query.parser.sparql
Modifier and TypeMethodDescriptionprotected Var
TupleExprBuilder.createAnonVar()
Creates an anonymous Var with a unique, randomly generated, variable name.GraphPattern.getContextVar()
protected Var
TupleExprBuilder.mapValueExprToVar
(Object valueExpr) Maps the given valueExpr to a Var.TupleExprBuilder.visit
(org.eclipse.rdf4j.query.parser.sparql.ast.ASTBlankNodePropertyList node, Object data) Modifier and TypeMethodDescriptionvoid
GraphPattern.addRequiredSP
(Var subjVar, Var predVar, Var objVar) void
void
GraphPattern.setContextVar
(Var contextVar) -
Uses of Var in org.eclipse.rdf4j.queryrender.sparql
-
Uses of Var in org.eclipse.rdf4j.sail.elasticsearch
Modifier and TypeMethodDescriptionprotected 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, String wkt, Var contextVar) -
Uses of Var in org.eclipse.rdf4j.sail.lucene
Modifier and TypeMethodDescriptionDistanceQuerySpec.getContextVar()
GeoRelationQuerySpec.getContextVar()
Modifier and TypeMethodDescriptionprotected abstract Iterable
<? extends DocumentDistance> AbstractSearchIndex.geoQuery
(IRI geoProperty, org.locationtech.spatial4j.shape.Point p, IRI units, double distance, String distanceVar, Var context) protected abstract Iterable
<? extends DocumentResult> AbstractSearchIndex.geoRelationQuery
(String relation, IRI geoProperty, String wkt, Var context) -
Uses of Var in org.eclipse.rdf4j.sail.lucene.impl
Modifier and TypeMethodDescriptionprotected Iterable
<? extends DocumentDistance> LuceneIndex.geoQuery
(IRI geoProperty, org.locationtech.spatial4j.shape.Point p, IRI units, double distance, String distanceVar, Var contextVar) protected Iterable
<? extends DocumentResult> LuceneIndex.geoRelationQuery
(String relation, IRI geoProperty, String wkt, Var contextVar) -
Uses of Var in org.eclipse.rdf4j.sail.solr
Modifier and TypeMethodDescriptionprotected 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, String wkt, Var contextVar)