Class MappingOpProject
java.lang.Object
se.liu.ida.hefquin.mappings.algebra.ops.MappingOpProject
- All Implemented Interfaces:
MappingOperator
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MappingOpProjectbooleanintReturns the number of sub-expressions that a mapping expression is expected to have if it has this operator as its root operator.getP()inthashCode()toString()voidvisit(MappingOperatorVisitor visitor)
-
Field Details
-
P
-
-
Constructor Details
-
MappingOpProject
-
-
Method Details
-
createWithSPOG
-
getP
-
getExpectedNumberOfSubExpressions
public int getExpectedNumberOfSubExpressions()Description copied from interface:MappingOperatorReturns the number of sub-expressions that a mapping expression is expected to have if it has this operator as its root operator. Hence, for nullary operators, this method returns 0; for unary operators, it returns 1; for binary operators, it returns 2. For n-ary operators (which can be applied to an arbitrary number of sub-expressions), this method returnsInteger.MAX_VALUE.- Specified by:
getExpectedNumberOfSubExpressionsin interfaceMappingOperator
-
visit
- Specified by:
visitin interfaceMappingOperator
-
hashCode
-
equals
-
toString
-