Class ExprList

java.lang.Object
org.apache.jena.sparql.expr.ExprList
All Implemented Interfaces:
Iterable<Expr>
Direct Known Subclasses:
Args

public class ExprList extends Object implements Iterable<Expr>
  • Field Details

    • emptyList

      public static final ExprList emptyList
      Empty, immutable ExprList
  • Constructor Details

    • ExprList

      public ExprList()
    • ExprList

      public ExprList(Expr expr)
    • ExprList

      public ExprList(List<Expr> x)
  • Method Details

    • 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(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 Set<Var> getVarsMentioned()
    • applyNodeTransform

      public ExprList applyNodeTransform(NodeTransform transform)
      Rewrite, applying a node->node transformation
    • copySubstitute

      public ExprList copySubstitute(Binding binding)
    • addAll

      public void addAll(ExprList exprs)
    • add

      public void add(Expr expr)
    • getList

      public List<Expr> getList()
    • getListRaw

      public List<Expr> getListRaw()
      Use only while building ExprList
    • iterator

      public Iterator<Expr> iterator()
      Specified by:
      iterator in interface Iterable<Expr>
    • prepareExprs

      public void prepareExprs(Context context)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(ExprList other, boolean bySyntax)
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • splitConjunction

      public static ExprList splitConjunction(ExprList exprList1)