Class LogicalOpBind

java.lang.Object
se.liu.ida.hefquin.engine.queryplan.logical.impl.LogicalOpBind
All Implemented Interfaces:
QueryPlanOperator, LogicalOperator, UnaryLogicalOp

public class LogicalOpBind extends Object implements UnaryLogicalOp
  • Field Details

    • bindExpressions

      protected final org.apache.jena.sparql.core.VarExprList bindExpressions
  • Constructor Details

    • LogicalOpBind

      public LogicalOpBind(org.apache.jena.sparql.core.VarExprList bindExpressions)
  • Method Details

    • getExpectedVariables

      public ExpectedVariables getExpectedVariables(ExpectedVariables... inputVars)
      Description copied from interface: QueryPlanOperator
      Returns the variables that can be expected in the solution mappings produced by this operator in the case that the input(s) to this operator contain solutions mappings with the given set(s) of variables. The number of ExpectedVariables objects passed to this method must be in line with the degree of this operator (e.g., for a unary operator, exactly one such object must be passed).
      Specified by:
      getExpectedVariables in interface QueryPlanOperator
    • mightProduceError

      protected boolean mightProduceError(org.apache.jena.sparql.expr.Expr expr, Set<org.apache.jena.sparql.core.Var> certainVars)
      Returns true if it is not guaranteed that evaluating the given expression may result in an error.
    • getBindExpressions

      public org.apache.jena.sparql.core.VarExprList getBindExpressions()
    • visit

      public void visit(LogicalPlanVisitor visitor)
      Specified by:
      visit in interface LogicalOperator
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object