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 - 2025 Weber Informatics LLC | Privacy Policy