Interface PathHandle

All Superinterfaces:
Serializable
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@Public @Evolving @FunctionalInterface public interface PathHandle extends Serializable
Opaque, serializable reference to an entity in the FileSystem. May contain metadata sufficient to resolve or verify subsequent accesses independent of other modifications to the FileSystem.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the bytes of this path handle.
    boolean
    equals(Object other)
     
    default byte[]
     
  • Method Details

    • toByteArray

      default byte[] toByteArray()
      Returns:
      Serialized form in bytes.
    • bytes

      ByteBuffer bytes()
      Get the bytes of this path handle.
      Returns:
      the bytes to get to the process completing the upload.
    • equals

      boolean equals(Object other)
      Overrides:
      equals in class Object