Package org.apache.hadoop.fs
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.
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 TypeMethodDescriptionbytes()Get the bytes of this path handle.booleandefault 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
-