Package org.apache.jena.sparql.expr
Class ExprList
- java.lang.Object
-
- org.apache.jena.sparql.expr.ExprList
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Expr expr)
void
addAll(ExprList exprs)
ExprList
applyNodeTransform(NodeTransform transform)
Rewrite, applying a node->node transformationstatic ExprList
copy(ExprList other)
Create a copy which does not share the list of expressions with the originalExprList
copySubstitute(Binding binding)
static ExprList
create(java.util.Collection<Expr> exprs)
Create an ExprList that contains the expressionsboolean
equals(java.lang.Object other)
boolean
equals(ExprList other, boolean bySyntax)
Expr
get(int idx)
java.util.List<Expr>
getList()
java.util.List<Expr>
getListRaw()
Use only while building ExprListjava.util.Set<Var>
getVarsMentioned()
int
hashCode()
boolean
isEmpty()
boolean
isSatisfied(Binding binding, ExecutionContext execCxt)
java.util.Iterator<Expr>
iterator()
void
prepareExprs(Context context)
int
size()
static ExprList
splitConjunction(ExprList exprList1)
ExprList
subList(int fromIdx, int toIdx)
ExprList
tail(int fromIdx)
java.lang.String
toString()
-
-
-
Field Detail
-
emptyList
public static final ExprList emptyList
Empty, immutable ExprList
-
-
Method Detail
-
copy
public static ExprList copy(ExprList other)
Create a copy which does not share the list of expressions with the original
-
create
public static ExprList create(java.util.Collection<Expr> exprs)
Create an ExprList that contains the expressions
-
isSatisfied
public boolean isSatisfied(Binding binding, ExecutionContext execCxt)
-
get
public Expr get(int idx)
-
size
public int size()
-
isEmpty
public boolean isEmpty()
-
subList
public ExprList subList(int fromIdx, int toIdx)
-
tail
public ExprList tail(int fromIdx)
-
getVarsMentioned
public java.util.Set<Var> getVarsMentioned()
-
applyNodeTransform
public ExprList applyNodeTransform(NodeTransform transform)
Rewrite, applying a node->node transformation
-
addAll
public void addAll(ExprList exprs)
-
add
public void add(Expr expr)
-
getList
public java.util.List<Expr> getList()
-
getListRaw
public java.util.List<Expr> getListRaw()
Use only while building ExprList
-
iterator
public java.util.Iterator<Expr> iterator()
- Specified by:
iterator
in interfacejava.lang.Iterable<Expr>
-
prepareExprs
public void prepareExprs(Context context)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(ExprList other, boolean bySyntax)
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
-