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

ai.platon.pulsar.skeleton.common.ReducerContext Maven / Gradle / Ivy

The newest version!
package ai.platon.pulsar.skeleton.common;

import ai.platon.pulsar.common.config.ImmutableConfig;

import java.io.IOException;

/**
 * Created by vincent on 16-9-24.
 * Copyright @ 2013-2016 Platon AI. All rights reserved
 */
public interface ReducerContext {
    ImmutableConfig getConfiguration();

    boolean nextKey() throws IOException, InterruptedException;

    boolean nextKeyValue() throws IOException, InterruptedException;

    KEYIN getCurrentKey() throws IOException, InterruptedException;

    VALUEIN getCurrentValue() throws IOException, InterruptedException;

    void write(KEYOUT var1, VALUEOUT var2) throws IOException, InterruptedException;

    Iterable getValues() throws IOException, InterruptedException;

    String getStatus();

    void setStatus(String var1);

    int getJobId();

    String getJobName();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy