@PublicApi @NotThreadSafe public final class MkdirsOptions extends Object
Modifier and Type | Method and Description |
---|---|
static MkdirsOptions |
defaults(AlluxioConfiguration conf) |
boolean |
equals(Object o) |
boolean |
getCreateParent() |
String |
getGroup() |
Mode |
getMode() |
String |
getOwner() |
int |
hashCode() |
MkdirsOptions |
setCreateParent(boolean createParent)
Sets option to create parent directories.
|
MkdirsOptions |
setGroup(String group) |
MkdirsOptions |
setMode(Mode mode) |
MkdirsOptions |
setOwner(String owner) |
String |
toString() |
public static MkdirsOptions defaults(AlluxioConfiguration conf)
conf
- Alluxio configurationMkdirsOptions
public boolean getCreateParent()
public String getOwner()
public String getGroup()
public Mode getMode()
public MkdirsOptions setCreateParent(boolean createParent)
createParent
- if true, creates any necessary but nonexistent parent directoriespublic MkdirsOptions setOwner(String owner)
owner
- the owner to setpublic MkdirsOptions setGroup(String group)
group
- the group to setpublic MkdirsOptions setMode(Mode mode)
mode
- the mode to setCopyright © 2023. All Rights Reserved.