IN - The type of the record that can be read with this record reader.@Internal public final class StreamOneInputProcessor<IN> extends Object implements StreamInputProcessor
OneInputStreamTask.| 构造器和说明 |
|---|
StreamOneInputProcessor(StreamTaskInput<IN> input,
PushingAsyncDataInput.DataOutput<IN> output,
OperatorChain<?,?> operatorChain) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
CompletableFuture<?> |
getAvailableFuture() |
CompletableFuture<Void> |
prepareSnapshot(org.apache.flink.runtime.checkpoint.channel.ChannelStateWriter channelStateWriter,
long checkpointId) |
org.apache.flink.core.io.InputStatus |
processInput() |
public StreamOneInputProcessor(StreamTaskInput<IN> input, PushingAsyncDataInput.DataOutput<IN> output, OperatorChain<?,?> operatorChain)
public CompletableFuture<?> getAvailableFuture()
getAvailableFuture 在接口中 org.apache.flink.runtime.io.AvailabilityProviderpublic org.apache.flink.core.io.InputStatus processInput()
throws Exception
processInput 在接口中 StreamInputProcessorAvailabilityProvider.getAvailableFuture().Exceptionpublic CompletableFuture<Void> prepareSnapshot(org.apache.flink.runtime.checkpoint.channel.ChannelStateWriter channelStateWriter, long checkpointId) throws IOException
prepareSnapshot 在接口中 StreamInputProcessorIOExceptionpublic void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableIOExceptionCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.