public class FileCopyTaskInputFormat extends Object implements org.apache.flink.api.common.io.InputFormat<FileCopyTask,FileCopyTaskInputSplit>
FileCopyTask to the mappers
that have finished previously assigned tasks.| Constructor and Description |
|---|
FileCopyTaskInputFormat(List<FileCopyTask> tasks) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
configure(org.apache.flink.configuration.Configuration parameters) |
FileCopyTaskInputSplit[] |
createInputSplits(int minNumSplits) |
org.apache.flink.core.io.InputSplitAssigner |
getInputSplitAssigner(FileCopyTaskInputSplit[] inputSplits) |
org.apache.flink.api.common.io.statistics.BaseStatistics |
getStatistics(org.apache.flink.api.common.io.statistics.BaseStatistics cachedStatistics) |
FileCopyTask |
nextRecord(FileCopyTask reuse) |
void |
open(FileCopyTaskInputSplit split) |
boolean |
reachedEnd() |
public FileCopyTaskInputFormat(List<FileCopyTask> tasks)
public void configure(org.apache.flink.configuration.Configuration parameters)
configure in interface org.apache.flink.api.common.io.InputFormat<FileCopyTask,FileCopyTaskInputSplit>public org.apache.flink.api.common.io.statistics.BaseStatistics getStatistics(org.apache.flink.api.common.io.statistics.BaseStatistics cachedStatistics)
throws IOException
getStatistics in interface org.apache.flink.api.common.io.InputFormat<FileCopyTask,FileCopyTaskInputSplit>IOExceptionpublic FileCopyTaskInputSplit[] createInputSplits(int minNumSplits) throws IOException
createInputSplits in interface org.apache.flink.api.common.io.InputFormat<FileCopyTask,FileCopyTaskInputSplit>createInputSplits in interface org.apache.flink.core.io.InputSplitSource<FileCopyTaskInputSplit>IOExceptionpublic org.apache.flink.core.io.InputSplitAssigner getInputSplitAssigner(FileCopyTaskInputSplit[] inputSplits)
getInputSplitAssigner in interface org.apache.flink.api.common.io.InputFormat<FileCopyTask,FileCopyTaskInputSplit>getInputSplitAssigner in interface org.apache.flink.core.io.InputSplitSource<FileCopyTaskInputSplit>public void open(FileCopyTaskInputSplit split) throws IOException
open in interface org.apache.flink.api.common.io.InputFormat<FileCopyTask,FileCopyTaskInputSplit>IOExceptionpublic boolean reachedEnd()
throws IOException
reachedEnd in interface org.apache.flink.api.common.io.InputFormat<FileCopyTask,FileCopyTaskInputSplit>IOExceptionpublic FileCopyTask nextRecord(FileCopyTask reuse) throws IOException
nextRecord in interface org.apache.flink.api.common.io.InputFormat<FileCopyTask,FileCopyTaskInputSplit>IOExceptionpublic void close()
throws IOException
close in interface org.apache.flink.api.common.io.InputFormat<FileCopyTask,FileCopyTaskInputSplit>IOExceptionCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.