public class FSDataInputStreamWrapper extends Object implements Closeable, org.apache.avro.file.SeekableInput
| Constructor and Description |
|---|
FSDataInputStreamWrapper(org.apache.flink.core.fs.FSDataInputStream stream,
long len) |
public FSDataInputStreamWrapper(org.apache.flink.core.fs.FSDataInputStream stream,
long len)
public long length()
throws IOException
length in interface org.apache.avro.file.SeekableInputIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in interface org.apache.avro.file.SeekableInputIOExceptionpublic void seek(long p)
throws IOException
seek in interface org.apache.avro.file.SeekableInputIOExceptionpublic long tell()
throws IOException
tell in interface org.apache.avro.file.SeekableInputIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2014–2017 The Apache Software Foundation. All rights reserved.