@Experimental(value=FILESYSTEM) public interface FileSystemRegistrar
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.
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<FileSystem<?>> |
fromOptions(PipelineOptions options)
Create zero or more
filesystems from the given PipelineOptions . |
java.lang.Iterable<FileSystem<?>> fromOptions(PipelineOptions options)
filesystems
from the given PipelineOptions
.
Each scheme
is required to be unique among all FileSystem
s registered by all FileSystemRegistrar
s.