
io.numaproj.numaflow.batchmapper.BatchMapper 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.
The newest version!
package io.numaproj.numaflow.batchmapper;
/**
* BatchMapper exposes method for performing batch map operation.
* Implementations should override the processMessage method
* which will be used for processing the input messages
*/
public abstract class BatchMapper {
/**
* method which will be used for processing messages. Please implement the interface to ensure that each message generates a corresponding BatchResponse object with a matching ID.
*
* @param datumStream current message to be processed
*
* @return BatchResponses which contains output from batch map
*/
public abstract BatchResponses processMessage(DatumIterator datumStream);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy