@PublicApi @NotThreadSafe public final class DeleteOptions extends Object
Modifier and Type | Method and Description |
---|---|
static DeleteOptions |
defaults() |
boolean |
equals(Object o) |
CommonOptions |
getCommonOptions() |
int |
hashCode() |
boolean |
isAlluxioOnly() |
boolean |
isRecursive() |
boolean |
isUnchecked() |
DeleteOptions |
setAlluxioOnly(boolean alluxioOnly) |
DeleteOptions |
setCommonOptions(CommonOptions options) |
DeleteOptions |
setRecursive(boolean recursive) |
DeleteOptions |
setUnchecked(boolean unchecked) |
String |
toString() |
DeleteTOptions |
toThrift() |
public static DeleteOptions defaults()
DeleteOptions
public CommonOptions getCommonOptions()
public boolean isRecursive()
public boolean isAlluxioOnly()
public boolean isUnchecked()
public DeleteOptions setCommonOptions(CommonOptions options)
options
- the common optionspublic DeleteOptions setRecursive(boolean recursive)
recursive
- the recursive flag value to use; if the object to be deleted is a directory,
the flag specifies whether the directory content should be recursively deleted as wellpublic DeleteOptions setAlluxioOnly(boolean alluxioOnly)
alluxioOnly
- the value to use for the flag that indicates whether the file should be
deleted in Alluxio only, or in UFS as wellpublic DeleteOptions setUnchecked(boolean unchecked)
unchecked
- whether to skip UFS sync checkpublic DeleteTOptions toThrift()
Copyright © 2023. All Rights Reserved.