Class ValueMap
java.lang.Object
java.util.AbstractMap<String,Object>
java.util.HashMap<String,Object>
java.util.LinkedHashMap<String,Object>
com.amazonaws.services.dynamodbv2.document.utils.FluentHashMap<String,Object>
com.amazonaws.services.dynamodbv2.document.utils.ValueMap
- All Implemented Interfaces:
Serializable, Cloneable, Map<String,Object>, SequencedMap<String, Object>
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value of the specified key to the given value.withBinary(String key, byte[] val) Sets the value of the specified key in the current ValueMap to the given value.withBinarySet(String key, byte[]... val) Sets the value of the specified key in the current ValueMap to the given value.withBinarySet(String key, Set<byte[]> val) Sets the value of the specified key in the current ValueMap to the given value.withBoolean(String key, boolean val) Sets the value of the specified key in the current ValueMap to the boolean value.Sets the value of the specified key in the current ValueMap to the given value.Sets the value of the specified key in the current ValueMap to the given values as a list.Sets the value of the specified key in the current ValueMap to the given value.Sets the value of the specified key in the current ValueMap to the given value.Sets the value of the specified key in the current ValueMap to the given value.Sets the value of the specified key to null.withNumber(String key, Number val) Sets the value of the specified key in the current ValueMap to the given value.withNumber(String key, BigDecimal val) Sets the value of the specified key in the current ValueMap to the given value.withNumberSet(String key, Number... val) Sets the value of the specified key in the current ValueMap to the given value.withNumberSet(String key, BigDecimal... val) Sets the value of the specified key in the current ValueMap to the given value.withNumberSet(String key, Set<BigDecimal> val) Sets the value of the specified key in the current ValueMap to the given value.withString(String key, String val) Sets the value of the specified key in the current ValueMap to the given value.withStringSet(String key, String... val) Sets the value of the specified key in the current ValueMap to the given value.withStringSet(String key, Set<String> val) Sets the value of the specified key in the current ValueMap to the given value.Methods inherited from class FluentHashMap
deleteMethods inherited from class LinkedHashMap
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, newLinkedHashMap, putFirst, putLast, removeEldestEntry, replaceAll, reversed, sequencedEntrySet, sequencedKeySet, sequencedValues, valuesMethods inherited from class HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, newHashMap, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeMethods inherited from class AbstractMap
equals, hashCode, toStringMethods inherited from interface Map
compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeMethods inherited from interface SequencedMap
firstEntry, lastEntry, pollFirstEntry, pollLastEntry
-
Constructor Details
-
ValueMap
public ValueMap()
-
-
Method Details
-
withString
-
withNumber
Sets the value of the specified key in the current ValueMap to the given value. -
withNumber
-
withInt
-
withLong
-
withBinary
-
withStringSet
-
withStringSet
-
withNumberSet
Sets the value of the specified key in the current ValueMap to the given value. -
withNumberSet
Sets the value of the specified key in the current ValueMap to the given value. -
withNumberSet
-
withBinarySet
-
withBinarySet
-
withList
-
withList
-
withMap
-
withBoolean
-
withNull
-
with
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)
-