| Modifier and Type | Method and Description |
|---|---|
<R> SingleOutputStreamOperator<R> |
ConnectedStreams.transform(String functionName,
org.apache.flink.api.common.typeinfo.TypeInformation<R> outTypeInfo,
TwoInputStreamOperator<IN1,IN2,R> operator) |
| Modifier and Type | Method and Description |
|---|---|
TwoInputStreamOperator<IN1,IN2,OUT> |
TwoInputTransformation.getOperator() |
| Constructor and Description |
|---|
TwoInputTransformation(org.apache.flink.api.dag.Transformation<IN1> input1,
org.apache.flink.api.dag.Transformation<IN2> input2,
String name,
TwoInputStreamOperator<IN1,IN2,OUT> operator,
org.apache.flink.api.common.typeinfo.TypeInformation<OUT> outputType,
int parallelism)
Creates a new
TwoInputTransformation from the given inputs and operator. |
TwoInputTransformation(org.apache.flink.api.dag.Transformation<IN1> input1,
org.apache.flink.api.dag.Transformation<IN2> input2,
String name,
TwoInputStreamOperator<IN1,IN2,OUT> operator,
org.apache.flink.api.common.typeinfo.TypeInformation<OUT> outputType,
int parallelism,
boolean parallelismConfigured) |
| Modifier and Type | Method and Description |
|---|---|
static <IN1,IN2> StreamMultipleInputProcessor |
StreamTwoInputProcessorFactory.create(org.apache.flink.runtime.jobgraph.tasks.TaskInvokable ownerTask,
CheckpointedInputGate[] checkpointedInputGates,
org.apache.flink.runtime.io.disk.iomanager.IOManager ioManager,
org.apache.flink.runtime.memory.MemoryManager memoryManager,
org.apache.flink.runtime.metrics.groups.TaskIOMetricGroup taskIOMetricGroup,
TwoInputStreamOperator<IN1,IN2,?> streamOperator,
WatermarkGauge input1WatermarkGauge,
WatermarkGauge input2WatermarkGauge,
OperatorChain<?,?> operatorChain,
StreamConfig streamConfig,
org.apache.flink.configuration.Configuration taskManagerConfig,
org.apache.flink.configuration.Configuration jobConfig,
org.apache.flink.api.common.ExecutionConfig executionConfig,
ClassLoader userClassloader,
org.apache.flink.metrics.Counter numRecordsIn,
org.apache.flink.runtime.checkpoint.InflightDataRescalingDescriptor inflightDataRescalingDescriptor,
Function<Integer,StreamPartitioner<?>> gatePartitioners,
org.apache.flink.api.common.TaskInfo taskInfo,
StreamTask.CanEmitBatchOfRecordsChecker canEmitBatchOfRecords) |
static <T> org.apache.flink.util.function.ThrowingConsumer<StreamRecord<T>,Exception> |
RecordProcessorUtils.getRecordProcessor1(TwoInputStreamOperator<T,?,?> operator)
Get record processor for the first input of
TwoInputStreamOperator, which will omit
call of StreamOperator.setKeyContextElement1(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<?>) if it doesn't have key context. |
static <T> org.apache.flink.util.function.ThrowingConsumer<StreamRecord<T>,Exception> |
RecordProcessorUtils.getRecordProcessor2(TwoInputStreamOperator<?,T,?> operator)
Get record processor for the second input of
TwoInputStreamOperator, which will omit
call of StreamOperator.setKeyContextElement2(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<?>) if it doesn't have key context. |
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.