Class RowDocument
java.lang.Object
org.springframework.data.relational.domain.RowDocument
-
Nested Class Summary
-
Constructor Summary
ConstructorsConstructorDescriptionRowDocument(int expectedSize) RowDocument(Map<String, ? extends Object> map) -
Method Summary
Modifier and TypeMethodDescriptionAppends a new entry (or overwrites an existing value atkey).voidclear()compute(String key, BiFunction<? super String, ? super Object, ?> remappingFunction) computeIfAbsent(String key, Function<? super String, ?> mappingFunction) computeIfPresent(String key, BiFunction<? super String, ? super Object, ?> remappingFunction) booleancontainsKey(Object key) booleancontainsValue(Object value) entrySet()booleanvoidforEach(BiConsumer<? super String, ? super Object> action) getDocument(String key) Retrieve the value atkeyasRowDocument.@Nullable ListRetrieve the value atkeyasList.Retrieve the value atkeyasMap.getOrDefault(Object key, Object defaultValue) inthashCode()booleanisEmpty()keySet()static RowDocumentFactory method to create a RowDocument from a field and value.@Nullable Objectvoid@Nullable ObjectputIfAbsent(String key, Object value) boolean@Nullable ObjectbooleanvoidreplaceAll(BiFunction<? super String, ? super Object, ?> function) intsize()toString()values()
-
Constructor Details
-
RowDocument
public RowDocument() -
RowDocument
public RowDocument(int expectedSize) -
RowDocument
-
-
Method Details
-
of
Factory method to create a RowDocument from a field and value.- Parameters:
field- the file name to use.value- the value to use, can be null.- Returns:
-
getList
Retrieve the value atkeyasList.- Parameters:
key-- Returns:
- the value or null.
- Throws:
ClassCastException- ifkeyholds a value that is not aList.
-
getMap
-
getDocument
Retrieve the value atkeyasRowDocument.- Parameters:
key-- Returns:
- the value or null.
- Throws:
ClassCastException- ifkeyholds a value that is not aRowDocument.
-
size
-
isEmpty
-
containsKey
- Specified by:
containsKeyin interfaceMap<String,Object>
-
containsValue
- Specified by:
containsValuein interfaceMap<String,Object>
-
get
-
put
-
append
Appends a new entry (or overwrites an existing value atkey).- Parameters:
key-value-- Returns:
-
remove
-
putAll
-
clear
-
keySet
-
values
-
entrySet
-
equals
-
hashCode
-
getOrDefault
-
forEach
-
replaceAll
- Specified by:
replaceAllin interfaceMap<String,Object>
-
putIfAbsent
-
remove
-
replace
-
replace
-
computeIfAbsent
-
computeIfPresent
public Object computeIfPresent(String key, BiFunction<? super String, ? super Object, ?> remappingFunction) - Specified by:
computeIfPresentin interfaceMap<String,Object>
-
compute
-
merge
-
toString
-