Class HdfsPathHandle

java.lang.Object
org.apache.hadoop.hdfs.protocol.HdfsPathHandle
All Implemented Interfaces:
Serializable, org.apache.hadoop.fs.PathHandle

@Private @Unstable public final class HdfsPathHandle extends Object implements org.apache.hadoop.fs.PathHandle
Opaque handle to an entity in HDFS.
See Also:
  • Constructor Details

  • Method Details

    • getPath

      public String getPath()
    • verify

      public void verify(HdfsLocatedFileStatus stat) throws org.apache.hadoop.fs.InvalidPathHandleException
      Throws:
      org.apache.hadoop.fs.InvalidPathHandleException
    • bytes

      public ByteBuffer bytes()
      Specified by:
      bytes in interface org.apache.hadoop.fs.PathHandle
    • equals

      public boolean equals(Object other)
      Specified by:
      equals in interface org.apache.hadoop.fs.PathHandle
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object