Class PinotFSSpec
- java.lang.Object
-
- org.apache.pinot.spi.ingestion.batch.spec.PinotFSSpec
-
- All Implemented Interfaces:
Serializable
public class PinotFSSpec extends Object implements Serializable
PinotFSSpec defines how to initialize a PinotFS for given scheme.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PinotFSSpec()
-
Method Summary
Modifier and Type Method Description StringgetClassName()Map<String,String>getConfigs()StringgetScheme()voidsetClassName(String className)Class name used to create the PinotFS instance.voidsetConfigs(Map<String,String> configs)voidsetScheme(String scheme)Scheme used to identify a Pinot FileSystem.
-
-
-
Method Detail
-
getScheme
public String getScheme()
-
setScheme
public void setScheme(String scheme)
Scheme used to identify a Pinot FileSystem. It should match the scheme in the file uri for access. E.g. local, hdfs, dbfs, etc- Parameters:
scheme-
-
getClassName
public String getClassName()
-
setClassName
public void setClassName(String className)
Class name used to create the PinotFS instance. E.g. org.apache.pinot.spi.filesystem.LocalPinotFS is used for local filesystem org.apache.pinot.plugin.filesystem.AzurePinotFS is used for Azure Data Lake org.apache.pinot.plugin.filesystem.HadoopPinotFS is used for HDFS- Parameters:
className-
-
-