Uses of Class
org.eclipse.rdf4j.query.algebra.Var
-
Packages that use Var 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.impl.evaluationsteps org.eclipse.rdf4j.query.algebra.evaluation.impl.evaluationsteps.values org.eclipse.rdf4j.query.algebra.evaluation.iterator Implementations ofIteration
relevant to query evaluation.org.eclipse.rdf4j.query.algebra.helpers org.eclipse.rdf4j.query.algebra.helpers.collectors org.eclipse.rdf4j.query.parser.sparql The rdf4j SPARQL 1.1 parser.org.eclipse.rdf4j.queryrender.sparql org.eclipse.rdf4j.sail.elasticsearch ElasticSearch index for theLuceneSail
.org.eclipse.rdf4j.sail.lucene A Sail implementation that supports full-text indexing via the Lucene API.org.eclipse.rdf4j.sail.lucene.impl org.eclipse.rdf4j.sail.solr -
-
Uses of Var in org.eclipse.rdf4j.federated.optimizer
Methods in org.eclipse.rdf4j.federated.optimizer with parameters of type Var Modifier and Type Method Description void
FilterOptimizer.VarFinder. meet(Var var)
-
Uses of Var in org.eclipse.rdf4j.federated.util
Methods in org.eclipse.rdf4j.federated.util that return Var Modifier and Type Method 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.Methods in org.eclipse.rdf4j.federated.util with parameters of type Var Modifier and Type Method Description protected 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
QueryStringUtil. toString(Var var)
-
Uses of Var in org.eclipse.rdf4j.query.algebra
Fields in org.eclipse.rdf4j.query.algebra declared as Var Modifier and Type Field Description protected Var
Bound. arg
The operator's argument.Methods in org.eclipse.rdf4j.query.algebra with type parameters of type Var Modifier and Type Method Description <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.Methods in org.eclipse.rdf4j.query.algebra that return Var Modifier and Type Method Description Var
Var. clone()
Var
Bound. getArg()
Gets the argument of this unary value operator.Var
ArbitraryLengthPath. getContextVar()
Returns the context variable, if available.Var
StatementPattern. getContextVar()
Returns the context variable, if available.Var
ZeroLengthPath. getContextVar()
Returns the context variable, if available.Var
TripleRef. getExprVar()
Returns the context variable, if available.Var
ArbitraryLengthPath. getObjectVar()
Var
StatementPattern. getObjectVar()
Var
TripleRef. getObjectVar()
Var
ValueExprTripleRef. getObjectVar()
Var
ZeroLengthPath. getObjectVar()
Var
StatementPattern. getPredicateVar()
Var
TripleRef. getPredicateVar()
Var
ValueExprTripleRef. getPredicateVar()
Var
Projection. getProjectionContext()
Var
Service. getServiceRef()
Var
ArbitraryLengthPath. getSubjectVar()
Var
StatementPattern. getSubjectVar()
Var
TripleRef. getSubjectVar()
Var
ValueExprTripleRef. getSubjectVar()
Var
ZeroLengthPath. getSubjectVar()
Methods in org.eclipse.rdf4j.query.algebra that return types with arguments of type Var Modifier and Type Method Description List<Var>
TupleFunctionCall. getResultVars()
List<Var>
StatementPattern. getVarList()
List<Var>
TripleRef. getVarList()
List<Var>
ZeroLengthPath. getVarList()
Methods in org.eclipse.rdf4j.query.algebra with parameters of type Var Modifier and Type Method 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
ArbitraryLengthPath. setContextVar(Var context)
void
StatementPattern. setContextVar(Var context)
Deprecated, for removal: This API element is subject to removal in a future version.void
ZeroLengthPath. setContextVar(Var context)
void
TripleRef. setExprVar(Var context)
void
ArbitraryLengthPath. setObjectVar(Var object)
void
StatementPattern. setObjectVar(Var object)
Deprecated, for removal: This API element is subject to removal in a future version.void
TripleRef. setObjectVar(Var object)
void
ZeroLengthPath. setObjectVar(Var object)
void
StatementPattern. setPredicateVar(Var predicate)
Deprecated, for removal: This API element is subject to removal in a future version.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)
Deprecated, for removal: This API element is subject to removal in a future version.void
TripleRef. setSubjectVar(Var subject)
void
ZeroLengthPath. setSubjectVar(Var subject)
Method parameters in org.eclipse.rdf4j.query.algebra with type arguments of type Var Modifier and Type Method Description void
TupleFunctionCall. addResultVars(Iterable<Var> resultVars)
void
TupleFunctionCall. setResultVars(Iterable<Var> resultVars)
Constructors in org.eclipse.rdf4j.query.algebra with parameters of type Var Constructor 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.TripleRef(Var subjectVar, Var predicateVar, Var objectVar, Var exprVar)
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
Methods in org.eclipse.rdf4j.query.algebra.evaluation.impl with type parameters of type Var Modifier and Type Method Description protected <M extends Map<Var,Integer>>
MQueryJoinOptimizer.JoinVisitor. getVarFreqMap(List<Var> varList, M varFreqMap)
Deprecated.Methods in org.eclipse.rdf4j.query.algebra.evaluation.impl that return types with arguments of type Var Modifier and Type Method 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.Methods in org.eclipse.rdf4j.query.algebra.evaluation.impl with parameters of type Var Modifier and Type Method Description Value
DefaultEvaluationStrategy. 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
DefaultEvaluationStrategy. getVarValue(Var var, BindingSet bindings)
void
BindingAssigner.VarVisitor. meet(Var var)
Deprecated, for removal: This API element is subject to removal in a future version.void
ConstantOptimizer.VarNameCollector. meet(Var var)
Deprecated, for removal: This API element is subject to removal in a future version.void
OrderLimitOptimizer.OrderOptimizer. meet(Var node)
Deprecated, for removal: This API element is subject to removal in a future version.void
SameTermFilterOptimizer.VarBinder. meet(Var var)
Deprecated, for removal: This API element is subject to removal in a future version.void
SameTermFilterOptimizer.VarRenamer. meet(Var var)
Deprecated, for removal: This API element is subject to removal in a future version.protected QueryValueEvaluationStep
DefaultEvaluationStrategy. prepare(Var var, QueryEvaluationContext context)
Method parameters in org.eclipse.rdf4j.query.algebra.evaluation.impl with type arguments of type Var Modifier and Type Method 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)
Deprecated, for removal: This API element is subject to removal in a future version.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 List<Var>
QueryJoinOptimizer.JoinVisitor. getUnboundVars(Iterable<Var> vars)
Deprecated.protected <M extends Map<Var,Integer>>
MQueryJoinOptimizer.JoinVisitor. getVarFreqMap(List<Var> varList, M varFreqMap)
Deprecated.Constructors in org.eclipse.rdf4j.query.algebra.evaluation.impl with parameters of type Var Constructor Description VarRenamer(Var oldVar, Var newVar)
Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Var in org.eclipse.rdf4j.query.algebra.evaluation.impl.evaluationsteps
Methods in org.eclipse.rdf4j.query.algebra.evaluation.impl.evaluationsteps with parameters of type Var Modifier and Type Method Description protected static Function<Value,Resource[]>
StatementPatternQueryEvaluationStep. 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)
Constructors in org.eclipse.rdf4j.query.algebra.evaluation.impl.evaluationsteps with parameters of type Var Constructor Description RdfStarQueryEvaluationStep(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
Methods in org.eclipse.rdf4j.query.algebra.evaluation.impl.evaluationsteps.values with parameters of type Var Modifier and Type Method Description static QueryValueEvaluationStep
QueryValueEvaluationStepSupplier. prepareVar(Var var, QueryEvaluationContext context)
-
Uses of Var in org.eclipse.rdf4j.query.algebra.evaluation.iterator
Methods in org.eclipse.rdf4j.query.algebra.evaluation.iterator that return Var Modifier and Type Method Description Var
PathIteration. createAnonVar(String varName)
Var
ZeroLengthPathIteration. createAnonVar(String varName)
Methods in org.eclipse.rdf4j.query.algebra.evaluation.iterator with parameters of type Var Modifier and Type Method Description protected boolean
PathIteration. isUnbound(Var var, BindingSet bindings)
Constructors in org.eclipse.rdf4j.query.algebra.evaluation.iterator with parameters of type Var Constructor Description PathIteration(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
Methods in org.eclipse.rdf4j.query.algebra.helpers that return Var Modifier and Type Method Description static Var
TupleExprs. createConstVar(Value value)
Creates an (anonymous) Var representing a constant value.Methods in org.eclipse.rdf4j.query.algebra.helpers with parameters of type Var Modifier and Type Method Description void
AbstractQueryModelVisitor. meet(Var node)
void
AbstractSimpleQueryModelVisitor. meet(Var node)
void
StatementPatternVisitor. meet(Var node)
void
VarNameCollector. meet(Var var)
Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Var in org.eclipse.rdf4j.query.algebra.helpers.collectors
Methods in org.eclipse.rdf4j.query.algebra.helpers.collectors with parameters of type Var Modifier and Type Method Description void
VarNameCollector. meet(Var var)
-
Uses of Var in org.eclipse.rdf4j.query.parser.sparql
Methods in org.eclipse.rdf4j.query.parser.sparql that return Var Modifier and Type Method Description protected Var
TupleExprBuilder. createAnonVar()
Creates an anonymous Var with a unique, randomly generated, variable name.Var
GraphPattern. getContextVar()
protected Var
TupleExprBuilder. mapValueExprToVar(Object valueExpr)
Maps the given valueExpr to a Var.Var
TupleExprBuilder. visit(org.eclipse.rdf4j.query.parser.sparql.ast.ASTBlankNodePropertyList node, Object data)
Var
TupleExprBuilder. visit(org.eclipse.rdf4j.query.parser.sparql.ast.ASTCollection node, Object data)
Var
TupleExprBuilder. visit(org.eclipse.rdf4j.query.parser.sparql.ast.ASTVar node, Object data)
Methods in org.eclipse.rdf4j.query.parser.sparql that return types with arguments of type Var Modifier and Type Method Description Set<Var>
TupleExprBuilder.VarCollector. getCollectedVars()
Methods in org.eclipse.rdf4j.query.parser.sparql with parameters of type Var Modifier and Type Method Description void
GraphPattern. addRequiredSP(Var subjVar, Var predVar, Var objVar)
void
TupleExprBuilder.VarCollector. meet(Var var)
void
GraphPattern. setContextVar(Var contextVar)
-
Uses of Var in org.eclipse.rdf4j.queryrender.sparql
Methods in org.eclipse.rdf4j.queryrender.sparql with parameters of type Var Modifier and Type Method Description void
SparqlTupleExprRenderer. meet(Var node)
-
Uses of Var in org.eclipse.rdf4j.sail.elasticsearch
Methods in org.eclipse.rdf4j.sail.elasticsearch with parameters of type Var Modifier and Type Method 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, String wkt, Var contextVar)
-
Uses of Var in org.eclipse.rdf4j.sail.lucene
Methods in org.eclipse.rdf4j.sail.lucene that return Var Modifier and Type Method Description Var
DistanceQuerySpec. getContextVar()
Var
GeoRelationQuerySpec. getContextVar()
Methods in org.eclipse.rdf4j.sail.lucene with parameters of type Var Modifier and Type Method Description protected 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)
Constructors in org.eclipse.rdf4j.sail.lucene with parameters of type Var Constructor Description DistanceQuerySpec(Literal from, IRI units, double dist, String distVar, IRI geoProperty, String geoVar, String subjectVar, Var contextVar)
-
Uses of Var in org.eclipse.rdf4j.sail.lucene.impl
Methods in org.eclipse.rdf4j.sail.lucene.impl with parameters of type Var Modifier and Type Method Description protected 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
Methods in org.eclipse.rdf4j.sail.solr with parameters of type Var Modifier and Type Method 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, String wkt, Var contextVar)
-