Class MemoryCalculator

All Implemented Interfaces:
PhysicalVisitor<Void,Wrapper,RuntimeException>

public class MemoryCalculator extends AbstractOpWrapperVisitor<Void,RuntimeException>
A visitor to compute memory requirements for each operator in a minor fragment. This visitor will be called for each major fragment. It traverses the physical operators in that major fragment and computes the memory for each operator per each minor fragment. The minor fragment memory resources are further grouped into per Drillbit resource requirements.