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

io.ray.streaming.api.stream.DataStreamSink Maven / Gradle / Ivy

package io.ray.streaming.api.stream;

import io.ray.streaming.api.Language;
import io.ray.streaming.operator.impl.SinkOperator;

/**
 * Represents a sink of the DataStream.
 *
 * @param  Type of the input data of this sink.
 */
public class DataStreamSink extends StreamSink {

  public DataStreamSink(DataStream input, SinkOperator sinkOperator) {
    super(input, sinkOperator);
    getStreamingContext().addSink(this);
  }

  @Override
  public Language getLanguage() {
    return Language.JAVA;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy