Package com.mapr.fs

Class 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
      int getCid()  
      int getCinum()  
      static MapRBlockLocation getLocation​(com.mapr.fs.jni.JNIBlockLocation l)  
      static MapRBlockLocation[] getLocation​(com.mapr.fs.jni.JNIBlockLocation[] locations)  
      java.lang.String getMaster()  
      long getNumDiskBlocks()  
      int getUniq()  
      boolean isCorrupt()  
      void setCorrupt​(boolean corrupt)  
      • Methods inherited from class org.apache.hadoop.fs.BlockLocation

        getCachedHosts, getHosts, getLength, getNames, getOffset, getStorageIds, getStorageTypes, getTopologyPaths, isStriped, setCachedHosts, setHosts, setLength, setNames, setOffset, setStorageIds, setStorageTypes, setTopologyPaths, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MapRBlockLocation

        public MapRBlockLocation​(com.mapr.fs.jni.JNIBlockLocation l)
    • 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:
        isCorrupt in class org.apache.hadoop.fs.BlockLocation
      • setCorrupt

        public void setCorrupt​(boolean corrupt)
        Overrides:
        setCorrupt in class org.apache.hadoop.fs.BlockLocation