Class SubdocOptionsBuilder


  • @Committed
    @Public
    public class SubdocOptionsBuilder
    extends Object
    Sub-document options builder. Options supported are createParents xattr
    Since:
    2.4.2
    Author:
    Subhashni Balakrishnan
    • Constructor Detail

      • SubdocOptionsBuilder

        public SubdocOptionsBuilder()
    • Method Detail

      • createParents

        @Deprecated
        public SubdocOptionsBuilder createParents​(boolean createParents)
        Deprecated.
        Please use createPath(boolean) instead, this method will be removed in the next major version.
        Set createParents to true to create missing intermediary nodes, else false.
      • createPath

        public SubdocOptionsBuilder createPath​(boolean createPath)
        Set true/false if the intermediate paths should be created.
        Parameters:
        createPath - true if they should be created, false otherwise.
        Returns:
        this builder for chaining purposes.
      • createParents

        @Deprecated
        public boolean createParents()
        Deprecated.
        Please use createPath() instead, this method will be removed in the next major version.
        Get createParents value set on builder
      • createPath

        public boolean createPath()
        Returns true if the intermediate paths should be created.
        Returns:
        true if they should be created.
      • xattr

        public boolean xattr()
        Get xattr value set on builder
      • expandMacros

        @Private
        public SubdocOptionsBuilder expandMacros​(boolean expandMacros)
        Controls whether macros such as ${Mutation.CAS} will be expanded by the server for this field. Default is false.
      • expandMacros

        @Private
        public boolean expandMacros()
        Get whether macros will be expanded for this field.