public class SeekableInputStreamWrapper extends Object implements Closeable, org.apache.avro.file.SeekableInput
The wrapper keeps track of the position in the data stream.
| 构造器和说明 |
|---|
SeekableInputStreamWrapper(org.apache.paimon.fs.SeekableInputStream stream,
long len) |
public SeekableInputStreamWrapper(org.apache.paimon.fs.SeekableInputStream stream,
long len)
public long length()
throws IOException
length 在接口中 org.apache.avro.file.SeekableInputIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read 在接口中 org.apache.avro.file.SeekableInputIOExceptionpublic void seek(long p)
throws IOException
seek 在接口中 org.apache.avro.file.SeekableInputIOExceptionpublic long tell()
throws IOException
tell 在接口中 org.apache.avro.file.SeekableInputIOExceptionpublic void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableIOExceptionCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.