@NotThreadSafe public final class LoadMetadataOptions extends Object
Constructor and Description |
---|
LoadMetadataOptions(LoadMetadataTOptions options) |
Modifier and Type | Method and Description |
---|---|
static LoadMetadataOptions |
defaults() |
boolean |
equals(Object o) |
CommonOptions |
getCommonOptions() |
DescendantType |
getLoadDescendantType() |
UfsStatus |
getUfsStatus() |
int |
hashCode() |
boolean |
isCreateAncestors() |
LoadMetadataOptions |
setCommonOptions(CommonOptions options) |
LoadMetadataOptions |
setCreateAncestors(boolean createAncestors)
Sets the recursive flag.
|
LoadMetadataOptions |
setLoadDescendantType(DescendantType loadDescendantType) |
LoadMetadataOptions |
setUfsStatus(UfsStatus status)
Sets the UFS status of path.
|
String |
toString() |
public LoadMetadataOptions(LoadMetadataTOptions options)
options
- the thrift options to create frompublic static LoadMetadataOptions defaults()
LoadMetadataOptions
public CommonOptions getCommonOptions()
public DescendantType getLoadDescendantType()
@Nullable public UfsStatus getUfsStatus()
public boolean isCreateAncestors()
public LoadMetadataOptions setCommonOptions(CommonOptions options)
options
- the common optionspublic LoadMetadataOptions setCreateAncestors(boolean createAncestors)
createAncestors
- the recursive flag value to use; it specifies whether parent directories
should be created if they do not already existpublic LoadMetadataOptions setLoadDescendantType(DescendantType loadDescendantType)
loadDescendantType
- the type of descendants to loadpublic LoadMetadataOptions setUfsStatus(UfsStatus status)
status
- UFS status of pathCopyright © 2023. All Rights Reserved.