Package com.mapr.fs
Class MapRBlockLocation
- java.lang.Object
-
- org.apache.hadoop.fs.BlockLocation
-
- com.mapr.fs.MapRBlockLocation
-
- All Implemented Interfaces:
java.io.Serializable
public class MapRBlockLocation extends org.apache.hadoop.fs.BlockLocation- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MapRBlockLocation(com.mapr.fs.jni.JNIBlockLocation l)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCid()intgetCinum()static MapRBlockLocationgetLocation(com.mapr.fs.jni.JNIBlockLocation l)static MapRBlockLocation[]getLocation(com.mapr.fs.jni.JNIBlockLocation[] locations)java.lang.StringgetMaster()longgetNumDiskBlocks()intgetUniq()booleanisCorrupt()voidsetCorrupt(boolean corrupt)
-
-
-
Method Detail
-
getCid
public int getCid()
-
getCinum
public int getCinum()
-
getUniq
public int getUniq()
-
getMaster
public java.lang.String getMaster()
-
getNumDiskBlocks
public long getNumDiskBlocks()
-
getLocation
public static MapRBlockLocation getLocation(com.mapr.fs.jni.JNIBlockLocation l)
-
getLocation
public static MapRBlockLocation[] getLocation(com.mapr.fs.jni.JNIBlockLocation[] locations)
-
isCorrupt
public boolean isCorrupt()
- Overrides:
isCorruptin classorg.apache.hadoop.fs.BlockLocation
-
setCorrupt
public void setCorrupt(boolean corrupt)
- Overrides:
setCorruptin classorg.apache.hadoop.fs.BlockLocation
-
-