Modifier and Type | Method and Description |
---|---|
List<Var> |
Query.getProjectVars()
Return a list of the variables requested (SELECT)
|
List<Var> |
Query.getValuesVariables() |
Modifier and Type | Method and Description |
---|---|
void |
Query.addGroupBy(Var v,
Expr expr) |
Modifier and Type | Method and Description |
---|---|
void |
Query.setValuesDataBlock(List<Var> variables,
List<Binding> values) |
Constructor and Description |
---|
SortCondition(Var var,
int dir) |
Modifier and Type | Method and Description |
---|---|
List<Var> |
Table.getVars() |
static Collection<Var> |
OpVars.mentionedVars(Op op) |
static Tuple<Set<Var>> |
OpVars.mentionedVarsByPosition(Op... ops) |
static Tuple<Set<Var>> |
OpVars.mentionedVarsByPosition(Op op) |
static Set<Var> |
OpVars.patternVars(Op op)
Deprecated.
|
static Collection<Var> |
OpVars.vars(BasicPattern pattern) |
static Set<Var> |
OpVars.visibleVars(Op op) |
Modifier and Type | Method and Description |
---|---|
static Table |
TableFactory.create(Var var,
Node value) |
Modifier and Type | Method and Description |
---|---|
static Table |
TableFactory.create(List<Var> vars) |
static void |
OpVars.mentionedVars(Op op,
Set<Var> acc) |
static void |
OpVars.vars(BasicPattern pattern,
Collection<Var> acc) |
static void |
OpVars.visibleVars(Op op,
Set<Var> acc) |
Constructor and Description |
---|
OpAsQuery.SubExprForVar(Map<Var,Expr> varExpr) |
Modifier and Type | Method and Description |
---|---|
List<Var> |
OpProject.getVars() |
Modifier and Type | Method and Description |
---|---|
static Op |
OpAssign.assign(Op op,
Var var,
Expr expr) |
static Op |
OpExtend.extend(Op op,
Var var,
Expr expr) |
Constructor and Description |
---|
OpProject(Op subOp,
List<Var> vars) |
Modifier and Type | Method and Description |
---|---|
List<Var> |
Table1.getVars() |
List<Var> |
TableUnit.getVars() |
List<Var> |
TableEmpty.getVars() |
List<Var> |
TableN.getVars() |
Constructor and Description |
---|
Table1(Var var,
Node value) |
Constructor and Description |
---|
TableData(List<Var> variables,
List<Binding> rows) |
TableN(List<Var> vars) |
Modifier and Type | Field and Description |
---|---|
static Var |
Var.ANON |
Modifier and Type | Method and Description |
---|---|
static Var |
Var.alloc(ExprVar nv) |
static Var |
Var.alloc(Node_Variable v) |
static Var |
Var.alloc(Node v) |
static Var |
Var.alloc(String varName) |
static Var |
Var.alloc(Var v) |
Var |
VarAlloc.allocVar() |
Modifier and Type | Method and Description |
---|---|
Map<Var,Expr> |
VarExprList.getExprs() |
List<Var> |
VarExprList.getVars() |
static List<Var> |
Var.varList(Collection<String> varNames)
Convert a collection of variable names to variables
|
Modifier and Type | Method and Description |
---|---|
void |
VarExprList.add(Var var) |
void |
VarExprList.add(Var var,
Expr expr) |
static Var |
Var.alloc(Var v) |
boolean |
VarExprList.contains(Var var) |
Node |
VarExprList.get(Var var,
Binding binding,
FunctionEnv funcEnv) |
Expr |
VarExprList.getExpr(Var var) |
boolean |
VarExprList.hasExpr(Var var) |
static boolean |
Var.isAnonVar(Var var) |
static Node |
Var.lookup(Binding binding,
Var var) |
static Op |
Substitute.substitute(Op op,
Var var,
Node node) |
Modifier and Type | Method and Description |
---|---|
static void |
Vars.addVar(Collection<Var> acc,
Node n) |
static void |
Vars.addVarsFromQuad(Collection<Var> acc,
Quad q) |
static void |
Vars.addVarsFromTriple(Collection<Var> acc,
Triple t) |
static List<String> |
Var.varNames(Collection<Var> vars)
Return a list of String names from a collection of variables
|
Constructor and Description |
---|
VarExprList(Var var,
Expr expr) |
Constructor and Description |
---|
VarExprList(List<Var> vars) |
Modifier and Type | Method and Description |
---|---|
static Var |
Rename.chooseVarName(Var var,
Collection<Var> inUse,
String prefix)
Given an old name, and some names already in use, pick a fresh, new name
|
Modifier and Type | Method and Description |
---|---|
static Var |
Rename.chooseVarName(Var var,
Collection<Var> inUse,
String prefix)
Given an old name, and some names already in use, pick a fresh, new name
|
static Op |
Rename.renameVar(Op op,
Var oldName,
Var newName)
Rename one variable to another
|
Modifier and Type | Method and Description |
---|---|
static Var |
Rename.chooseVarName(Var var,
Collection<Var> inUse,
String prefix)
Given an old name, and some names already in use, pick a fresh, new name
|
static ExprList |
Rename.renameVars(ExprList exprList,
Set<Var> constants)
Rename all variables in an expression, EXCEPT for those named as constant
|
static Expr |
Rename.renameVars(Expr expr,
Set<Var> constants) |
static Op |
Rename.renameVars(Op op,
Collection<Var> constants)
Rename all variables in a pattern, EXCEPT for those named as constant
|
Modifier and Type | Method and Description |
---|---|
List<Var> |
BindingOutputStream.getVars() |
Iterator<Var> |
BindingBase.vars()
Iterate over all the names of variables.
|
Iterator<Var> |
BindingWrapped.vars() |
List<Var> |
BindingInputStream.vars() |
Iterator<Var> |
Binding.vars()
Iterate over all variables of this binding.
|
Iterator<Var> |
Binding0.vars1()
Iterate over all the names of variables.
|
Iterator<Var> |
BindingHashMap.vars1()
Iterate over all the names of variables.
|
Iterator<Var> |
Binding1.vars1()
Iterate over all the names of variables.
|
Modifier and Type | Method and Description |
---|---|
void |
BindingMutable.add(Var var,
Node node)
Add a (var, value) pair - the value must not be null
|
void |
BindingMap.add(Var var,
Node node)
Add a (var, value) pair - the value must not be null
|
void |
BindingHashMap.add(Var var,
Node node)
Add a (var,value) - the node value is never null
|
static Binding |
BindingFactory.binding(Binding parent,
Var var,
Node node)
Create a binding of one (var, value) pair
|
static Binding |
BindingFactory.binding(Var var,
Node node) |
boolean |
BindingBase.contains(Var var)
Test whether a name is bound to some object
|
boolean |
BindingWrapped.contains(Var var) |
boolean |
Binding.contains(Var var)
Test whether a variable is bound to some object
|
boolean |
Binding0.contains1(Var var) |
boolean |
BindingHashMap.contains1(Var var) |
boolean |
Binding1.contains1(Var n) |
Node |
BindingBase.get(Var var)
Return the object bound to a name, or null
|
Node |
BindingWrapped.get(Var var) |
Node |
Binding.get(Var var)
Return the object bound to a variable, or null
|
Node |
Binding0.get1(Var var) |
Node |
BindingHashMap.get1(Var var) |
Node |
Binding1.get1(Var v) |
Modifier and Type | Method and Description |
---|---|
void |
BindingOutputStream.setVars(List<Var> vars) |
Constructor and Description |
---|
BindingOutputStream(OutputStream out,
List<Var> vars) |
BindingOutputStream(OutputStream out,
List<Var> vars,
PrefixMap prefixMapping) |
BindingProject(Collection<Var> vars,
Binding bind) |
BindingProject(Collection<Var> vars,
Binding bind,
Binding parent) |
Modifier and Type | Method and Description |
---|---|
static IndexTable |
IndexFactory.createIndex(Set<Var> commonVars,
QueryIterator data) |
Constructor and Description |
---|
HashIndexTable(Set<Var> commonVars,
QueryIterator data) |
LinearIndex(Set<Var> commonVars,
QueryIterator data) |
LinearIndex(Set<Var> commonVars,
QueryIterator data,
Set<com.hp.hpl.jena.sparql.engine.index.HashIndexTable.Key> loadedData,
Map<Var,Integer> mappings) |
LinearIndex(Set<Var> commonVars,
QueryIterator data,
Set<com.hp.hpl.jena.sparql.engine.index.HashIndexTable.Key> loadedData,
Map<Var,Integer> mappings) |
Modifier and Type | Method and Description |
---|---|
List<Var> |
QueryIterProject.getProjectionVars() |
Modifier and Type | Method and Description |
---|---|
static QueryIterSingleton |
QueryIterSingleton.create(Binding parent,
Var var,
Node value,
ExecutionContext execCxt) |
Constructor and Description |
---|
QueryIterAssign(QueryIterator input,
Var var,
Expr expr,
ExecutionContext qCxt) |
QueryIterAssignVarValue(QueryIterator input,
Var var,
Node node,
ExecutionContext qCxt) |
QueryIterAssignVarValue(QueryIterator input,
Var var,
Node node,
ExecutionContext qCxt,
boolean mustBeNewVar) |
QueryIterExtendByVar(Binding binding,
Var var,
Iterator<Node> members,
ExecutionContext execCxt) |
Constructor and Description |
---|
QueryIterMinus(QueryIterator left,
QueryIterator right,
Set<Var> commonVars,
ExecutionContext qCxt) |
QueryIterProject(QueryIterator input,
List<Var> vars,
ExecutionContext qCxt) |
Modifier and Type | Method and Description |
---|---|
static Set<Var> |
VarFinder.filter(Op op) |
static Set<Var> |
VarFinder.fixed(Op op) |
Set<Var> |
VarFinder.getAssign() |
Set<Var> |
VarFinder.getFilter() |
Set<Var> |
VarFinder.getFixed() |
Set<Var> |
VarFinder.getOpt() |
static Set<Var> |
LeftJoinClassifier.nonLinearVars(OpLeftJoin op) |
static Set<Var> |
VarFinder.optDefined(Op op) |
Modifier and Type | Method and Description |
---|---|
Table |
EvaluatorSimple.project(Table table,
List<Var> projectVars) |
Table |
Evaluator.project(Table table,
List<Var> projectVars) |
Modifier and Type | Method and Description |
---|---|
Var |
ExprVar.asVar() |
Var |
ExprAggregator.asVar() |
Var |
Expr.asVar()
Convert to a Var variable.
|
Var |
ExprNode.asVar() |
Var |
ExprAggregator.getVar() |
Modifier and Type | Method and Description |
---|---|
Set<Var> |
Expr.getVarsMentioned()
Variables used by this expression - excludes variables scoped to (NOT)EXISTS
|
Set<Var> |
ExprNode.getVarsMentioned() |
Set<Var> |
ExprList.getVarsMentioned() |
static Set<Var> |
ExprVars.getVarsMentioned(Expr expr) |
static Set<Var> |
ExprVars.getVarsMentioned(ExprList exprs) |
Modifier and Type | Method and Description |
---|---|
Expr |
ExprVar.copy(Var v) |
Expr |
ExprAggregator.copy(Var v) |
void |
ExprAggregator.setVar(Var v) |
Modifier and Type | Method and Description |
---|---|
void |
Expr.varsMentioned(Collection<Var> acc)
Variables used by this expression - excludes variables scoped to (NOT)EXISTS
|
void |
ExprNode.varsMentioned(Collection<Var> acc) |
void |
ExprList.varsMentioned(Collection<Var> acc) |
static void |
ExprVars.varsMentioned(Collection<Var> acc,
Expr expr) |
Constructor and Description |
---|
ExprAggregator(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
|
ExprVar(Var v) |
Modifier and Type | Method and Description |
---|---|
List<Var> |
UserDefinedFunctionDefinition.getArgList()
Gets the argument list
|
Modifier and Type | Method and Description |
---|---|
void |
UserDefinedFunctionFactory.add(String uri,
Expr e,
List<Var> args)
Adds a function
|
void |
UserDefinedFunctionFactory.add(String uri,
String expr,
List<Var> args)
Adds a function
|
Constructor and Description |
---|
UserDefinedFunction(String url,
Expr e,
List<Var> argList)
Creates a user defined function
|
UserDefinedFunctionDefinition(String uri,
Expr e,
List<Var> argList)
Creates a user defined function definition
|
Modifier and Type | Method and Description |
---|---|
static List<Var> |
NodeTransformLib.transformVars(NodeTransform nodeTransform,
List<Var> varList) |
Modifier and Type | Method and Description |
---|---|
static List<Var> |
NodeTransformLib.transformVars(NodeTransform nodeTransform,
List<Var> varList) |
Modifier and Type | Method and Description |
---|---|
Var |
ARQParser.Var() |
Modifier and Type | Method and Description |
---|---|
Var |
SPARQLParser10.Var() |
Modifier and Type | Method and Description |
---|---|
Var |
SPARQLParser11.Var() |
Constructor and Description |
---|
CSVInputIterator(BufferedReader reader,
List<Var> vars)
Creates a new CSV Input Iterator
|
TSVInputIterator(BufferedReader reader,
List<Var> vars)
Creates a new TSV Input Iterator
|
Modifier and Type | Method and Description |
---|---|
static void |
QuerySerializer.outputDataBlock(IndentedWriter out,
List<Var> variables,
List<Binding> values,
Prologue prologue) |
Modifier and Type | Method and Description |
---|---|
static Var |
BuilderNode.buildVar(Item item) |
Modifier and Type | Method and Description |
---|---|
static List<Var> |
BuilderNode.buildVarList(Item item) |
static List<Var> |
BuilderNode.buildVarList(ItemList list) |
static List<Var> |
BuilderNode.buildVars(ItemList list) |
Modifier and Type | Method and Description |
---|---|
static void |
WriterNode.outputVars(IndentedWriter out,
List<Var> vars,
SerializationContext sContext) |
Modifier and Type | Field and Description |
---|---|
Collection<Var> |
PatternVarsVisitor.acc |
Modifier and Type | Method and Description |
---|---|
Var |
ElementAssign.getVar() |
Var |
ElementBind.getVar() |
Modifier and Type | Method and Description |
---|---|
List<Var> |
ElementData.getVars() |
static Collection<Var> |
PatternVars.vars(Collection<Var> s,
Element element) |
static Collection<Var> |
PatternVars.vars(Element element) |
Modifier and Type | Method and Description |
---|---|
void |
ElementData.add(Var var) |
Modifier and Type | Method and Description |
---|---|
static Collection<Var> |
PatternVars.vars(Collection<Var> s,
Element element) |
Constructor and Description |
---|
ElementAssign(Var v,
Expr expr) |
ElementBind(Var v,
Expr expr) |
Constructor and Description |
---|
PatternVarsVisitor(Collection<Var> s) |
Modifier and Type | Method and Description |
---|---|
static Set<Var> |
VarUtils.getVars(Triple triple) |
Modifier and Type | Method and Description |
---|---|
static QueryIterator |
IterLib.oneResult(Binding binding,
Var var,
Node value,
ExecutionContext execCxt) |
Modifier and Type | Method and Description |
---|---|
static void |
VarUtils.addVar(Collection<Var> acc,
Node n) |
static void |
VarUtils.addVars(Collection<Var> acc,
BasicPattern pattern) |
static void |
VarUtils.addVars(Collection<Var> acc,
Collection<Triple> triples) |
static void |
VarUtils.addVarsFromTriple(Collection<Var> acc,
Triple t) |
static void |
VarUtils.addVarsFromTriplePath(Collection<Var> acc,
TriplePath tpath) |
Licenced under the Apache License, Version 2.0