Class OneInput
java.lang.Object
org.apache.flink.table.runtime.operators.multipleinput.input.InputBase
org.apache.flink.table.runtime.operators.multipleinput.input.OneInput
- All Implemented Interfaces:
org.apache.flink.streaming.api.operators.Input<org.apache.flink.table.data.RowData>,org.apache.flink.streaming.api.operators.KeyContextHandler,org.apache.flink.streaming.runtime.operators.asyncprocessing.AsyncStateProcessing
public class OneInput
extends InputBase
implements org.apache.flink.streaming.runtime.operators.asyncprocessing.AsyncStateProcessing
Input for OneInputStreamOperator.-
Constructor Summary
ConstructorsConstructorDescriptionOneInput(org.apache.flink.streaming.api.operators.OneInputStreamOperator<org.apache.flink.table.data.RowData, org.apache.flink.table.data.RowData> operator) -
Method Summary
Modifier and TypeMethodDescriptionfinal <T> org.apache.flink.util.function.ThrowingConsumer<org.apache.flink.streaming.runtime.streamrecord.StreamRecord<T>,Exception> getRecordProcessor(int inputId) final booleanvoidprocessElement(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.table.data.RowData> element) voidprocessLatencyMarker(org.apache.flink.streaming.runtime.streamrecord.LatencyMarker latencyMarker) voidprocessWatermark(org.apache.flink.streaming.api.watermark.Watermark mark) voidprocessWatermarkStatus(org.apache.flink.streaming.runtime.watermarkstatus.WatermarkStatus watermarkStatus) Methods inherited from class org.apache.flink.table.runtime.operators.multipleinput.input.InputBase
hasKeyContext, setKeyContextElementMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.streaming.api.operators.Input
processRecordAttributes, processWatermarkMethods inherited from interface org.apache.flink.streaming.api.operators.KeyContextHandler
hasKeyContext1, hasKeyContext2
-
Constructor Details
-
OneInput
public OneInput(org.apache.flink.streaming.api.operators.OneInputStreamOperator<org.apache.flink.table.data.RowData, org.apache.flink.table.data.RowData> operator)
-
-
Method Details
-
processElement
public void processElement(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.table.data.RowData> element) throws Exception - Specified by:
processElementin interfaceorg.apache.flink.streaming.api.operators.Input<org.apache.flink.table.data.RowData>- Throws:
Exception
-
processWatermark
public void processWatermark(org.apache.flink.streaming.api.watermark.Watermark mark) throws Exception - Specified by:
processWatermarkin interfaceorg.apache.flink.streaming.api.operators.Input<org.apache.flink.table.data.RowData>- Throws:
Exception
-
processLatencyMarker
public void processLatencyMarker(org.apache.flink.streaming.runtime.streamrecord.LatencyMarker latencyMarker) throws Exception - Specified by:
processLatencyMarkerin interfaceorg.apache.flink.streaming.api.operators.Input<org.apache.flink.table.data.RowData>- Throws:
Exception
-
processWatermarkStatus
public void processWatermarkStatus(org.apache.flink.streaming.runtime.watermarkstatus.WatermarkStatus watermarkStatus) throws Exception - Specified by:
processWatermarkStatusin interfaceorg.apache.flink.streaming.api.operators.Input<org.apache.flink.table.data.RowData>- Throws:
Exception
-
isAsyncStateProcessingEnabled
@Internal public final boolean isAsyncStateProcessingEnabled()- Specified by:
isAsyncStateProcessingEnabledin interfaceorg.apache.flink.streaming.runtime.operators.asyncprocessing.AsyncStateProcessing
-
getRecordProcessor
@Internal public final <T> org.apache.flink.util.function.ThrowingConsumer<org.apache.flink.streaming.runtime.streamrecord.StreamRecord<T>,Exception> getRecordProcessor(int inputId) - Specified by:
getRecordProcessorin interfaceorg.apache.flink.streaming.runtime.operators.asyncprocessing.AsyncStateProcessing
-