Package org.apache.avro.file
Interface SeekableInput
- All Superinterfaces:
AutoCloseable
,Closeable
- All Known Implementing Classes:
FsInput
,SeekableByteArrayInput
,SeekableFileInput
An InputStream that supports seek and tell.
-
Method Summary
-
Method Details
-
seek
Set the position for the nextread()
.- Throws:
IOException
-
tell
Return the position of the nextread()
.- Throws:
IOException
-
length
Return the length of the file.- Throws:
IOException
-
read
Equivalent toInputStream.read(byte[],int,int)
.- Throws:
IOException
-