Constructor and Description |
---|
HadoopInput(org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration conf)
Construct given a path and a configuration.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
long |
length() |
int |
read(long p,
byte[] b,
int s,
int l) |
public HadoopInput(org.apache.hadoop.fs.Path path, org.apache.hadoop.conf.Configuration conf) throws IOException
IOException
public int read(long p, byte[] b, int s, int l) throws IOException
read
in interface Input
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2009–2021 Cloudera. All rights reserved.