Class BaseForMappingOperator
java.lang.Object
se.liu.ida.hefquin.mappings.algebra.ops.BaseForMappingOperator
- All Implemented Interfaces:
MappingOperator
- Direct Known Subclasses:
BaseForBinaryMappingOperator,BaseForNaryMappingOperator,BaseForUnaryMappingOperator,MappingOpConstant,MappingOpExtract
This is an abstract base class for classes that implement concrete
specializations of the
MappingOperator interface. This base
class handles the creation of a unique ID per operator.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetID()Returns an identifier of this operator, which should be distinct from the identifiers of all other operators within the same plan (no matter what type of operator they are).Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface se.liu.ida.hefquin.mappings.algebra.MappingOperator
evaluate, getSchema, isValid, isValidInput, visit
-
Field Details
-
id
protected final int id
-
-
Constructor Details
-
BaseForMappingOperator
protected BaseForMappingOperator()
-
-
Method Details
-
getID
public int getID()Description copied from interface:MappingOperatorReturns an identifier of this operator, which should be distinct from the identifiers of all other operators within the same plan (no matter what type of operator they are).- Specified by:
getIDin interfaceMappingOperator
-