Class ValueMap

    • Constructor Detail

      • ValueMap

        public ValueMap()
    • Method Detail

      • withString

        public ValueMap withString​(String key,
                                   String val)
        Sets the value of the specified key in the current ValueMap to the given value.
      • withNumber

        public ValueMap withNumber​(String key,
                                   BigDecimal val)
        Sets the value of the specified key in the current ValueMap to the given value.
      • withNumber

        public ValueMap withNumber​(String key,
                                   Number val)
        Sets the value of the specified key in the current ValueMap to the given value.
      • withInt

        public ValueMap withInt​(String key,
                                int val)
        Sets the value of the specified key in the current ValueMap to the given value.
      • withLong

        public ValueMap withLong​(String key,
                                 long val)
        Sets the value of the specified key in the current ValueMap to the given value.
      • withBinary

        public ValueMap withBinary​(String key,
                                   byte[] val)
        Sets the value of the specified key in the current ValueMap to the given value.
      • withStringSet

        public ValueMap withStringSet​(String key,
                                      Set<String> val)
        Sets the value of the specified key in the current ValueMap to the given value.
      • withStringSet

        public ValueMap withStringSet​(String key,
                                      String... val)
        Sets the value of the specified key in the current ValueMap to the given value.
      • withNumberSet

        public ValueMap withNumberSet​(String key,
                                      Set<BigDecimal> val)
        Sets the value of the specified key in the current ValueMap to the given value.
      • withNumberSet

        public ValueMap withNumberSet​(String key,
                                      BigDecimal... val)
        Sets the value of the specified key in the current ValueMap to the given value.
      • withNumberSet

        public ValueMap withNumberSet​(String key,
                                      Number... val)
        Sets the value of the specified key in the current ValueMap to the given value.
      • withBinarySet

        public ValueMap withBinarySet​(String key,
                                      Set<byte[]> val)
        Sets the value of the specified key in the current ValueMap to the given value.
      • withBinarySet

        public ValueMap withBinarySet​(String key,
                                      byte[]... val)
        Sets the value of the specified key in the current ValueMap to the given value.
      • withList

        public ValueMap withList​(String key,
                                 List<?> val)
        Sets the value of the specified key in the current ValueMap to the given value.
      • withList

        public ValueMap withList​(String key,
                                 Object... vals)
        Sets the value of the specified key in the current ValueMap to the given values as a list.
      • withMap

        public ValueMap withMap​(String key,
                                Map<String,​?> val)
        Sets the value of the specified key in the current ValueMap to the given value.
      • withBoolean

        public ValueMap withBoolean​(String key,
                                    boolean val)
        Sets the value of the specified key in the current ValueMap to the boolean value.
      • withNull

        public ValueMap withNull​(String key)
        Sets the value of the specified key to null.
      • with

        public ValueMap with​(String key,
                             Object val)
        Sets the value of the specified key to the given value. A value can be a
        • Number
        • String
        • binary (ie byte array or byte buffer)
        • boolean
        • null
        • list (of any of the types on this list)
        • map (with string key to value of any of the types on this list)
        • set (of any of the types on this list)