public static final class FSImageFormatProtobuf.Loader
extends java.lang.Object
| Modifier and Type | Method | Description |
|---|---|---|
java.io.InputStream |
getInputStreamForSection(FsImageProto.FileSummary.Section section,
java.lang.String compressionCodec) |
Given a FSImage FileSummary.section, return a LimitInput stream set to
the starting position of the section and limited to the section length.
|
org.apache.hadoop.io.MD5Hash |
getLoadedImageMd5() |
|
long |
getLoadedImageTxId() |
|
FSImageFormatProtobuf.LoaderContext |
getLoaderContext() |
public org.apache.hadoop.io.MD5Hash getLoadedImageMd5()
public long getLoadedImageTxId()
public FSImageFormatProtobuf.LoaderContext getLoaderContext()
public java.io.InputStream getInputStreamForSection(FsImageProto.FileSummary.Section section, java.lang.String compressionCodec) throws java.io.IOException
section - The FileSummary.Section containing the offset and lengthcompressionCodec - The compression codec in use, if anyjava.io.IOExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.