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