Package org.apache.beam.sdk.io
Interface FileSystemRegistrar
-
- All Known Implementing Classes:
ClassLoaderFileSystem.ClassLoaderFileSystemRegistrar
,LocalFileSystemRegistrar
@Experimental(FILESYSTEM) public interface FileSystemRegistrar
A registrar that createsFileSystem
instances fromPipelineOptions
.FileSystem
creators have the ability to provide a registrar by creating aServiceLoader
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Iterable<FileSystem<?>>
fromOptions(PipelineOptions options)
Create zero or morefilesystems
from the givenPipelineOptions
.
-
-
-
Method Detail
-
fromOptions
java.lang.Iterable<FileSystem<?>> fromOptions(PipelineOptions options)
Create zero or morefilesystems
from the givenPipelineOptions
.Each
scheme
is required to be unique among allFileSystem
s registered by allFileSystemRegistrar
s.
-
-