@PublicApi @ThreadSafe public final class LineageFileSystem extends BaseFileSystem
FileSystem.Factory
mFileSystemContext
Modifier and Type | Method and Description |
---|---|
FileOutStream |
createFile(AlluxioURI path,
CreateFileOptions options)
Gets the output stream for lineage job.
|
static LineageFileSystem |
get(FileSystemContext fileSystemContext,
LineageContext lineageContext) |
void |
reportLostFile(AlluxioURI path)
Reports a file as lost.
|
createDirectory, createDirectory, createFile, delete, delete, exists, exists, free, free, get, getMountTable, getStatus, getStatus, listStatus, listStatus, loadMetadata, loadMetadata, mount, mount, openFile, openFile, rename, rename, setAttribute, setAttribute, unmount, unmount
public static LineageFileSystem get(FileSystemContext fileSystemContext, LineageContext lineageContext)
fileSystemContext
- file system contextlineageContext
- lineage contextpublic FileOutStream createFile(AlluxioURI path, CreateFileOptions options) throws IOException, AlluxioException
createFile
in interface FileSystem
createFile
in class BaseFileSystem
path
- the Alluxio path of the fileoptions
- the set of options specific to this operationFileAlreadyExistsException
- if there is already a file at the given pathInvalidPathException
- if the path is invalidIOException
AlluxioException
public void reportLostFile(AlluxioURI path) throws IOException, FileDoesNotExistException, AlluxioException
path
- the path to the lost fileFileDoesNotExistException
- if the file does not existIOException
AlluxioException
Copyright © 2023. All Rights Reserved.