Interface ElementWiseTransformation

    • Method Detail

      • setup

        void setup​(Repository repo,
                   java.util.Map<java.lang.String,​java.lang.Object> cfg)
        Setup this transform.
        Parameters:
        repo - repository
        cfg - configuration
      • apply

        int apply​(StreamElement input,
                  ElementWiseTransformation.Collector<StreamElement> collector)
        Apply the transformation function.
        Parameters:
        input - the input stream element to transform
        collector - collector for outputs
        Returns:
        how many invocations of collector to expect before the elements should be considered processed