public interface KernelMetadataProvider
FeatureOptimizer
by requesting InputStream
chunks using
openInputStream(int)
method.InputStream
is open
at a time.Modifier and Type | Method and Description |
---|---|
InputStream |
openInputStream(int offset)
Opens an
InputStream starting at the given metadata offset (0 based). |
InputStream openInputStream(int offset) throws IOException
InputStream
starting at the given metadata offset (0 based). Caller is responsible for closing the
InputStream
before calling this method again.offset
- the metadata offset where the InputStream
starts.InputStream
ready to read at the given metadata offset.IOException
- if an IO error occurs when reading from Kernel metadata.