@InterfaceStability.Committed @InterfaceAudience.Public public class SubdocOptionsBuilder extends Object
Sub-document options builder. Options supported are createParents xattr
Constructor and Description |
---|
SubdocOptionsBuilder() |
Modifier and Type | Method and Description |
---|---|
static SubdocOptionsBuilder |
builder() |
boolean |
createParents()
Deprecated.
Please use
createPath() instead, this method will be removed in the next major version. |
SubdocOptionsBuilder |
createParents(boolean createParents)
Deprecated.
Please use
createPath(boolean) instead, this method will be removed in the next major version. |
boolean |
createPath()
Returns true if the intermediate paths should be created.
|
SubdocOptionsBuilder |
createPath(boolean createPath)
Set true/false if the intermediate paths should be created.
|
String |
toString() |
boolean |
xattr()
Get xattr value set on builder
|
SubdocOptionsBuilder |
xattr(boolean xattr)
Set xattr to true to accessing extended attributes, else false.
|
public static SubdocOptionsBuilder builder()
@Deprecated public SubdocOptionsBuilder createParents(boolean createParents)
createPath(boolean)
instead, this method will be removed in the next major version.Set createParents to true to create missing intermediary nodes, else false.
public SubdocOptionsBuilder createPath(boolean createPath)
Set true/false if the intermediate paths should be created.
createPath
- true if they should be created, false otherwise.@Deprecated public boolean createParents()
createPath()
instead, this method will be removed in the next major version.Get createParents value set on builder
public boolean createPath()
Returns true if the intermediate paths should be created.
@InterfaceStability.Committed public SubdocOptionsBuilder xattr(boolean xattr)
Set xattr to true to accessing extended attributes, else false.
public boolean xattr()
Get xattr value set on builder
Copyright © 2015 Couchbase, Inc.