All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.numaproj.numaflow.mapper.Mapper Maven / Gradle / Ivy

There is a newer version: 0.9.0
Show newest version
package io.numaproj.numaflow.mapper;

/**
 * Mapper exposes method for performing map operation.
 * Implementations should override the processMessage method
 * which will be used for processing the input messages
 */

public abstract class Mapper {
    /**
     * method which will be used for processing messages.
     *
     * @param keys message keys
     * @param datum current message to be processed
     * @return MessageList which contains output from map
     */
    public abstract MessageList processMessage(String[] keys, Datum datum);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy