Package net.sansa_stack.hadoop.util
Interface SeekableDecorator
-
- All Superinterfaces:
org.apache.hadoop.fs.Seekable
- All Known Implementing Classes:
DeferredSeekablePushbackInputStream
,SeekableInputStream
,SeekablePushbackInputStream
public interface SeekableDecorator extends org.apache.hadoop.fs.Seekable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default long
getPos()
org.apache.hadoop.fs.Seekable
getSeekable()
default void
seek(long l)
default boolean
seekToNewSource(long l)
-
-
-
Method Detail
-
getSeekable
org.apache.hadoop.fs.Seekable getSeekable()
-
seek
default void seek(long l) throws IOException
- Specified by:
seek
in interfaceorg.apache.hadoop.fs.Seekable
- Throws:
IOException
-
getPos
default long getPos() throws IOException
- Specified by:
getPos
in interfaceorg.apache.hadoop.fs.Seekable
- Throws:
IOException
-
seekToNewSource
default boolean seekToNewSource(long l) throws IOException
- Specified by:
seekToNewSource
in interfaceorg.apache.hadoop.fs.Seekable
- Throws:
IOException
-
-