Class MutationCommand

    • Constructor Detail

      • MutationCommand

        @Deprecated
        public MutationCommand​(Mutation mutation,
                               String path,
                               ByteBuf fragment,
                               boolean createIntermediaryPath)
        Deprecated.
        Create a multi-mutation command.
        Parameters:
        mutation - the mutation type.
        path - the path to mutate inside the document.
        fragment - the target value for the mutation. This will be released when the request is sent.
        createIntermediaryPath - true if missing parts of the path should be created if possible, false otherwise.
      • MutationCommand

        @Deprecated
        public MutationCommand​(Mutation mutation,
                               String path,
                               ByteBuf fragment)
        Deprecated.
        Create a multi-mutation command.
        Parameters:
        mutation - the mutation type.
        path - the path to mutate inside the document.
        fragment - the target value for the mutation. This will be released when the request is sent.
      • MutationCommand

        @Deprecated
        public MutationCommand​(Mutation mutation,
                               String path)
        Deprecated.
        Create a multi-mutation without a fragment (should be restricted to DELETE, not to be confused with an empty string fragment where ByteBuf contains """", or the null fragment where ByteBuf contains "NULL").
        Parameters:
        path - the path to delete inside the document.
    • Method Detail

      • opCode

        public byte opCode()
      • createIntermediaryPath

        public boolean createIntermediaryPath()
      • xattr

        public boolean xattr()
      • expandMacros

        public boolean expandMacros()