Package org.apache.pinot.spi.filesystem
Class PinotFSFactory
- java.lang.Object
-
- org.apache.pinot.spi.filesystem.PinotFSFactory
-
public class PinotFSFactory extends Object
This factory class initializes the PinotFS class. It creates a PinotFS object based on the URI found.
-
-
Field Summary
Fields Modifier and Type Field Description static StringLOCAL_PINOT_FS_SCHEME
-
Method Summary
Modifier and Type Method Description static PinotFScreate(String scheme)static voidinit(PinotConfiguration fsFactoryConfig)static booleanisSchemeSupported(String scheme)static voidregister(String scheme, String fsClassName, PinotConfiguration fsConfiguration)static voidshutdown()
-
-
-
Field Detail
-
LOCAL_PINOT_FS_SCHEME
public static final String LOCAL_PINOT_FS_SCHEME
- See Also:
- Constant Field Values
-
-
Method Detail
-
register
public static void register(String scheme, String fsClassName, PinotConfiguration fsConfiguration)
-
init
public static void init(PinotConfiguration fsFactoryConfig)
-
isSchemeSupported
public static boolean isSchemeSupported(String scheme)
-
shutdown
public static void shutdown() throws IOException- Throws:
IOException
-
-