| Constructor and Description |
|---|
HadoopInput(org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration conf)
Construct given a path and a configuration.
|
public HadoopInput(org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration conf)
throws IOException
IOExceptionpublic long length()
Inputpublic int read(long p,
byte[] b,
int s,
int l)
throws IOException
Inputread in interface InputIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.