Package net.sansa_stack.hadoop.util
Class FileSystemUtils
java.lang.Object
net.sansa_stack.hadoop.util.FileSystemUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic InputStreamnewInputStream(org.apache.hadoop.fs.Path path, org.apache.hadoop.conf.Configuration conf) static InputStreamnewInputStream(org.apache.hadoop.fs.Path path, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.conf.Configuration conf) static InputStreamnewInputStream(org.apache.hadoop.fs.Path path, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.io.compress.CompressionCodecFactory compressionCodecFactory)
-
Constructor Details
-
FileSystemUtils
public FileSystemUtils()
-
-
Method Details
-
newInputStream
public static InputStream newInputStream(org.apache.hadoop.fs.Path path, org.apache.hadoop.conf.Configuration conf) throws IOException - Throws:
IOException
-
newInputStream
public static InputStream newInputStream(org.apache.hadoop.fs.Path path, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.conf.Configuration conf) throws IOException - Throws:
IOException
-
newInputStream
public static InputStream newInputStream(org.apache.hadoop.fs.Path path, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.io.compress.CompressionCodecFactory compressionCodecFactory) throws IOException - Throws:
IOException
-