Uses of Class
org.apache.flink.core.fs.Path
-
-
Uses of Path in org.apache.flink.api.common.cache
Constructor parameters in org.apache.flink.api.common.cache with type arguments of type Path Constructor Description DistributedCache(Map<String,Future<Path>> cacheCopyTasks) -
Uses of Path in org.apache.flink.api.common.functions.util
Constructor parameters in org.apache.flink.api.common.functions.util with type arguments of type Path Constructor Description RuntimeUDFContext(TaskInfo taskInfo, ClassLoader userCodeClassLoader, ExecutionConfig executionConfig, Map<String,Future<Path>> cpTasks, Map<String,Accumulator<?,?>> accumulators, org.apache.flink.metrics.groups.OperatorMetricGroup metrics)RuntimeUDFContext(TaskInfo taskInfo, ClassLoader userCodeClassLoader, ExecutionConfig executionConfig, Map<String,Future<Path>> cpTasks, Map<String,Accumulator<?,?>> accumulators, org.apache.flink.metrics.groups.OperatorMetricGroup metrics, JobID jobID) -
Uses of Path in org.apache.flink.api.common.io
Fields in org.apache.flink.api.common.io declared as Path Modifier and Type Field Description protected PathFileInputFormat. filePathDeprecated.Please overrideFileInputFormat.supportsMultiPaths()and useFileInputFormat.getFilePaths()andFileInputFormat.setFilePaths(Path...).protected PathFileOutputFormat. outputFilePathThe path of the file to be written.Methods in org.apache.flink.api.common.io that return Path Modifier and Type Method Description PathFileInputFormat. getFilePath()Deprecated.Please use getFilePaths() instead.Path[]FileInputFormat. getFilePaths()Returns the paths of all files to be read by the FileInputFormat.PathFileOutputFormat. getOutputFilePath()Methods in org.apache.flink.api.common.io with parameters of type Path Modifier and Type Method Description booleanFilePathFilter.DefaultFilter. filterPath(Path filePath)abstract booleanFilePathFilter. filterPath(Path filePath)Returnstrueif thefilePathgiven is to be ignored when processing a directory, e.g.booleanGlobFilePathFilter. filterPath(Path filePath)protected FileInputFormat.FileBaseStatisticsFileInputFormat. getFileStats(FileInputFormat.FileBaseStatistics cachedStats, Path[] filePaths, ArrayList<FileStatus> files)protected FileInputFormat.FileBaseStatisticsFileInputFormat. getFileStats(FileInputFormat.FileBaseStatistics cachedStats, Path filePath, FileSystem fs, ArrayList<FileStatus> files)voidFileInputFormat. setFilePath(Path filePath)Sets a single path of a file to be read.voidFileInputFormat. setFilePaths(Path... filePaths)Sets multiple paths of files to be read.voidFileOutputFormat. setOutputFilePath(Path path)Constructors in org.apache.flink.api.common.io with parameters of type Path Constructor Description DelimitedInputFormat(Path filePath, Configuration configuration)FileInputFormat(Path filePath)FileOutputFormat(Path outputPath)GenericCsvInputFormat(Path filePath) -
Uses of Path in org.apache.flink.core.fs
Methods in org.apache.flink.core.fs that return Path Modifier and Type Method Description static PathEntropyInjector. addEntropy(FileSystem fs, Path path)Handles entropy injection across regular and entropy-aware file systems.static PathPath. fromLocalFile(File file)Creates a path for the given local file.PathDuplicatingFileSystem.CopyRequest. getDestination()The path where to duplicate the source file.abstract PathFileSystem. getHomeDirectory()Returns the path of the user's home directory in this file system.PathLimitedConnectionsFileSystem. getHomeDirectory()PathSafetyNetWrapperFileSystem. getHomeDirectory()PathPath. getParent()Returns the parent of a path, i.e., everything that precedes the last separator ornullif at root.PathFileInputSplit. getPath()Returns the path of the file containing this split's data.PathFileStatus. getPath()Returns the corresponding Path to the FileStatus.PathDuplicatingFileSystem.CopyRequest. getSource()The path of the source file to duplicate.abstract PathFileSystem. getWorkingDirectory()Returns the path of the file system's current working directory.PathLimitedConnectionsFileSystem. getWorkingDirectory()PathSafetyNetWrapperFileSystem. getWorkingDirectory()PathPath. makeQualified(FileSystem fs)Returns a qualified path object.PathOutputStreamAndPath. path()static PathEntropyInjector. removeEntropyMarkerIfPresent(FileSystem fs, Path path)Removes the entropy marker string from the path, if the given file system is an entropy-injecting file system (implementsEntropyInjectingFileSystem) and the entropy marker key is present.PathPath. suffix(String suffix)Adds a suffix to the final name in the path.Methods in org.apache.flink.core.fs with parameters of type Path Modifier and Type Method Description static PathEntropyInjector. addEntropy(FileSystem fs, Path path)Handles entropy injection across regular and entropy-aware file systems.booleanDuplicatingFileSystem. canFastDuplicate(Path source, Path destination)Tells if we can perform duplicate/copy between given paths.FSDataOutputStreamFileSystem. create(Path f, boolean overwrite)Deprecated.UseFileSystem.create(Path, WriteMode)instead.FSDataOutputStreamFileSystem. create(Path f, boolean overwrite, int bufferSize, short replication, long blockSize)Deprecated.Deprecated because not well supported across types of file systems.abstract FSDataOutputStreamFileSystem. create(Path f, FileSystem.WriteMode overwriteMode)Opens an FSDataOutputStream to a new file at the given path.FSDataOutputStreamLimitedConnectionsFileSystem. create(Path f, boolean overwrite, int bufferSize, short replication, long blockSize)Deprecated.FSDataOutputStreamLimitedConnectionsFileSystem. create(Path f, FileSystem.WriteMode overwriteMode)FSDataOutputStreamSafetyNetWrapperFileSystem. create(Path f, boolean overwrite, int bufferSize, short replication, long blockSize)FSDataOutputStreamSafetyNetWrapperFileSystem. create(Path f, FileSystem.WriteMode overwrite)static OutputStreamAndPathEntropyInjector. createEntropyAware(FileSystem fs, Path path, FileSystem.WriteMode writeMode)Handles entropy injection across regular and entropy-aware file systems.abstract booleanFileSystem. delete(Path f, boolean recursive)Delete a file.booleanLimitedConnectionsFileSystem. delete(Path f, boolean recursive)booleanSafetyNetWrapperFileSystem. delete(Path f, boolean recursive)booleanFileSystem. exists(Path f)Check if exists.booleanLimitedConnectionsFileSystem. exists(Path f)booleanSafetyNetWrapperFileSystem. exists(Path f)abstract FileStatusFileSystem. getFileStatus(Path f)Return a file status object that represents the path.FileStatusLimitedConnectionsFileSystem. getFileStatus(Path f)FileStatusSafetyNetWrapperFileSystem. getFileStatus(Path f)booleanFileSystem. initOutPathDistFS(Path outPath, FileSystem.WriteMode writeMode, boolean createDirectory)Initializes output directories on distributed file systems according to the given write mode.booleanSafetyNetWrapperFileSystem. initOutPathDistFS(Path outPath, FileSystem.WriteMode writeMode, boolean createDirectory)booleanFileSystem. initOutPathLocalFS(Path outPath, FileSystem.WriteMode writeMode, boolean createDirectory)Initializes output directories on local file systems according to the given write mode.booleanSafetyNetWrapperFileSystem. initOutPathLocalFS(Path outPath, FileSystem.WriteMode writeMode, boolean createDirectory)static booleanEntropyInjector. isEntropyInjecting(FileSystem fs, Path target)abstract FileStatus[]FileSystem. listStatus(Path f)List the statuses of the files/directories in the given path if the path is a directory.FileStatus[]LimitedConnectionsFileSystem. listStatus(Path f)FileStatus[]SafetyNetWrapperFileSystem. listStatus(Path f)abstract booleanFileSystem. mkdirs(Path f)Make the given file and all non-existent parents into directories.booleanLimitedConnectionsFileSystem. mkdirs(Path f)booleanSafetyNetWrapperFileSystem. mkdirs(Path f)static DuplicatingFileSystem.CopyRequestDuplicatingFileSystem.CopyRequest. of(Path source, Path destination)A factory method for creating a simple pair of source/destination.abstract FSDataInputStreamFileSystem. open(Path f)Opens an FSDataInputStream at the indicated Path.abstract FSDataInputStreamFileSystem. open(Path f, int bufferSize)Opens an FSDataInputStream at the indicated Path.FSDataInputStreamLimitedConnectionsFileSystem. open(Path f)FSDataInputStreamLimitedConnectionsFileSystem. open(Path f, int bufferSize)RecoverableFsDataOutputStreamRecoverableWriter. open(Path path)Opens a new recoverable stream to write to the given path.FSDataInputStreamSafetyNetWrapperFileSystem. open(Path f)FSDataInputStreamSafetyNetWrapperFileSystem. open(Path f, int bufferSize)static PathEntropyInjector. removeEntropyMarkerIfPresent(FileSystem fs, Path path)Removes the entropy marker string from the path, if the given file system is an entropy-injecting file system (implementsEntropyInjectingFileSystem) and the entropy marker key is present.abstract booleanFileSystem. rename(Path src, Path dst)Renames the file/directory src to dst.booleanLimitedConnectionsFileSystem. rename(Path src, Path dst)booleanSafetyNetWrapperFileSystem. rename(Path src, Path dst)Constructors in org.apache.flink.core.fs with parameters of type Path Constructor Description FileInputSplit(int num, Path file, long start, long length, String[] hosts)Constructs a split with host information.OutputStreamAndPath(FSDataOutputStream stream, Path path)Creates a OutputStreamAndPath.Path(String parent, Path child)Resolve a child path against a parent path.Path(Path parent, String child)Resolve a child path against a parent path.Path(Path parent, Path child)Resolve a child path against a parent path. -
Uses of Path in org.apache.flink.core.fs.local
Methods in org.apache.flink.core.fs.local that return Path Modifier and Type Method Description PathLocalFileSystem. getHomeDirectory()PathLocalFileStatus. getPath()PathLocalFileSystem. getWorkingDirectory()Methods in org.apache.flink.core.fs.local with parameters of type Path Modifier and Type Method Description FSDataOutputStreamLocalFileSystem. create(Path filePath, FileSystem.WriteMode overwrite)booleanLocalFileSystem. delete(Path f, boolean recursive)booleanLocalFileSystem. exists(Path f)FileStatusLocalFileSystem. getFileStatus(Path f)FileStatus[]LocalFileSystem. listStatus(Path f)booleanLocalFileSystem. mkdirs(Path f)Recursively creates the directory specified by the provided path.FSDataInputStreamLocalFileSystem. open(Path f)FSDataInputStreamLocalFileSystem. open(Path f, int bufferSize)RecoverableFsDataOutputStreamLocalRecoverableWriter. open(Path filePath)FileLocalFileSystem. pathToFile(Path path)Converts the given Path to a File for this file system.booleanLocalFileSystem. rename(Path src, Path dst) -
Uses of Path in org.apache.flink.util
Methods in org.apache.flink.util that return Path Modifier and Type Method Description static PathFileUtils. absolutizePath(Path pathToAbsolutize)Absolutize the given path if it is relative.static PathFileUtils. compressDirectory(Path directory, Path target)static PathFileUtils. expandDirectory(Path file, Path targetDirectory)Methods in org.apache.flink.util with parameters of type Path Modifier and Type Method Description static PathFileUtils. absolutizePath(Path pathToAbsolutize)Absolutize the given path if it is relative.static PathFileUtils. compressDirectory(Path directory, Path target)static voidFileUtils. copy(Path sourcePath, Path targetPath, boolean executable)Copies all files from source to target and sets executable flag.static PathFileUtils. expandDirectory(Path file, Path targetDirectory)
-