public class Ks3InputStream
extends org.apache.hadoop.fs.FSInputStream
| 限定符和类型 | 字段和说明 |
|---|---|
static org.slf4j.Logger |
LOG |
| 构造器和说明 |
|---|
Ks3InputStream(String key,
long contentLength,
Ks3FileSystemStore store,
org.apache.hadoop.fs.FileSystem.Statistics stats) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
long |
getPos() |
int |
read() |
int |
read(byte[] buffer,
int offset,
int length) |
void |
seek(long pos) |
boolean |
seekToNewSource(long targetPos) |
available, mark, markSupported, read, reset, skippublic Ks3InputStream(String key, long contentLength, Ks3FileSystemStore store, org.apache.hadoop.fs.FileSystem.Statistics stats)
public void close()
close 在接口中 Closeableclose 在接口中 AutoCloseableclose 在类中 InputStreampublic void seek(long pos)
seek 在接口中 org.apache.hadoop.fs.Seekableseek 在类中 org.apache.hadoop.fs.FSInputStreampublic long getPos()
getPos 在接口中 org.apache.hadoop.fs.SeekablegetPos 在类中 org.apache.hadoop.fs.FSInputStreampublic int read()
throws IOException
read 在类中 InputStreamIOExceptionpublic int read(byte[] buffer,
int offset,
int length)
throws IOException
read 在类中 InputStreamIOExceptionpublic boolean seekToNewSource(long targetPos)
seekToNewSource 在接口中 org.apache.hadoop.fs.SeekableseekToNewSource 在类中 org.apache.hadoop.fs.FSInputStreamCopyright © 2022. All rights reserved.