public class NativeOssFileSystem.NativeOssFsInputStream
extends org.apache.hadoop.fs.FSInputStream
构造器和说明 |
---|
NativeOssFileSystem.NativeOssFsInputStream(String key) |
限定符和类型 | 方法和说明 |
---|---|
void |
close() |
long |
getPos() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
seek(long newpos) |
boolean |
seekToNewSource(long targetPos) |
available, mark, markSupported, read, reset, skip
public NativeOssFileSystem.NativeOssFsInputStream(String key) throws IOException
IOException
public int read() throws IOException
read
在类中 InputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
在类中 InputStream
IOException
public void close() throws IOException
close
在接口中 Closeable
close
在接口中 AutoCloseable
close
在类中 InputStream
IOException
public void seek(long newpos) throws IOException
seek
在接口中 org.apache.hadoop.fs.Seekable
seek
在类中 org.apache.hadoop.fs.FSInputStream
IOException
public long getPos() throws IOException
getPos
在接口中 org.apache.hadoop.fs.Seekable
getPos
在类中 org.apache.hadoop.fs.FSInputStream
IOException
public boolean seekToNewSource(long targetPos) throws IOException
seekToNewSource
在接口中 org.apache.hadoop.fs.Seekable
seekToNewSource
在类中 org.apache.hadoop.fs.FSInputStream
IOException
Copyright © 2016. All Rights Reserved.