public < T > AsyncMutateInBuilder insert ( String path , T fragment , SubdocOptionsBuilder optionsBuilder ) { if ( StringUtil . isNullOrEmpty ( path ) ) { throw new IllegalArgumentException ( "Path must not be empty for insert" ) ; } this . mutationSpecs . add ( new MutationSpec ( Mutation . DICT_ADD , path , fragment , optionsBuilder ) ) ; return this ; }
Insert a fragment provided the last element of the path doesn t exist .