
io.numaproj.numaflow.mapper.Mapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of numaflow-java Show documentation
Show all versions of numaflow-java Show documentation
SDK to implement Numaflow Source or User Defined Functions or Sinks in Java.
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