T
- the type of the object to create@NotThreadSafe public abstract class CreatePathOptions<T> extends Object
Modifier and Type | Field and Description |
---|---|
protected CommonOptions |
mCommonOptions |
protected String |
mGroup |
protected boolean |
mMetadataLoad |
protected Mode |
mMode |
protected boolean |
mMountPoint |
protected long |
mOperationTimeMs |
protected String |
mOwner |
protected boolean |
mPersisted |
protected boolean |
mRecursive |
Modifier | Constructor and Description |
---|---|
protected |
CreatePathOptions() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
CommonOptions |
getCommonOptions() |
String |
getGroup() |
Mode |
getMode() |
long |
getOperationTimeMs() |
String |
getOwner() |
protected abstract T |
getThis() |
int |
hashCode() |
boolean |
isMetadataLoad() |
boolean |
isMountPoint() |
boolean |
isPersisted() |
boolean |
isRecursive() |
T |
setCommonOptions(CommonOptions options) |
T |
setGroup(String group) |
T |
setMetadataLoad(boolean metadataLoad) |
T |
setMode(Mode mode) |
T |
setMountPoint(boolean mountPoint) |
T |
setOperationTimeMs(long operationTimeMs) |
T |
setOwner(String owner) |
T |
setPersisted(boolean persisted) |
T |
setRecursive(boolean recursive) |
protected com.google.common.base.Objects.ToStringHelper |
toStringHelper() |
protected CommonOptions mCommonOptions
protected boolean mMountPoint
protected long mOperationTimeMs
protected String mOwner
protected String mGroup
protected Mode mMode
protected boolean mPersisted
protected boolean mRecursive
protected boolean mMetadataLoad
protected abstract T getThis()
public CommonOptions getCommonOptions()
public long getOperationTimeMs()
public boolean isMountPoint()
public String getOwner()
public String getGroup()
public Mode getMode()
public boolean isPersisted()
public boolean isRecursive()
public boolean isMetadataLoad()
public T setCommonOptions(CommonOptions options)
options
- the common optionspublic T setMountPoint(boolean mountPoint)
mountPoint
- the mount point flag to use; it specifies whether the object to create is
a mount pointpublic T setOperationTimeMs(long operationTimeMs)
operationTimeMs
- the operation time to usepublic T setOwner(String owner)
owner
- the owner to usepublic T setGroup(String group)
group
- the group to usepublic T setMode(Mode mode)
mode
- the mode to usepublic T setPersisted(boolean persisted)
persisted
- the persisted flag to use; it specifies whether the object to create is
persisted in UFSpublic T setRecursive(boolean recursive)
recursive
- the recursive flag value to use; it specifies whether parent directories
should be created if they do not already existpublic T setMetadataLoad(boolean metadataLoad)
metadataLoad
- the flag value to use; if true, the create path is a result of a
metadata loadprotected com.google.common.base.Objects.ToStringHelper toStringHelper()
Copyright © 2023. All Rights Reserved.