Package org.apache.beam.sdk.io
Interface FileSystemRegistrar
- All Known Implementing Classes:
AzureBlobStoreFileSystemRegistrar,ClassLoaderFileSystem.ClassLoaderFileSystemRegistrar,GcsFileSystemRegistrar,HadoopFileSystemRegistrar,LocalFileSystemRegistrar,S3FileSystemRegistrar
public interface FileSystemRegistrar
A registrar that creates
FileSystem instances from PipelineOptions.
FileSystem creators have the ability to provide a registrar by creating a ServiceLoader entry and a concrete implementation of this interface.
It is optional but recommended to use one of the many build time tools such as AutoService to generate the necessary META-INF files automatically.
-
Method Summary
Modifier and TypeMethodDescriptionIterable<FileSystem<?>> fromOptions(PipelineOptions options) Create zero or morefilesystemsfrom the givenPipelineOptions.
-
Method Details
-
fromOptions
Create zero or morefilesystemsfrom the givenPipelineOptions.Each
schemeis required to be unique among allFileSystems registered by allFileSystemRegistrars.
-