Uses of Class
org.eclipse.rdf4j.query.algebra.Var
Package
Description
Abstract Query Algebra model.
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.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()
StatementPattern.getPredicateVar()
TripleRef.getPredicateVar()
ValueExprTripleRef.getPredicateVar()
Projection.getProjectionContext()
Service.getServiceRef()
ArbitraryLengthPath.getSubjectVar()
StatementPattern.getSubjectVar()
TripleRef.getSubjectVar()
ValueExprTripleRef.getSubjectVar()
ZeroLengthPath.getSubjectVar()
Modifier and TypeMethodDescriptionTupleFunctionCall.getResultVars()
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
StatementPattern.setContextVar
(Var context) void
ZeroLengthPath.setContextVar
(Var context) void
TripleRef.setExprVar
(Var context) void
ArbitraryLengthPath.setObjectVar
(Var object) void
StatementPattern.setObjectVar
(Var object) void
TripleRef.setObjectVar
(Var object) void
ZeroLengthPath.setObjectVar
(Var object) void
StatementPattern.setPredicateVar
(Var predicate) void
TripleRef.setPredicateVar
(Var predicate) void
Projection.setProjectionContext
(Var projectionContext) void
Service.setServiceRef
(Var serviceRef) void
ArbitraryLengthPath.setSubjectVar
(Var subject) void
StatementPattern.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 TypeMethodDescriptionQueryJoinOptimizer.JoinVisitor.getVarFreqMap
(List<Var> varList, M varFreqMap) Deprecated.Modifier and TypeMethodDescriptionQueryJoinOptimizer.JoinVisitor.getConstantVars
(Iterable<Var> vars) Deprecated.QueryJoinOptimizer.JoinVisitor.getStatementPatternVars
(TupleExpr tupleExpr) Deprecated.QueryJoinOptimizer.JoinVisitor.getUnboundVars
(Iterable<Var> vars) Deprecated.Modifier and TypeMethodDescriptionStrictEvaluationStrategy.evaluate
(Var var, BindingSet bindings) Deprecated, for removal: This API element is subject to removal in a future version.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) static Value
StrictEvaluationStrategy.getVarValue
(Var var, BindingSet bindings) void
void
void
void
void
protected QueryValueEvaluationStep
StrictEvaluationStrategy.prepare
(Var var, QueryEvaluationContext context) Modifier and TypeMethodDescriptionprotected int
EvaluationStatistics.CardinalityCalculator.countConstantVars
(Iterable<Var> vars) TupleFunctionEvaluationStrategy.evaluate
(TupleFunction func, List<Var> resultVars, BindingSet bindings, ValueFactory valueFactory, Value... argValues) protected double
EvaluationStatistics.CardinalityCalculator.getCardinality
(double varCardinality, Collection<Var> vars) 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.QueryJoinOptimizer.JoinVisitor.getUnboundVars
(Iterable<Var> vars) Deprecated.QueryJoinOptimizer.JoinVisitor.getVarFreqMap
(List<Var> varList, M varFreqMap) Deprecated. -
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.iterator
Modifier and TypeMethodDescriptionPathIteration.createAnonVar
(String varName) ZeroLengthPathIteration.createAnonVar
(String varName) 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.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.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)