Class RawPathHandle

java.lang.Object
org.apache.hadoop.fs.RawPathHandle
All Implemented Interfaces:
Serializable, PathHandle

@Private @Unstable public final class RawPathHandle extends Object implements PathHandle
Generic format of FileStatus objects. When the origin is unknown, the attributes of the handle are undefined.
See Also:
  • Field Details

  • Constructor Details

    • RawPathHandle

      public RawPathHandle(ByteBuffer fd)
      Store a reference to the given bytes as the serialized form.
      Parameters:
      fd - serialized bytes
    • RawPathHandle

      public RawPathHandle(PathHandle handle)
      Initialize using a copy of bytes from the serialized handle.
      Parameters:
      handle - PathHandle to preserve in serialized form.
  • Method Details