public class HadoopInput extends Object implements Input
FSDataInputStream
to Trevni's Input
.Constructor and Description |
---|
HadoopInput(Path path,
Configuration conf)
Construct given a path and a configuration.
|
public HadoopInput(Path path, Configuration conf) throws IOException
IOException
public long length()
Input
public int read(long p, byte[] b, int s, int l) throws IOException
Input
read
in interface Input
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2009–2017 The Apache Software Foundation. All rights reserved.