@Private
@Evolving
public class BlockLocalPathInfo
extends java.lang.Object
| Constructor | Description |
|---|---|
BlockLocalPathInfo(ExtendedBlock b,
java.lang.String file,
java.lang.String metafile) |
Constructs BlockLocalPathInfo.
|
| Modifier and Type | Method | Description |
|---|---|---|
ExtendedBlock |
getBlock() |
|
java.lang.String |
getBlockPath() |
Get the Block data file.
|
java.lang.String |
getMetaPath() |
Get the Block metadata file.
|
long |
getNumBytes() |
Get number of bytes in the block.
|
public BlockLocalPathInfo(ExtendedBlock b, java.lang.String file, java.lang.String metafile)
b - The block corresponding to this lock path info.file - Block data file.metafile - Metadata file for the block.public java.lang.String getBlockPath()
public ExtendedBlock getBlock()
public java.lang.String getMetaPath()
public long getNumBytes()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.