public class FSDataWrappedInputStream extends InputStream implements org.apache.hadoop.fs.Seekable, org.apache.hadoop.fs.PositionedReadable
InputStream to wrap SeekableInputStream for Paimon's input streams.| 构造器和说明 |
|---|
FSDataWrappedInputStream(org.apache.paimon.fs.SeekableInputStream seekableInputStream) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
long |
getPos() |
int |
read() |
int |
read(long position,
byte[] buffer,
int offset,
int length) |
void |
readFully(long position,
byte[] buffer) |
void |
readFully(long position,
byte[] buffer,
int offset,
int length) |
void |
seek(long pos) |
boolean |
seekToNewSource(long targetPos) |
org.apache.paimon.fs.SeekableInputStream |
wrapped() |
available, mark, markSupported, read, read, reset, skippublic FSDataWrappedInputStream(org.apache.paimon.fs.SeekableInputStream seekableInputStream)
public org.apache.paimon.fs.SeekableInputStream wrapped()
public int read()
throws IOException
read 在类中 InputStreamIOExceptionpublic int read(long position,
byte[] buffer,
int offset,
int length)
throws IOException
read 在接口中 org.apache.hadoop.fs.PositionedReadableIOExceptionpublic void readFully(long position,
byte[] buffer,
int offset,
int length)
throws IOException
readFully 在接口中 org.apache.hadoop.fs.PositionedReadableIOExceptionpublic void readFully(long position,
byte[] buffer)
throws IOException
readFully 在接口中 org.apache.hadoop.fs.PositionedReadableIOExceptionpublic void seek(long pos)
throws IOException
seek 在接口中 org.apache.hadoop.fs.SeekableIOExceptionpublic long getPos()
throws IOException
getPos 在接口中 org.apache.hadoop.fs.SeekableIOExceptionpublic boolean seekToNewSource(long targetPos)
seekToNewSource 在接口中 org.apache.hadoop.fs.Seekablepublic void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableclose 在类中 InputStreamIOExceptionCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.