com.jiuxian.mossrose.job.MapReduceJob Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mossrose Show documentation
Show all versions of mossrose Show documentation
High-Avaliable Distributed Schedule System
package com.jiuxian.mossrose.job;
import java.io.Serializable;
import java.util.List;
public interface MapReduceJob extends RunnableJob {
Mapper mapper();
Executor executor();
Reducer reducer();
interface Mapper {
List map();
}
interface Executor {
R execute(M item);
}
interface Reducer {
void reduce(List rs);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy