Class MapDocument.MapBuilderInternal

    • Constructor Detail

      • MapBuilderInternal

        public MapBuilderInternal()
    • Method Detail

      • putString

        public Document.MapBuilder putString​(String key,
                                             String stringValue)
        Specified by:
        putString in interface Document.MapBuilder
        Parameters:
        key - Map Key for the Document.
        stringValue - String value which will be used to create a Document to be inserted in a DocumentMap.
        Returns:
        Builder which provides APIs to put Key Value pair to a Document Map.
      • putNumber

        public Document.MapBuilder putNumber​(String key,
                                             SdkNumber numberValue)
        Specified by:
        putNumber in interface Document.MapBuilder
        Parameters:
        key - Map Key for the Document.
        numberValue - Number value which will be used to create a Document to be inserted in a DocumentMap.
        Returns:
        Builder which provides APIs to put Key Value pair to a Document Map.
      • putNumber

        public Document.MapBuilder putNumber​(String key,
                                             int numberValue)
        Specified by:
        putNumber in interface Document.MapBuilder
        Parameters:
        key - Map Key for the Document.
        numberValue - Integer value which will be used to create a Document to be inserted in a DocumentMap.
        Returns:
        Builder which provides APIs to put Key Value pair to a Document Map.
      • putNumber

        public Document.MapBuilder putNumber​(String key,
                                             long numberValue)
        Specified by:
        putNumber in interface Document.MapBuilder
        Parameters:
        key - Map Key for the Document.
        numberValue - long value which will be used to create a Document to be inserted in a DocumentMap.
        Returns:
        Builder which provides APIs to put Key Value pair to a Document Map.
      • putNumber

        public Document.MapBuilder putNumber​(String key,
                                             double numberValue)
        Specified by:
        putNumber in interface Document.MapBuilder
        Parameters:
        key - Map Key for the Document.
        numberValue - double value which will be used to create a Document to be inserted in a DocumentMap.
        Returns:
        Builder which provides APIs to put Key Value pair to a Document Map.
      • putNumber

        public Document.MapBuilder putNumber​(String key,
                                             float numberValue)
        Specified by:
        putNumber in interface Document.MapBuilder
        Parameters:
        key - Map Key for the Document.
        numberValue - float value which will be used to create a Document to be inserted in a DocumentMap.
        Returns:
        Builder which provides APIs to put Key Value pair to a Document Map.
      • putNumber

        public Document.MapBuilder putNumber​(String key,
                                             BigDecimal numberValue)
        Specified by:
        putNumber in interface Document.MapBuilder
        Parameters:
        key - Map Key for the Document.
        numberValue - BigDecimal value which will be used to create a Document to be inserted in a DocumentMap.
        Returns:
        Builder which provides APIs to put Key Value pair to a Document Map.
      • putNumber

        public Document.MapBuilder putNumber​(String key,
                                             BigInteger numberValue)
        Specified by:
        putNumber in interface Document.MapBuilder
        Parameters:
        key - Map Key for the Document.
        numberValue - BigInteger value which will be used to create a Document to be inserted in a DocumentMap.
        Returns:
        Builder which provides APIs to put Key Value pair to a Document Map.
      • putNumber

        public Document.MapBuilder putNumber​(String key,
                                             String numberValue)
        Specified by:
        putNumber in interface Document.MapBuilder
        Parameters:
        key - Map Key for the Document.
        numberValue - String value which will be used to create a Document to be inserted in a DocumentMap.
        Returns:
        Builder which provides APIs to put Key Value pair to a Document Map.
      • putBoolean

        public Document.MapBuilder putBoolean​(String key,
                                              boolean booleanValue)
        Specified by:
        putBoolean in interface Document.MapBuilder
        Parameters:
        key - Map Key for the Document.
        booleanValue - Boolean value which will be used to create a Document to be inserted in a DocumentMap.
        Returns:
        Builder which provides APIs to put Key Value pair to a Document Map.
      • putDocument

        public Document.MapBuilder putDocument​(String key,
                                               Document document)
        Specified by:
        putDocument in interface Document.MapBuilder
        Parameters:
        key - Map Key for the Document.
        document - Document to be inserted in a DocumentMap.
        Returns:
        Builder which provides APIs to put Key Value pair to a Document Map.