Package org.apache.flink.connector.file.src.enumerate
package org.apache.flink.connector.file.src.enumerate
-
ClassDescriptionThis
FileEnumeratorenumerates all files under the given paths recursively except the hidden directories, and creates a separate split for each file block.ThisFileEnumeratorenumerates all files under the given paths recursively, and creates a separate split for each file block.A file filter that filters out hidden files based on common naming patterns, i.e., files where the filename starts with '.' or with '_'.FileEnumeratorthat supports dynamic filtering.Factory for theDynamicFileEnumerator.TheFileEnumerator's task is to discover all files to be read and to split them into a set ofFileSourceSplit.Factory for theFileEnumerator, to allow theFileEnumeratorto be eagerly initialized and to not be serializable.ThisFileEnumeratorenumerates all files under the given paths recursively except the hidden directories.ThisFileEnumeratorenumerates all files under the given paths recursively.A file filter that filters out hidden files, seeDefaultFileFilterand the files whose path doesn't match the given regex pattern.