Class LogicalOpProject

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

public class LogicalOpProject extends BaseForLogicalOps implements UnaryLogicalOp
  • Field Details

    • variables

      protected final Set<org.apache.jena.sparql.core.Var> variables
  • Constructor Details

    • LogicalOpProject

      public LogicalOpProject(List<org.apache.jena.sparql.core.Var> variables, boolean mayReduce)
    • LogicalOpProject

      public LogicalOpProject(Set<org.apache.jena.sparql.core.Var> variables, boolean mayReduce)
  • 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
    • getVariables

      public Set<org.apache.jena.sparql.core.Var> getVariables()
    • 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