Class LogicalOpFixedSolMap
java.lang.Object
se.liu.ida.hefquin.engine.queryplan.logical.impl.LogicalOpFixedSolMap
- All Implemented Interfaces:
QueryPlanOperator,LogicalOperator,NullaryLogicalOp
A logical operator that returns a given solution mapping.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ExpectedVariablesprotected final SolutionMapping -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetExpectedVariables(ExpectedVariables... inputVars) 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.inthashCode()toString()voidvisit(LogicalPlanVisitor visitor)
-
Field Details
-
sm
-
expectedVars
-
-
Constructor Details
-
LogicalOpFixedSolMap
-
-
Method Details
-
getSolutionMapping
-
visit
- Specified by:
visitin interfaceLogicalOperator
-
getExpectedVariables
Description copied from interface:QueryPlanOperatorReturns 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 ofExpectedVariablesobjects 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:
getExpectedVariablesin interfaceQueryPlanOperator
-
equals
-
hashCode
-
toString
-