Class MapHandler<I,​O>

    • Constructor Detail

      • MapHandler

        public MapHandler()
    • Method Detail

      • doOperation

        public O doOperation​(Map<I,​O> operation,
                             Context context,
                             Store store)
                      throws OperationException
        Handles the Map operation. Applies the function(s) contained within the Map operation and returns the resulting object.
        Specified by:
        doOperation in interface OperationHandler<I>
        Specified by:
        doOperation in interface OutputOperationHandler<I,​O>
        Parameters:
        operation - the Operation to be executed
        context - the operation chain context, containing the user who executed the operation
        store - the Store the operation should be run on
        Returns:
        the resulting object from the function
        Throws:
        OperationException - if execution of the operation fails