Package org.apache.hadoop.fs
Class RawPathHandle
java.lang.Object
org.apache.hadoop.fs.RawPathHandle
- All Implemented Interfaces:
Serializable,PathHandle
Generic format of FileStatus objects. When the origin is unknown, the
attributes of the handle are undefined.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionStore a reference to the given bytes as the serialized form.RawPathHandle(PathHandle handle) Initialize using a copy of bytes from the serialized handle. -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.hadoop.fs.PathHandle
toByteArray
-
Field Details
-
MAX_SIZE
public static final int MAX_SIZE- See Also:
-
-
Constructor Details
-
RawPathHandle
Store a reference to the given bytes as the serialized form.- Parameters:
fd- serialized bytes
-
RawPathHandle
Initialize using a copy of bytes from the serialized handle.- Parameters:
handle- PathHandle to preserve in serialized form.
-
-
Method Details
-
bytes
Description copied from interface:PathHandleGet the bytes of this path handle.- Specified by:
bytesin interfacePathHandle- Returns:
- the bytes to get to the process completing the upload.
-
equals
- Specified by:
equalsin interfacePathHandle- Overrides:
equalsin classObject
-
hashCode
public int hashCode() -
toString
-