public static class DeleteOptions.Builder extends Object
Constructor and Description |
---|
DeleteOptions.Builder(TachyonConf conf)
Creates a new builder for
DeleteOptions . |
Modifier and Type | Method and Description |
---|---|
DeleteOptions |
build()
Builds a new instance of
DeleteOptions . |
DeleteOptions.Builder |
setRecursive(boolean recursive) |
public DeleteOptions.Builder(TachyonConf conf)
DeleteOptions
.conf
- a Tachyon configurationpublic DeleteOptions.Builder 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 build()
DeleteOptions
.DeleteOptions
instanceCopyright © 2015. All Rights Reserved.