java.io.Serializable, org.apache.hadoop.fs.PathHandle@Private
@Unstable
public final class HdfsPathHandle
extends java.lang.Object
implements org.apache.hadoop.fs.PathHandle
| Constructor | Description |
|---|---|
HdfsPathHandle(java.lang.String path,
java.util.Optional<java.lang.Long> inodeId,
java.util.Optional<java.lang.Long> mtime) |
|
HdfsPathHandle(java.nio.ByteBuffer bytes) |
| Modifier and Type | Method | Description |
|---|---|---|
java.nio.ByteBuffer |
bytes() |
|
boolean |
equals(java.lang.Object other) |
|
java.lang.String |
getPath() |
|
int |
hashCode() |
|
java.lang.String |
toString() |
|
void |
verify(HdfsLocatedFileStatus stat) |
public HdfsPathHandle(java.lang.String path,
java.util.Optional<java.lang.Long> inodeId,
java.util.Optional<java.lang.Long> mtime)
public HdfsPathHandle(java.nio.ByteBuffer bytes)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getPath()
public void verify(HdfsLocatedFileStatus stat) throws org.apache.hadoop.fs.InvalidPathHandleException
org.apache.hadoop.fs.InvalidPathHandleExceptionpublic java.nio.ByteBuffer bytes()
bytes in interface org.apache.hadoop.fs.PathHandlepublic boolean equals(java.lang.Object other)
equals in interface org.apache.hadoop.fs.PathHandleequals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2008–2025 Apache Software Foundation. All rights reserved.