public class MapRFsFactory extends Object implements FileSystemFactory
This factory tries to reflectively instantiate the MapR file system. It can only be used when the MapR FS libraries are in the classpath.
Constructor and Description |
---|
MapRFsFactory() |
Modifier and Type | Method and Description |
---|---|
FileSystem |
create(URI fsUri)
Creates a new file system for the given file system URI.
|
String |
getScheme()
Gets the scheme of the file system created by this factory.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
configure, getClassLoader
public String getScheme()
FileSystemFactory
getScheme
in interface FileSystemFactory
public FileSystem create(URI fsUri) throws IOException
FileSystemFactory
create
in interface FileSystemFactory
fsUri
- The URI that describes the file system.IOException
- Thrown if the file system could not be instantiated.Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.