Uses of Class
org.apache.jena.sparql.core.Var
Package
Description
ARQ - A query engine for Jena, implementing SPARQL.
-
Uses of Var in org.apache.jena.http.sys
Modifier and TypeMethodDescriptionExecHTTPBuilder.substitution
(Var var, org.apache.jena.graph.Node value) ExecUpdateHTTPBuilder.substitution
(Var var, org.apache.jena.graph.Node value) -
Uses of Var in org.apache.jena.query
Modifier and TypeMethodDescriptionQueryExecutionDatasetBuilder.bindingToMap
(Binding binding) Binding as a MapQuery.getProjectVars()
Return a list of the variables requested (SELECT)Query.getValuesVariables()
Variables from a VALUES trailing blockModifier and TypeMethodDescriptionvoid
Query.setValuesDataBlock
(List<Var> variables, List<Binding> values) -
Uses of Var in org.apache.jena.riot.protobuf
ModifierConstructorDescriptionBinding2Protobuf
(OutputStream out, Collection<Var> vars, boolean encodeValues) -
Uses of Var in org.apache.jena.riot.rowset
-
Uses of Var in org.apache.jena.riot.rowset.rw.rs_json
Modifier and TypeMethodDescriptionRowSetBuffered.getResultVars()
Reads and buffers bindings until the delegate's header no longer returns nullRowSetJSONStreaming.getResultVars()
-
Uses of Var in org.apache.jena.riot.thrift
ModifierConstructorDescriptionBinding2Thrift
(OutputStream out, Collection<Var> vars, boolean encodeValues) Binding2Thrift
(org.apache.thrift.protocol.TProtocol out, Collection<Var> vars, boolean encodeValues) -
Uses of Var in org.apache.jena.sparql.algebra
Modifier and TypeMethodDescriptionThe set of variables that will be in every solution of this OpTable.getVars()
static Collection<Var>
OpVars.mentionedVars
(Op op) OpVars.mentionedVarsByPosition
(Op op) OpVars.mentionedVarsByPosition
(Op... ops) OpVars.visibleVars
(Op op) -
Uses of Var in org.apache.jena.sparql.algebra.op
-
Uses of Var in org.apache.jena.sparql.algebra.optimize
Modifier and TypeMethodDescriptionvoid
VariableUsageTracker.decrement
(Collection<Var> vars) void
VariableUsageTracker.increment
(Collection<Var> vars) ModifierConstructorDescriptionTransformRemoveAssignment
(Var var, Expr expr) TransformRemoveAssignment
(Var var, Expr expr, boolean topmostOnly) -
Uses of Var in org.apache.jena.sparql.algebra.table
-
Uses of Var in org.apache.jena.sparql.algebra.walker
-
Uses of Var in org.apache.jena.sparql.core
Modifier and TypeMethodDescriptionstatic Var
static Var
Var.alloc
(org.apache.jena.graph.Node v) static Var
Var.alloc
(org.apache.jena.graph.Node_Variable v) static Var
static Var
VarAlloc.allocVar()
Modifier and TypeMethodDescriptionVarExprList.getExprs()
VarExprList.getVars()
Var.varList
(Collection<String> varNames) Convert a collection of variable names to variablesModifier and TypeMethodDescriptionvoid
void
static Var
boolean
org.apache.jena.graph.Node
VarExprList.get
(Var var, Binding binding, FunctionEnv funcEnv) boolean
static boolean
static org.apache.jena.graph.Node
Return the value of the access function or var itself.static org.apache.jena.graph.Node
Return the value in the binding or the variable itself.void
static Op
Substitute.substitute
(Op op, Var var, org.apache.jena.graph.Node node) Modifier and TypeMethodDescriptionstatic void
Vars.addVar
(Collection<Var> acc, org.apache.jena.graph.Node n) static void
Vars.addVarsFromQuad
(Collection<Var> acc, Quad q) static void
Vars.addVarsFromTriple
(Collection<Var> acc, org.apache.jena.graph.Triple t) void
VarExprList.forEachExpr
(BiConsumer<Var, Expr> action) Call the action for each (variable, expression) defined.void
VarExprList.forEachVar
(Consumer<Var> action) Call the action for each variable, in order.void
VarExprList.forEachVarExpr
(BiConsumer<Var, Expr> action) Call the action for each variable, in order.static org.apache.jena.graph.Node
Return the value of the access function or node itself.static org.apache.jena.graph.Node
Return the value of the access function or var itself.Var.varNames
(Collection<Var> vars) Return a list of String names from a collection of variables -
Uses of Var in org.apache.jena.sparql.engine
Modifier and TypeMethodDescriptionstatic Var
Rename.chooseVarName
(Var var, Collection<Var> inUse, String prefix) Given an old name, and some names already in use, pick a fresh, new nameModifier and TypeMethodDescriptionstatic Var
Rename.chooseVarName
(Var var, Collection<Var> inUse, String prefix) Given an old name, and some names already in use, pick a fresh, new namestatic Op
Rename one variable to anotherModifier and TypeMethodDescriptionstatic Var
Rename.chooseVarName
(Var var, Collection<Var> inUse, String prefix) Given an old name, and some names already in use, pick a fresh, new namestatic ResultSet
Create aResultSet
from a List<Var> and an Iterator<Binding>.static Op
Rename.renameVars
(Op op, Collection<Var> constants) Rename all variables in a pattern, EXCEPT for those named as constantstatic ExprList
Rename.renameVars
(ExprList exprList, Set<Var> constants) Rename all variables in an expression, EXCEPT for those named as constantstatic Expr
Rename.renameVars
(Expr expr, Set<Var> constants) -
Uses of Var in org.apache.jena.sparql.engine.binding
Modifier and TypeMethodDescriptionBindingLib.bindingToMap
(Binding binding) Convert Binding to a MapBindingOutputStream.getVars()
Binding.vars()
Iterate over all variables of this binding.BindingBase.vars()
BindingInputStream.vars()
BindingBuilder.vars1()
Variables in the builder - does not include the parent.Binding.varsMentioned()
Collect all variables of this binding.BindingBase.varsMentioned()
Modifier and TypeMethodDescriptionstatic Binding
Create a binding of one pairstatic Binding
BindingFactory.binding
(Var var1, org.apache.jena.graph.Node node1, Var var2, org.apache.jena.graph.Node node2) Create a binding of two pairsstatic Binding
BindingFactory.binding
(Var var1, org.apache.jena.graph.Node node1, Var var2, org.apache.jena.graph.Node node2, Var var3, org.apache.jena.graph.Node node3) Create a binding of three pairsstatic Binding
BindingFactory.binding
(Var var1, org.apache.jena.graph.Node node1, Var var2, org.apache.jena.graph.Node node2, Var var3, org.apache.jena.graph.Node node3, Var var4, org.apache.jena.graph.Node node4) Create a binding of fours pairsstatic Binding
Create a binding of one (var, value) pairstatic Binding
BindingFactory.binding
(Binding parent, Var var1, org.apache.jena.graph.Node node1, Var var2, org.apache.jena.graph.Node node2) Create a binding of two (var, value) pairsstatic Binding
BindingFactory.binding
(Binding parent, Var var1, org.apache.jena.graph.Node node1, Var var2, org.apache.jena.graph.Node node2, Var var3, org.apache.jena.graph.Node node3) Create a binding of three (var, value) pairsstatic Binding
BindingFactory.binding
(Binding parent, Var var1, org.apache.jena.graph.Node node1, Var var2, org.apache.jena.graph.Node node2, Var var3, org.apache.jena.graph.Node node3, Var var4, org.apache.jena.graph.Node node4) Create a binding of four (var, value) pairsboolean
Test whether a variable is bound to some objectfinal boolean
Test whether a name is bound to some objectboolean
org.apache.jena.graph.Node
Return the object bound to a variable, or nullfinal org.apache.jena.graph.Node
Return the object bound to a name, or nullorg.apache.jena.graph.Node
org.apache.jena.graph.Node
Get or return the variable.Accumulate (var,value) pairs.Modifier and TypeMethodDescriptionvoid
Binding.forEach
(BiConsumer<Var, org.apache.jena.graph.Node> action) Operate on each entry.void
BindingBase.forEach
(BiConsumer<Var, org.apache.jena.graph.Node> action) Operate on each entry.void
ModifierConstructorDescriptionBindingOutputStream
(OutputStream out, List<Var> vars) BindingOutputStream
(OutputStream out, List<Var> vars, PrefixMap prefixMapping) BindingProject
(Collection<Var> vars, Binding bind) -
Uses of Var in org.apache.jena.sparql.engine.index
Modifier and TypeMethodDescriptionstatic IndexTable
IndexFactory.createIndex
(Set<Var> commonVars, QueryIterator data) ModifierConstructorDescriptionHashIndexTable
(Set<Var> commonVars, QueryIterator data) LinearIndex
(Set<Var> commonVars, QueryIterator data) LinearIndex
(Set<Var> commonVars, QueryIterator data, Set<org.apache.jena.sparql.engine.index.HashIndexTable.Key> loadedData, Map<Var, Integer> mappings) LinearIndex
(Set<Var> commonVars, QueryIterator data, Set<org.apache.jena.sparql.engine.index.HashIndexTable.Key> loadedData, Map<Var, Integer> mappings) SetIndexTable
(Set<Var> commonVars, QueryIterator data) Creates a new index table -
Uses of Var in org.apache.jena.sparql.engine.iterator
Modifier and TypeMethodDescriptionstatic QueryIterSingleton
QueryIterSingleton.create
(Binding parent, Var var, org.apache.jena.graph.Node value, ExecutionContext execCxt) Modifier and TypeMethodDescriptionstatic QueryIterator
QueryIterMinus.create
(QueryIterator left, QueryIterator right, Set<Var> commonVars, ExecutionContext qCxt) static QueryIterator
QueryIterProject.create
(QueryIterator input, List<Var> vars, ExecutionContext qCxt) static QueryIterator
QueryIter.map
(QueryIterator qIter, Map<Var, Var> varMapping) static QueryIterator
QueryIter.map
(QueryIterator qIter, Map<Var, Var> varMapping) ModifierConstructorDescriptionQueryIterAddTripleTerm
(QueryIterator chain, Var var, org.apache.jena.graph.Triple triple, ExecutionContext execContext) QueryIterAssign
(QueryIterator input, Var var, Expr expr, ExecutionContext qCxt) QueryIterAssignVarValue
(QueryIterator input, Var var, org.apache.jena.graph.Node node, ExecutionContext qCxt) QueryIterAssignVarValue
(QueryIterator input, Var var, org.apache.jena.graph.Node node, ExecutionContext qCxt, boolean mustBeNewVar) QueryIterExtendByVar
(Binding binding, Var var, Iterator<org.apache.jena.graph.Node> members, ExecutionContext execCxt) QueryIterUnfold
(QueryIterator qIter, Expr expr, Var var1, Var var2, ExecutionContext execCxt) ModifierConstructorDescriptionQueryIteratorMapped
(QueryIterator qIter, Map<Var, Var> varMapping) Creates a new iteratorQueryIteratorMapped
(QueryIterator qIter, Map<Var, Var> varMapping) Creates a new iteratorTransformInject
(Set<Var> injectVars, Function<Var, org.apache.jena.graph.Node> replacement) TransformInject
(Set<Var> injectVars, Function<Var, org.apache.jena.graph.Node> replacement) -
Uses of Var in org.apache.jena.sparql.engine.join
Modifier and TypeMethodDescriptionJoinKey.Builder.addAll
(Collection<Var> vars) static JoinKey
JoinKey.create
(Collection<Var> vars) static JoinKey
JoinKey.create
(Collection<Var> vars1, Collection<Var> vars2) Make a JoinKey from the intersection of two setsstatic JoinKey
Create a JoinKey directly from a Set.static JoinKey
JoinKey.createVarKey
(Collection<Var> vars1, Collection<Var> vars2) Deprecated.static BitSet
Create a bit set from the binding's key set. -
Uses of Var in org.apache.jena.sparql.engine.main
Modifier and TypeMethodDescriptionVarFinder.assignMention
(Op op) VarFinder.getAssign()
VarFinder.getFilter()
VarFinder.getFilterOnly()
VarFinder.getFixed()
VarFinder.getOpt()
LeftJoinClassifier.nonLinearVars
(OpLeftJoin op) VarFinder.optDefined
(Op op) -
Uses of Var in org.apache.jena.sparql.engine.ref
Modifier and TypeMethodDescription -
Uses of Var in org.apache.jena.sparql.exec
Modifier and TypeMethodDescriptionRowSet.getResultVars()
RowSetMem.getResultVars()
Get the variable names for the projectionRowSetStream.getResultVars()
Modifier and TypeMethodDescriptionQueryExecBuilder.substitution
(Var var, org.apache.jena.graph.Node value) Provide a (Var, Node) for substitution in the query when QueryExec is built.QueryExecBuilderAdapter.substitution
(Var var, org.apache.jena.graph.Node value) QueryExecDatasetBuilder.substitution
(Var var, org.apache.jena.graph.Node value) UpdateExecBuilder.substitution
(Var var, org.apache.jena.graph.Node value) Provide a (Var, Node) for substitution in the query when QueryExec is built.UpdateExecBuilderAdapter.substitution
(Var var, org.apache.jena.graph.Node value) UpdateExecDatasetBuilder.substitution
(Var var, org.apache.jena.graph.Node value) -
Uses of Var in org.apache.jena.sparql.expr
Modifier and TypeMethodDescriptionExpr.asVar()
Convert to a Var variable.ExprAggregator.asVar()
ExprNode.asVar()
ExprVar.asVar()
ExprAggregator.getVar()
Modifier and TypeMethodDescriptionExprVars.getNonOpVarsMentioned
(Expr expr) ExprVars.getNonOpVarsMentioned
(ExprList exprs) Expr.getVarsMentioned()
Variables used by this expression.ExprList.getVarsMentioned()
ExprNode.getVarsMentioned()
ExprVars.getVarsMentioned
(Collection<SortCondition> sortConditions) ExprVars.getVarsMentioned
(SortCondition sortCondition) ExprVars.getVarsMentioned
(Expr expr) ExprVars.getVarsMentioned
(ExprList exprs) Modifier and TypeMethodDescriptionvoid
Modifier and TypeMethodDescriptionstatic void
ExprVars.nonOpVarsMentioned
(Collection<Var> acc, Expr expr) static void
ExprVars.nonOpVarsMentioned
(Collection<Var> acc, ExprList exprs) static void
ExprVars.varsMentioned
(Collection<Var> acc, Collection<SortCondition> sortConditions) static void
ExprVars.varsMentioned
(Collection<Var> acc, SortCondition sortCondition) static void
ExprVars.varsMentioned
(Collection<Var> acc, Expr expr) static void
ExprVars.varsMentioned
(Collection<Var> acc, ExprList exprs) ModifierConstructorDescriptionExprAggregator
(Var v, Aggregator agg) ExprTransformSubstitute
(Var find, Expr replace) Creates a simple transform that replaces any occurrence of the given variable with the given expression -
Uses of Var in org.apache.jena.sparql.function.user
Modifier and TypeMethodDescriptionUserDefinedFunctionDefinition.getArgList()
Gets the argument listModifier and TypeMethodDescriptionvoid
Adds a functionvoid
Adds a functionModifierConstructorDescriptionUserDefinedFunction
(String url, Expr e, List<Var> argList) Creates a user defined functionUserDefinedFunctionDefinition
(String uri, Expr e, List<Var> argList) Creates a user defined function definition -
Uses of Var in org.apache.jena.sparql.graph
Modifier and TypeMethodDescriptionNodeTransformLib.transformVars
(NodeTransform nodeTransform, List<Var> varList) Modifier and TypeMethodDescriptionNodeTransformLib.transformVars
(NodeTransform nodeTransform, List<Var> varList) -
Uses of Var in org.apache.jena.sparql.lang.arq
-
Uses of Var in org.apache.jena.sparql.lang.sparql_10
-
Uses of Var in org.apache.jena.sparql.lang.sparql_11
-
Uses of Var in org.apache.jena.sparql.lang.sparql_12
-
Uses of Var in org.apache.jena.sparql.pfunction
Modifier and TypeMethodDescriptionstatic void
PropFuncArg.addVars
(Collection<Var> acc, PropFuncArg pfArg) -
Uses of Var in org.apache.jena.sparql.serializer
Modifier and TypeMethodDescriptionstatic void
QuerySerializer.outputDataBlock
(org.apache.jena.atlas.io.IndentedWriter out, List<Var> variables, List<Binding> values, SerializationContext cxt) -
Uses of Var in org.apache.jena.sparql.sse.builders
-
Uses of Var in org.apache.jena.sparql.sse.writers
Modifier and TypeMethodDescriptionstatic void
WriterNode.outputVars
(org.apache.jena.atlas.io.IndentedWriter out, List<Var> vars, SerializationContext sContext) -
Uses of Var in org.apache.jena.sparql.syntax
Modifier and TypeMethodDescriptionElementAssign.getVar()
ElementBind.getVar()
ElementUnfold.getVar1()
ElementUnfold.getVar2()
Modifier and TypeMethodDescriptionElementData.getVars()
static Collection<Var>
PatternVars.vars
(Collection<Var> s, Element element) static Collection<Var>
Modifier and TypeMethodDescriptionstatic Collection<Var>
PatternVars.vars
(Collection<Var> s, Element element) ModifierConstructorDescriptionElementAssign
(Var v, Expr expr) ElementBind
(Var v, Expr expr) ElementUnfold
(Expr expr, Var v1, Var v2) -
Uses of Var in org.apache.jena.sparql.syntax.syntaxtransform
Modifier and TypeMethodDescriptionstatic Var
TransformElementLib.applyVar
(Var v, ExprTransform exprTransform) Modifier and TypeMethodDescriptionModifier and TypeMethodDescriptionstatic Var
TransformElementLib.applyVar
(Var v, ExprTransform exprTransform) ElementTransform.transform
(ElementAssign el, Var v, Expr expr2) ElementTransform.transform
(ElementBind el, Var v, Expr expr2) ElementTransform.transform
(ElementUnfold el, Expr expr, Var v1, Var v2) ElementTransformCopyBase.transform
(ElementAssign el, Var v, Expr expr2) ElementTransformCopyBase.transform
(ElementBind el, Var v, Expr expr2) ElementTransformCopyBase.transform
(ElementUnfold el, Expr expr, Var v1, Var v2) ElementTransformIdentity.transform
(ElementAssign el, Var v, Expr expr2) ElementTransformIdentity.transform
(ElementBind el, Var v, Expr expr2) ElementTransformIdentity.transform
(ElementUnfold el, Expr expr, Var v1, Var v2) Modifier and TypeMethodDescriptionstatic Query
QueryTransformOps.transform
(Query query, Map<Var, ? extends org.apache.jena.graph.Node> substitutions) Transform a query based on a mapping fromVar
variable to replacementNode
.static UpdateRequest
UpdateTransformOps.transform
(UpdateRequest update, Map<Var, org.apache.jena.graph.Node> substitutions) static Update
ModifierConstructorDescriptionElementTransformSubst
(Map<Var, ? extends org.apache.jena.graph.Node> mapping) NodeTransformSubst
(Map<Var, ? extends org.apache.jena.graph.Node> map) -
Uses of Var in org.apache.jena.sparql.util
Modifier and TypeMethodDescriptionstatic QueryIterator
IterLib.oneResult
(Binding parent, Var var, org.apache.jena.graph.Node value, ExecutionContext execCxt) Modifier and TypeMethodDescriptionstatic void
VarUtils.addVar
(Collection<Var> acc, org.apache.jena.graph.Node n) static void
VarUtils.addVarNodes
(Collection<Var> acc, Collection<org.apache.jena.graph.Node> nodes) static void
VarUtils.addVars
(Collection<Var> acc, org.apache.jena.graph.Node graphNode, BasicPattern triples) static void
VarUtils.addVars
(Collection<Var> acc, BasicPattern pattern) static void
VarUtils.addVars
(Collection<Var> acc, QuadPattern quadPattern) static void
VarUtils.addVars
(Collection<Var> acc, PropFuncArg arg) static void
VarUtils.addVarsFromQuad
(Collection<Var> acc, Quad quad) static void
VarUtils.addVarsFromTriple
(Collection<Var> acc, org.apache.jena.graph.Triple triple) static void
VarUtils.addVarsFromTriplePath
(Collection<Var> acc, TriplePath tpath) static void
VarUtils.addVarsTriples
(Collection<Var> acc, Collection<org.apache.jena.graph.Triple> triples)