Modifier and Type | Class and Description |
---|---|
class |
BroadcastRecordWriter<T extends IOReadableWritable>
A special record-oriented runtime result writer only for broadcast mode.
|
class |
ChannelSelectorRecordWriter<T extends IOReadableWritable>
A regular record-oriented runtime result writer.
|
Modifier and Type | Method and Description |
---|---|
RecordWriter<T> |
RecordWriterBuilder.build(ResultPartitionWriter writer) |
RecordWriter<T> |
NonRecordWriter.getRecordWriter(int outputIndex) |
RecordWriter<T> |
RecordWriterDelegate.getRecordWriter(int outputIndex)
Returns the internal actual record writer instance based on the output index.
|
RecordWriter<T> |
MultipleRecordWriters.getRecordWriter(int outputIndex) |
RecordWriter<T> |
SingleRecordWriter.getRecordWriter(int outputIndex) |
Constructor and Description |
---|
SingleRecordWriter(RecordWriter<T> recordWriter) |
Constructor and Description |
---|
MultipleRecordWriters(List<RecordWriter<T>> recordWriters) |
Modifier and Type | Field and Description |
---|---|
protected List<RecordWriter<?>> |
BatchTask.eventualOutputs
The output writers for the data that this task forwards to the next task.
|
Modifier and Type | Method and Description |
---|---|
static void |
BatchTask.clearWriters(List<RecordWriter<?>> writers) |
static <T> Collector<T> |
BatchTask.getOutputCollector(AbstractInvokable task,
TaskConfig config,
ClassLoader cl,
List<RecordWriter<?>> eventualOutputs,
int outputOffset,
int numOutputs)
Creates the
Collector for the given task, as described by the given configuration. |
static <T> Collector<T> |
BatchTask.initOutputs(AbstractInvokable containingTask,
ClassLoader cl,
TaskConfig config,
List<ChainedDriver<?,?>> chainedTasksTarget,
List<RecordWriter<?>> eventualOutputs,
ExecutionConfig executionConfig,
Map<String,Accumulator<?,?>> accumulatorMap)
Creates a writer for each output.
|
Modifier and Type | Method and Description |
---|---|
List<RecordWriter<SerializationDelegate<T>>> |
OutputCollector.getWriters()
List of writers that are associated with this output collector
|
Constructor and Description |
---|
OutputCollector(List<RecordWriter<SerializationDelegate<T>>> writers,
TypeSerializer<T> serializer)
Initializes the output collector with a set of writers.
|
Constructor and Description |
---|
RecordWriterOutput(RecordWriter<SerializationDelegate<StreamRecord<OUT>>> recordWriter,
TypeSerializer<OUT> outSerializer,
OutputTag outputTag,
StreamStatusProvider streamStatusProvider) |
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.