| 程序包 | 说明 |
|---|---|
| io.ray.streaming.api.stream | |
| io.ray.streaming.python.stream |
| 限定符和类型 | 类和说明 |
|---|---|
class |
DataStreamSource<T>
Represents a source of the DataStream.
|
class |
JoinStream<L,R,O>
Represents a DataStream of two joined DataStream.
|
class |
KeyDataStream<K,T>
Represents a DataStream returned by a key-by operation.
|
class |
UnionStream<T>
Represents a union DataStream.
|
| 限定符和类型 | 方法和说明 |
|---|---|
<A,O> DataStream<O> |
KeyDataStream.aggregate(AggregateFunction<T,A,O> aggregateFunction)
Apply an aggregate Function to this stream.
|
DataStream<T> |
DataStream.broadcast()
Apply broadcast to this stream.
|
DataStream<T> |
DataStream.filter(FilterFunction<T> filterFunction) |
<R> DataStream<R> |
DataStream.flatMap(FlatMapFunction<T,R> flatMapFunction)
Apply a flat-map function to this stream.
|
DataStream<R> |
JoinStream.getRightStream() |
<R> DataStream<R> |
DataStream.map(MapFunction<T,R> mapFunction)
Apply a map function to this stream.
|
DataStream<T> |
DataStream.partitionBy(Partition<T> partition)
Apply a partition to this stream.
|
<R> DataStream<R> |
DataStream.process() |
DataStream<T> |
KeyDataStream.reduce(ReduceFunction reduceFunction)
Apply a reduce function to this stream.
|
DataStream<T> |
DataStream.union(DataStream<T> stream,
DataStream<T>... others)
Apply union transformations to this stream by merging
DataStream outputs of the same
type with each other. |
DataStream<T> |
DataStream.union(List<DataStream<T>> streams)
Apply union transformations to this stream by merging
DataStream outputs of the same
type with each other. |
| 限定符和类型 | 方法和说明 |
|---|---|
List<DataStream<T>> |
UnionStream.getUnionStreams() |
| 限定符和类型 | 方法和说明 |
|---|---|
<O,R> JoinStream<T,O,R> |
DataStream.join(DataStream<O> other)
Apply a join transformation to this stream, with another stream.
|
DataStream<T> |
DataStream.union(DataStream<T> stream,
DataStream<T>... others)
Apply union transformations to this stream by merging
DataStream outputs of the same
type with each other. |
DataStream<T> |
DataStream.union(DataStream<T> stream,
DataStream<T>... others)
Apply union transformations to this stream by merging
DataStream outputs of the same
type with each other. |
| 限定符和类型 | 方法和说明 |
|---|---|
DataStream<T> |
DataStream.union(List<DataStream<T>> streams)
Apply union transformations to this stream by merging
DataStream outputs of the same
type with each other. |
| 构造器和说明 |
|---|
DataStream(DataStream<R> input,
StreamOperator streamOperator) |
DataStream(DataStream<R> input,
StreamOperator streamOperator,
Partition<T> partition) |
DataStreamSink(DataStream input,
SinkOperator sinkOperator) |
JoinStream(DataStream<L> leftStream,
DataStream<R> rightStream) |
JoinStream(DataStream<L> leftStream,
DataStream<R> rightStream) |
KeyDataStream(DataStream<T> input,
StreamOperator streamOperator) |
UnionStream(DataStream<T> input,
List<DataStream<T>> streams) |
| 构造器和说明 |
|---|
UnionStream(DataStream<T> input,
List<DataStream<T>> streams) |
| 限定符和类型 | 方法和说明 |
|---|---|
DataStream<Object> |
PythonDataStream.asJavaStream()
Convert this stream as a java stream.
|
| 构造器和说明 |
|---|
PythonDataStream(DataStream referencedStream)
Create a python stream that reference passed java stream.
|
PythonKeyDataStream(DataStream referencedStream)
Create a python stream that reference passed python stream.
|
Copyright © 2021. All rights reserved.