Class EachOperation


  • public class EachOperation
    extends GroupingOperation
    This is a grouping operation that processes each element of the input list separately, as opposed to AllOperation which processes that list as a whole.
    Author:
    Simon Thoresen Hult, bratseth
    • Constructor Detail

      • EachOperation

        public EachOperation()
        Constructs a new instance of this class.
    • Method Detail

      • resolveLevel

        public void resolveLevel​(int level)
        Description copied from class: GroupingOperation
        Resolves the conceptual level of this operation. This level represents the type of data that is consumed by this operation, where level 0 is a single hit, level 1 is a group, level 2 is a list of groups, and so forth. This method verifies the input level against the operation type, and recursively resolves the level of all argument expressions.
        Overrides:
        resolveLevel in class GroupingOperation
        Parameters:
        level - the level of the input data