Class MutationSpec


  • @Uncommitted
    @Private
    public class MutationSpec
    extends Object
    Internally represents a single mutation in a batch of subdocument mutations.
    Since:
    2.2
    Author:
    Michael Nitschinger, Simon Baslé
    • Method Detail

      • type

        public Mutation type()
        Returns:
        the type of the mutation.
      • path

        public String path()
        Returns:
        the path targeted by the mutation.
      • fragment

        public Object fragment()
        Returns:
        the fragment value to apply as a mutation.
      • createPath

        public boolean createPath()
        Returns:
        true should the mutation create missing intermediary elements in the path (if it supports it).
      • xattr

        public boolean xattr()
        Returns:
        true if accessing extended attributes
      • expandMacros

        public boolean expandMacros()
        Returns:
        true if macros will be expanded for this field