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

public abstract class BaseForMappingOperator extends Object implements MappingOperator
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 Details

    • id

      protected final int id
  • Constructor Details

    • BaseForMappingOperator

      protected BaseForMappingOperator()
  • Method Details

    • getID

      public int getID()
      Description copied from interface: MappingOperator
      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).
      Specified by:
      getID in interface MappingOperator