Class PhysicalOpNaiveNestedLoopsJoin.Factory

java.lang.Object
se.liu.ida.hefquin.engine.queryplan.physical.impl.PhysicalOpNaiveNestedLoopsJoin.Factory
All Implemented Interfaces:
PhysicalOpFactory
Enclosing class:
PhysicalOpNaiveNestedLoopsJoin

public static class PhysicalOpNaiveNestedLoopsJoin.Factory extends Object implements PhysicalOpFactory
  • Constructor Details

    • Factory

      public Factory()
  • Method Details

    • supports

      public boolean supports(LogicalOperator lop, ExpectedVariables... inputVars)
      Description copied from interface: PhysicalOpFactory
      Returns true if this factory can create a physical operator for the given logical operator and expected input variables.
      Specified by:
      supports in interface PhysicalOpFactory
      Parameters:
      lop - the logical operator to check
      inputVars - expected input variables
      Returns:
      true if this factory can handle the inputs; false otherwise
    • create

      Description copied from interface: PhysicalOpFactory
      Creates a physical operator for the given logical operator.

      Precondition: call only if

      invalid @link
      {@link #supports(...)
      } has returned true for the same logical operator and input variables.
      Specified by:
      create in interface PhysicalOpFactory
      Parameters:
      lop - the logical operator
      Returns:
      a physical operator