@InterfaceAudience.Public @InterfaceStability.Stable public class AvroFSInput extends Object implements Closeable, org.apache.avro.file.SeekableInput
FSDataInputStream to Avro's SeekableInput interface.| コンストラクタと説明 | 
|---|
| AvroFSInput(FileContext fc,
           Path p)Construct given a  FileContextand aPath. | 
| AvroFSInput(FSDataInputStream in,
           long len)Construct given an  FSDataInputStreamand its length. | 
public AvroFSInput(FSDataInputStream in, long len)
FSDataInputStream and its length.public AvroFSInput(FileContext fc, Path p) throws IOException
FileContext and a Path.IOExceptionpublic long length()
length インタフェース内 org.apache.avro.file.SeekableInputpublic 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 © 2016 Apache Software Foundation. All rights reserved.