Class TupleBackedMap
java.lang.Object
org.springframework.data.jpa.util.TupleBackedMap
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleancontainsKey(Object key) booleancontainsValue(Object value) entrySet()booleanisEmpty()keySet()voidintsize()static TupleunderscoreAware(Tuple delegate) Creates an underscore-awareTuplewrapper applyingJdbcUtils.convertPropertyNameToUnderscoreName(String)conversion to leniently look up properties from query results whose columns follow snake-case syntax.values()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
TupleBackedMap
-
-
Method Details
-
underscoreAware
Creates an underscore-awareTuplewrapper applyingJdbcUtils.convertPropertyNameToUnderscoreName(String)conversion to leniently look up properties from query results whose columns follow snake-case syntax.- Parameters:
delegate- the tuple to wrap.- Returns:
-
size
-
isEmpty
-
containsKey
If the key is not aStringor not a key of the backingTuplethis returnsfalse. Otherwise this returnstrueeven when the value from the backingTupleisnull.- Specified by:
containsKeyin interfaceMap<String,Object> - Parameters:
key- the key for which to get the value from the map.- Returns:
- whether the key is an element of the backing tuple.
-
containsValue
- Specified by:
containsValuein interfaceMap<String,Object>
-
get
If the key is not aStringor not a key of the backingTuplethis returnsnull. Otherwise the value from the backingTupleis returned, which also might benull. -
put
-
remove
-
putAll
-
clear
-
keySet
-
values
-
entrySet
-