Interface FileEnumerator

    • Method Detail

      • enumerateSplits

        Collection<FileSourceSplit> enumerateSplits​(Path[] paths,
                                                    int minDesiredSplits)
                                             throws IOException
        Generates all file splits for the relevant files under the given paths. The minDesiredSplits is an optional hint indicating how many splits would be necessary to exploit parallelism properly.
        Throws:
        IOException