io.ray.streaming.python.stream.PythonDataStream Maven / Gradle / Ivy
package io.ray.streaming.python.stream;
import io.ray.streaming.api.Language;
import io.ray.streaming.api.context.StreamingContext;
import io.ray.streaming.api.partition.Partition;
import io.ray.streaming.api.stream.DataStream;
import io.ray.streaming.api.stream.Stream;
import io.ray.streaming.python.PythonFunction;
import io.ray.streaming.python.PythonFunction.FunctionInterface;
import io.ray.streaming.python.PythonOperator;
import io.ray.streaming.python.PythonPartition;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
/** Represents a stream of data whose transformations will be executed in python. */
public class PythonDataStream extends Stream implements PythonStream {
protected PythonDataStream(StreamingContext streamingContext, PythonOperator pythonOperator) {
super(streamingContext, pythonOperator);
}
protected PythonDataStream(
StreamingContext streamingContext,
PythonOperator pythonOperator,
Partition
© 2015 - 2025 Weber Informatics LLC | Privacy Policy