@Deprecated public class OssInputStream extends org.apache.hadoop.fs.FSInputStream
构造器和说明 |
---|
OssInputStream(org.apache.hadoop.conf.Configuration conf,
FileSystemStore store,
INode inode)
已过时。
|
OssInputStream(org.apache.hadoop.conf.Configuration conf,
FileSystemStore store,
INode inode,
org.apache.hadoop.fs.FileSystem.Statistics stats)
已过时。
|
限定符和类型 | 方法和说明 |
---|---|
int |
available()
已过时。
|
void |
close()
已过时。
|
long |
getPos()
已过时。
|
void |
mark(int readLimit)
已过时。
|
boolean |
markSupported()
已过时。
We don't support marks.
|
int |
read()
已过时。
|
int |
read(byte[] buf,
int off,
int len)
已过时。
|
void |
reset()
已过时。
|
void |
seek(long targetPos)
已过时。
|
boolean |
seekToNewSource(long targetPos)
已过时。
|
read, skip
@Deprecated public OssInputStream(org.apache.hadoop.conf.Configuration conf, FileSystemStore store, INode inode)
public OssInputStream(org.apache.hadoop.conf.Configuration conf, FileSystemStore store, INode inode, org.apache.hadoop.fs.FileSystem.Statistics stats)
public long getPos() throws IOException
getPos
在接口中 org.apache.hadoop.fs.Seekable
getPos
在类中 org.apache.hadoop.fs.FSInputStream
IOException
public int available() throws IOException
available
在类中 InputStream
IOException
public void seek(long targetPos) throws IOException
seek
在接口中 org.apache.hadoop.fs.Seekable
seek
在类中 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
public int read() throws IOException
read
在类中 InputStream
IOException
public int read(byte[] buf, int off, int len) throws IOException
read
在类中 InputStream
IOException
public void close() throws IOException
close
在接口中 Closeable
close
在接口中 AutoCloseable
close
在类中 InputStream
IOException
public boolean markSupported()
markSupported
在类中 InputStream
public void mark(int readLimit)
mark
在类中 InputStream
public void reset() throws IOException
reset
在类中 InputStream
IOException
Copyright © 2016. All Rights Reserved.