| 程序包 | 说明 |
|---|---|
| io.ray.streaming.api.partition.impl | |
| io.ray.streaming.api.stream | |
| io.ray.streaming.jobgraph | |
| io.ray.streaming.python | |
| io.ray.streaming.python.stream |
| 限定符和类型 | 类和说明 |
|---|---|
class |
BroadcastPartition<T>
Broadcast the record to all downstream partitions.
|
class |
ForwardPartition<T>
Default partition for operator if the operator can be chained with succeeding operators.
|
class |
KeyPartition<K,T>
Partition the record by the key.
|
class |
RoundRobinPartition<T>
Partition record to downstream tasks in a round-robin matter.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Partition<T> |
Stream.getPartition() |
| 限定符和类型 | 方法和说明 |
|---|---|
DataStream<T> |
DataStream.partitionBy(Partition<T> partition)
Apply a partition to this stream.
|
protected S |
Stream.setPartition(Partition<T> partition) |
| 构造器和说明 |
|---|
DataStream(DataStream<R> input,
StreamOperator streamOperator,
Partition<T> partition) |
DataStream(StreamingContext streamingContext,
StreamOperator streamOperator,
Partition<T> partition) |
Stream(StreamingContext streamingContext,
StreamOperator streamOperator,
Partition<T> partition) |
Stream(StreamingContext streamingContext,
Stream inputStream,
StreamOperator streamOperator,
Partition<T> partition) |
Stream(Stream inputStream,
StreamOperator streamOperator,
Partition<T> partition) |
| 限定符和类型 | 方法和说明 |
|---|---|
Partition |
JobEdge.getPartition() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
JobEdge.setPartition(Partition partition) |
| 构造器和说明 |
|---|
JobEdge(int srcVertexId,
int targetVertexId,
Partition partition) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
PythonPartition
Represents a python partition function.
|
| 构造器和说明 |
|---|
PythonDataStream(PythonDataStream input,
PythonOperator pythonOperator,
Partition<Object> partition) |
PythonDataStream(StreamingContext streamingContext,
PythonOperator pythonOperator,
Partition<Object> partition) |
Copyright © 2021. All rights reserved.