Class OutboundRow
java.lang.Object
org.springframework.data.r2dbc.mapping.OutboundRow
- All Implemented Interfaces:
- Cloneable,- Map<SqlIdentifier, Parameter>
Representation of a 
Row to be written through a INSERT or UPDATE statement. Row keys are
 represented as SqlIdentifier. String key names are translated to
 unquoted identifiers when adding or querying for entries.- Author:
- Mark Paluch
- See Also:
- 
Nested Class Summary
- 
Constructor SummaryConstructorsConstructorDescriptionCreates an emptyOutboundRowinstance.OutboundRow(String key, Parameter value) Create aOutboundRowinstance initialized with the given key/value pair.OutboundRow(Map<String, Parameter> map) Creates a newOutboundRowfrom aMap.OutboundRow(SqlIdentifier key, Parameter value) Create aOutboundRowinstance initialized with the given key/value pair.
- 
Method SummaryModifier and TypeMethodDescriptionPut the given key/value pair into thisOutboundRowand return this.append(SqlIdentifier key, Parameter value) Put the given key/value pair into thisOutboundRowand return this.voidclear()protected OutboundRowclone()booleancontainsKey(Object key) booleancontainsValue(Object value) entrySet()booleanvoidforEach(BiConsumer<? super SqlIdentifier, ? super Parameter> action) @Nullable ParameterinthashCode()booleanisEmpty()keySet()put(SqlIdentifier key, Parameter value) voidputAll(Map<? extends SqlIdentifier, ? extends Parameter> m) intsize()toString()values()Methods inherited from class java.lang.Objectfinalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Mapcompute, computeIfAbsent, computeIfPresent, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
- 
Constructor Details- 
OutboundRowpublic OutboundRow()Creates an emptyOutboundRowinstance.
- 
OutboundRowCreates a newOutboundRowfrom aMap.- Parameters:
- map- the map used to initialize the- OutboundRow.
 
- 
OutboundRowCreate aOutboundRowinstance initialized with the given key/value pair.- Parameters:
- key- key.
- value- value.
- See Also:
 
- 
OutboundRowCreate aOutboundRowinstance initialized with the given key/value pair.- Parameters:
- key- key.
- value- value.
- Since:
- 1.1
 
 
- 
- 
Method Details- 
appendPut the given key/value pair into thisOutboundRowand return this. Useful for chaining puts in a single expression:row.append("a", 1).append("b", 2)}- Parameters:
- key- key.
- value- value.
- Returns:
- this
- See Also:
 
- 
appendPut the given key/value pair into thisOutboundRowand return this. Useful for chaining puts in a single expression:row.append("a", 1).append("b", 2)}- Parameters:
- key- key.
- value- value.
- Returns:
- this
- Since:
- 1.1
 
- 
sizepublic int size()- Specified by:
- sizein interface- Map<SqlIdentifier, Parameter>
 
- 
isEmptypublic boolean isEmpty()- Specified by:
- isEmptyin interface- Map<SqlIdentifier, Parameter>
 
- 
clone
- 
containsKey- Specified by:
- containsKeyin interface- Map<SqlIdentifier, Parameter>
 
- 
containsValue- Specified by:
- containsValuein interface- Map<SqlIdentifier, Parameter>
 
- 
get
- 
put
- 
put- Specified by:
- putin interface- Map<SqlIdentifier, Parameter>
 
- 
remove
- 
putAll- Specified by:
- putAllin interface- Map<SqlIdentifier, Parameter>
 
- 
clearpublic void clear()- Specified by:
- clearin interface- Map<SqlIdentifier, Parameter>
 
- 
keySet- Specified by:
- keySetin interface- Map<SqlIdentifier, Parameter>
 
- 
values- Specified by:
- valuesin interface- Map<SqlIdentifier, Parameter>
 
- 
entrySet- Specified by:
- entrySetin interface- Map<SqlIdentifier, Parameter>
 
- 
equals
- 
hashCode
- 
toString
- 
forEach- Specified by:
- forEachin interface- Map<SqlIdentifier, Parameter>
 
 
-