| 限定符和类型 | 方法和说明 |
|---|---|
void |
SequentialChannelStateReader.readOutputData(ResultPartitionWriter[] writers,
boolean notifyAndBlockOnCompletion) |
void |
SequentialChannelStateReaderImpl.readOutputData(ResultPartitionWriter[] writers,
boolean notifyAndBlockOnCompletion) |
| 限定符和类型 | 方法和说明 |
|---|---|
ResultPartitionWriter[] |
Environment.getAllWriters() |
ResultPartitionWriter |
Environment.getWriter(int index) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
NettyShuffleEnvironment.registerLegacyNetworkMetrics(org.apache.flink.metrics.MetricGroup metricGroup,
ResultPartitionWriter[] producedPartitions,
InputGate[] inputGates)
已过时。
should be removed in future
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected ResultPartitionWriter |
RecordWriter.targetPartition |
| 限定符和类型 | 方法和说明 |
|---|---|
RecordWriter<T> |
RecordWriterBuilder.build(ResultPartitionWriter writer) |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
NettyShuffleMetricFactory.registerLegacyNetworkMetrics(boolean isDetailedMetrics,
org.apache.flink.metrics.MetricGroup metricGroup,
ResultPartitionWriter[] producedPartitions,
InputGate[] inputGates)
已过时。
should be removed in future
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
BoundedBlockingResultPartition
A output data result of an individual task (one partition of an intermediate result), produced
and communicated in a batch manner: The result must be produced completely before it can be
consumed.
|
class |
BufferWritingResultPartition
A
ResultPartition which writes buffers directly to ResultSubpartitions. |
class |
PipelinedResultPartition
A result output of a task, pipelined (streamed) to the receivers.
|
class |
ResultPartition
A result partition for data produced by a single task.
|
class |
SortMergeResultPartition
SortMergeResultPartition appends records and events to SortBuffer and after the
SortBuffer is full, all data in the SortBuffer will be copied and spilled to a
PartitionedFile in subpartition index order sequentially. |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
ShuffleEnvironment<P extends ResultPartitionWriter,G extends IndexedInputGate>
Interface for the implementation of shuffle service local environment.
|
interface |
ShuffleServiceFactory<SD extends ShuffleDescriptor,P extends ResultPartitionWriter,G extends IndexedInputGate>
Interface for shuffle service factory implementations.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static ResultPartitionWriter[] |
ConsumableNotifyingResultPartitionWriterDecorator.decorate(Collection<ResultPartitionDeploymentDescriptor> descs,
ResultPartitionWriter[] partitionWriters,
TaskActions taskActions,
org.apache.flink.api.common.JobID jobId,
ResultPartitionConsumableNotifier notifier)
Optionally decorate the ResultPartitionWriter to call
ResultPartitionConsumableNotifier.notifyPartitionConsumable(JobID, ResultPartitionID,
TaskActions) on the first record, iff ResultPartitionDeploymentDescriptor.notifyPartitionDataAvailable() is true. |
ResultPartitionWriter[] |
RuntimeEnvironment.getAllWriters() |
ResultPartitionWriter |
RuntimeEnvironment.getWriter(int index) |
| 限定符和类型 | 方法和说明 |
|---|---|
static ResultPartitionWriter[] |
ConsumableNotifyingResultPartitionWriterDecorator.decorate(Collection<ResultPartitionDeploymentDescriptor> descs,
ResultPartitionWriter[] partitionWriters,
TaskActions taskActions,
org.apache.flink.api.common.JobID jobId,
ResultPartitionConsumableNotifier notifier)
Optionally decorate the ResultPartitionWriter to call
ResultPartitionConsumableNotifier.notifyPartitionConsumable(JobID, ResultPartitionID,
TaskActions) on the first record, iff ResultPartitionDeploymentDescriptor.notifyPartitionDataAvailable() is true. |
static void |
Task.setupPartitionsAndGates(ResultPartitionWriter[] producedPartitions,
InputGate[] inputGates) |
| 构造器和说明 |
|---|
RuntimeEnvironment(org.apache.flink.api.common.JobID jobId,
JobVertexID jobVertexId,
ExecutionAttemptID executionId,
org.apache.flink.api.common.ExecutionConfig executionConfig,
org.apache.flink.api.common.TaskInfo taskInfo,
org.apache.flink.configuration.Configuration jobConfiguration,
org.apache.flink.configuration.Configuration taskConfiguration,
org.apache.flink.util.UserCodeClassLoader userCodeClassLoader,
MemoryManager memManager,
IOManager ioManager,
BroadcastVariableManager bcVarManager,
TaskStateManager taskStateManager,
GlobalAggregateManager aggregateManager,
AccumulatorRegistry accumulatorRegistry,
TaskKvStateRegistry kvStateRegistry,
InputSplitProvider splitProvider,
Map<String,Future<org.apache.flink.core.fs.Path>> distCacheEntries,
ResultPartitionWriter[] writers,
IndexedInputGate[] inputGates,
TaskEventDispatcher taskEventDispatcher,
CheckpointResponder checkpointResponder,
TaskOperatorEventGateway operatorEventGateway,
TaskManagerRuntimeInfo taskManagerInfo,
TaskMetricGroup metrics,
Task containingTask,
ExternalResourceInfoProvider externalResourceInfoProvider,
ThroughputCalculator throughputCalculator) |
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.