@InterfaceAudience.Public @InterfaceStability.Unstable public final class DirEntry extends Object implements Serializable
Constructor and Description |
---|
DirEntry(Path dir,
int type,
int level)
Construct an entry.
|
DirEntry(String dir,
int type,
int level)
Construct an entry.
|
Modifier and Type | Method and Description |
---|---|
static DirEntry |
dirEntry(Path dest,
org.apache.hadoop.mapreduce.lib.output.committer.manifest.files.EntryStatus type,
int level)
A directory entry.
|
static DirEntry |
dirEntry(Path dest,
int type,
int level)
A directory entry.
|
boolean |
equals(Object o) |
Path |
getDestPath() |
String |
getDir() |
int |
getLevel() |
org.apache.hadoop.mapreduce.lib.output.committer.manifest.files.EntryStatus |
getStatus() |
int |
getType() |
int |
hashCode() |
void |
setDir(String dir) |
void |
setLevel(int level) |
void |
setStatus(org.apache.hadoop.mapreduce.lib.output.committer.manifest.files.EntryStatus status) |
void |
setType(int type) |
String |
toString() |
void |
validate() |
public DirEntry(String dir, int type, int level)
dir
- destination path.type
- type of dest entrylevel
- Level in the treewalk.public DirEntry(Path dir, int type, int level)
dir
- destination path.type
- type of dest entrylevel
- Level in the treewalk.public void setDir(String dir)
public String getDir()
public Path getDestPath()
public int getType()
public void setType(int type)
public void setLevel(int level)
public int getLevel()
public org.apache.hadoop.mapreduce.lib.output.committer.manifest.files.EntryStatus getStatus()
public void setStatus(org.apache.hadoop.mapreduce.lib.output.committer.manifest.files.EntryStatus status)
public void validate() throws IOException
IOException
public static DirEntry dirEntry(Path dest, int type, int level)
dest
- destination path.type
- typelevel
- Level in the treewalk.Copyright © 2023 Apache Software Foundation. All rights reserved.