public class HadoopInput extends Object implements org.apache.trevni.Input
FSDataInputStream to Trevni's Input.| Constructor and Description |
|---|
HadoopInput(Path path,
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(Path path, Configuration conf) throws IOException
IOExceptionpublic long length()
length in interface org.apache.trevni.Inputpublic int read(long p,
byte[] b,
int s,
int l)
throws IOException
read in interface org.apache.trevni.InputIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2009–2025 The Apache Software Foundation. All rights reserved.