Class LogicalToPhysicalOpConverterImpl
- All Implemented Interfaces:
LogicalToPhysicalOpConverter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert(BinaryLogicalOp lop, ExpectedVariables inputVars1, ExpectedVariables inputVars2) Returns a physical operator that implements the given logical operator under the assumption that this operator will be used in a plan in which the two subplans under this operator will produce solution mappings with the given variables, respectively.convert(NaryLogicalOp lop, ExpectedVariables... inputVars) Returns a physical operator that implements the given logical operator under the assumption that this operator will be used in a plan in which the subplans under this operator will produce solution mappings with the given variables, respectively.convert(NullaryLogicalOp lop) Returns a physical operator that implements the given logical operator.convert(UnaryLogicalOp lop, ExpectedVariables inputVars) Returns a physical operator that implements the given logical operator under the assumption that this operator will be used in a plan in which the subplan under this operator will produce solution mappings with the given variables.getAllPossible(BinaryLogicalOp lop, ExpectedVariables inputVars1, ExpectedVariables inputVars2) Returns all physical operators that implement the given logical operator under the assumption that this operator will be used in a plan in which the two subplans under this operator will produce solution mappings with the given variables, respectively.getAllPossible(NaryLogicalOp lop, ExpectedVariables... inputVars) Returns all physical operators that implement the given logical operator under the assumption that this operator will be used in a plan in which the subplans under this operator will produce solution mappings with the given variables, respectively.Returns all physical operators that implement the given logical operator.getAllPossible(UnaryLogicalOp lop, ExpectedVariables inputVars) Returns all physical operators that implement the given logical operator under the assumption that this operator will be used in a plan in which the subplan under this operator will produce solution mappings with the given variables.
-
Constructor Details
-
LogicalToPhysicalOpConverterImpl
-
-
Method Details
-
convert
Description copied from interface:LogicalToPhysicalOpConverterReturns a physical operator that implements the given logical operator. If this converter knows of multiple types of physical operators that may be used for the given logical operator, then the default type is used. If this converter does not know of any type of physical operator that may be used for the given logical operator, then anUnsupportedOperationExceptionis thrown.- Specified by:
convertin interfaceLogicalToPhysicalOpConverter- Parameters:
lop- - the logical operator to be converted- Returns:
- a physical operator for the given logical operator
-
getAllPossible
Description copied from interface:LogicalToPhysicalOpConverterReturns all physical operators that implement the given logical operator.- Specified by:
getAllPossiblein interfaceLogicalToPhysicalOpConverter- Parameters:
lop- - the logical operator to be converted- Returns:
- a set of all possible physical operators for the given logical operator; the set may be empty
-
convert
Description copied from interface:LogicalToPhysicalOpConverterReturns a physical operator that implements the given logical operator under the assumption that this operator will be used in a plan in which the subplan under this operator will produce solution mappings with the given variables.If this converter knows of multiple types of physical operators that may be applied in this case, then the default type is used. If this converter does not know of any type of physical operator that may be applied in this case, then an
UnsupportedOperationExceptionis thrown.- Specified by:
convertin interfaceLogicalToPhysicalOpConverter- Parameters:
lop- - the logical operator to be convertedinputVars- - the variables that can be expected to be bound in solution mappings that the physical operator will have to process- Returns:
- a physical operator for the given logical operator
-
getAllPossible
Description copied from interface:LogicalToPhysicalOpConverterReturns all physical operators that implement the given logical operator under the assumption that this operator will be used in a plan in which the subplan under this operator will produce solution mappings with the given variables.- Specified by:
getAllPossiblein interfaceLogicalToPhysicalOpConverter- Parameters:
lop- - the logical operator to be convertedinputVars- - the variables that can be expected to be bound in solution mappings that the physical operator will have to process- Returns:
- a set of all possible physical operators for the given logical operator; the set may be empty
-
convert
public BinaryPhysicalOp convert(BinaryLogicalOp lop, ExpectedVariables inputVars1, ExpectedVariables inputVars2) Description copied from interface:LogicalToPhysicalOpConverterReturns a physical operator that implements the given logical operator under the assumption that this operator will be used in a plan in which the two subplans under this operator will produce solution mappings with the given variables, respectively.If this converter knows of multiple types of physical operators that may be applied in this case, then the default type is used. If this converter does not know of any type of physical operator that may be applied in this case, then an
UnsupportedOperationExceptionis thrown.- Specified by:
convertin interfaceLogicalToPhysicalOpConverter- Parameters:
lop- - the logical operator to be convertedinputVars1- - the variables that can be expected to be bound in solution mappings that the physical operator will have to process as its left inputinputVars2- - the variables that can be expected to be bound in solution mappings that the physical operator will have to process as its right input- Returns:
- a physical operator for the given logical operator
-
getAllPossible
public Set<BinaryPhysicalOp> getAllPossible(BinaryLogicalOp lop, ExpectedVariables inputVars1, ExpectedVariables inputVars2) Description copied from interface:LogicalToPhysicalOpConverterReturns all physical operators that implement the given logical operator under the assumption that this operator will be used in a plan in which the two subplans under this operator will produce solution mappings with the given variables, respectively.- Specified by:
getAllPossiblein interfaceLogicalToPhysicalOpConverter- Parameters:
lop- - the logical operator to be convertedinputVars1- - the variables that can be expected to be bound in solution mappings that the physical operator will have to process as its left inputinputVars2- - the variables that can be expected to be bound in solution mappings that the physical operator will have to process as its right input- Returns:
- a set of all possible physical operators for the given logical operator; the set may be empty
-
convert
Description copied from interface:LogicalToPhysicalOpConverterReturns a physical operator that implements the given logical operator under the assumption that this operator will be used in a plan in which the subplans under this operator will produce solution mappings with the given variables, respectively.If this converter knows of multiple types of physical operators that may be applied in this case, then the default type is used. If this converter does not know of any type of physical operator that may be applied in this case, then an
UnsupportedOperationExceptionis thrown.- Specified by:
convertin interfaceLogicalToPhysicalOpConverter- Parameters:
lop- - the logical operator to be convertedinputVars- - the variables that can be expected to be bound in solution mappings that the physical operator will have to process for each of its inputs- Returns:
- a physical operator for the given logical operator
-
getAllPossible
Description copied from interface:LogicalToPhysicalOpConverterReturns all physical operators that implement the given logical operator under the assumption that this operator will be used in a plan in which the subplans under this operator will produce solution mappings with the given variables, respectively.- Specified by:
getAllPossiblein interfaceLogicalToPhysicalOpConverter- Parameters:
lop- - the logical operator to be convertedinputVars- - the variables that can be expected to be bound in solution mappings that the physical operator will have to process for each of its inputs- Returns:
- a set of all possible physical operators for the given logical operator; the set may be empty
-