Package org.apache.parquet.cli
Class HadoopFileSystemURLStreamHandler
- java.lang.Object
-
- java.net.URLStreamHandler
-
- org.apache.parquet.cli.HadoopFileSystemURLStreamHandler
-
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable
public class HadoopFileSystemURLStreamHandler extends URLStreamHandler implements org.apache.hadoop.conf.Configurable
AURLStreamHandlerfor handling Hadoop filesystem URLs, most commonly those with the hdfs scheme.
-
-
Constructor Summary
Constructors Constructor Description HadoopFileSystemURLStreamHandler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.hadoop.conf.ConfigurationgetConf()static org.apache.hadoop.conf.ConfigurationgetDefaultConf()protected URLConnectionopenConnection(URL url)voidsetConf(org.apache.hadoop.conf.Configuration conf)static voidsetDefaultConf(org.apache.hadoop.conf.Configuration defaultConf)-
Methods inherited from class java.net.URLStreamHandler
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalForm
-
-
-
-
Method Detail
-
getDefaultConf
public static org.apache.hadoop.conf.Configuration getDefaultConf()
-
setDefaultConf
public static void setDefaultConf(org.apache.hadoop.conf.Configuration defaultConf)
-
setConf
public void setConf(org.apache.hadoop.conf.Configuration conf)
- Specified by:
setConfin interfaceorg.apache.hadoop.conf.Configurable
-
getConf
public org.apache.hadoop.conf.Configuration getConf()
- Specified by:
getConfin interfaceorg.apache.hadoop.conf.Configurable
-
openConnection
protected URLConnection openConnection(URL url) throws IOException
- Specified by:
openConnectionin classURLStreamHandler- Throws:
IOException
-
-