public class OutboundRow extends Object implements Map<org.springframework.data.relational.core.sql.SqlIdentifier,SettableValue>
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.SqlIdentifier,
SettableValue| Constructor and Description |
|---|
OutboundRow()
Creates an empty
OutboundRow instance. |
OutboundRow(Map<String,SettableValue> map)
Creates a new
OutboundRow from a Map. |
OutboundRow(org.springframework.data.relational.core.sql.SqlIdentifier key,
SettableValue value)
Create a
OutboundRow instance initialized with the given key/value pair. |
OutboundRow(String key,
SettableValue value)
Create a
OutboundRow instance initialized with the given key/value pair. |
| Modifier and Type | Method and Description |
|---|---|
OutboundRow |
append(org.springframework.data.relational.core.sql.SqlIdentifier key,
SettableValue value)
Put the given key/value pair into this
OutboundRow and return this. |
OutboundRow |
append(String key,
SettableValue value)
Put the given key/value pair into this
OutboundRow and return this. |
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<org.springframework.data.relational.core.sql.SqlIdentifier,SettableValue>> |
entrySet() |
boolean |
equals(Object o) |
void |
forEach(BiConsumer<? super org.springframework.data.relational.core.sql.SqlIdentifier,? super SettableValue> action) |
SettableValue |
get(Object key) |
int |
hashCode() |
boolean |
isEmpty() |
Set<org.springframework.data.relational.core.sql.SqlIdentifier> |
keySet() |
SettableValue |
put(org.springframework.data.relational.core.sql.SqlIdentifier key,
SettableValue value) |
SettableValue |
put(String key,
SettableValue value) |
void |
putAll(Map<? extends org.springframework.data.relational.core.sql.SqlIdentifier,? extends SettableValue> m) |
SettableValue |
remove(Object key) |
int |
size() |
String |
toString() |
Collection<SettableValue> |
values() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic OutboundRow()
OutboundRow instance.public OutboundRow(Map<String,SettableValue> map)
OutboundRow from a Map.map - the map used to initialize the OutboundRow.public OutboundRow(String key, SettableValue value)
OutboundRow instance initialized with the given key/value pair.key - key.value - value.SqlIdentifier.unquoted(String)public OutboundRow(org.springframework.data.relational.core.sql.SqlIdentifier key,
SettableValue value)
OutboundRow instance initialized with the given key/value pair.key - key.value - value.public OutboundRow append(String key, SettableValue value)
OutboundRow and return this. Useful for chaining puts in a single
expression:
row.append("a", 1).append("b", 2)}
key - key.value - value.SqlIdentifier.unquoted(String)public OutboundRow append(org.springframework.data.relational.core.sql.SqlIdentifier key, SettableValue value)
OutboundRow and return this. Useful for chaining puts in a single
expression:
row.append("a", 1).append("b", 2)}
key - key.value - value.public int size()
size in interface Map<org.springframework.data.relational.core.sql.SqlIdentifier,SettableValue>public boolean isEmpty()
isEmpty in interface Map<org.springframework.data.relational.core.sql.SqlIdentifier,SettableValue>public boolean containsKey(Object key)
containsKey in interface Map<org.springframework.data.relational.core.sql.SqlIdentifier,SettableValue>public boolean containsValue(Object value)
containsValue in interface Map<org.springframework.data.relational.core.sql.SqlIdentifier,SettableValue>public SettableValue get(Object key)
get in interface Map<org.springframework.data.relational.core.sql.SqlIdentifier,SettableValue>public SettableValue put(String key, SettableValue value)
public SettableValue put(org.springframework.data.relational.core.sql.SqlIdentifier key, SettableValue value)
put in interface Map<org.springframework.data.relational.core.sql.SqlIdentifier,SettableValue>public SettableValue remove(Object key)
remove in interface Map<org.springframework.data.relational.core.sql.SqlIdentifier,SettableValue>public void putAll(Map<? extends org.springframework.data.relational.core.sql.SqlIdentifier,? extends SettableValue> m)
putAll in interface Map<org.springframework.data.relational.core.sql.SqlIdentifier,SettableValue>public void clear()
clear in interface Map<org.springframework.data.relational.core.sql.SqlIdentifier,SettableValue>public Set<org.springframework.data.relational.core.sql.SqlIdentifier> keySet()
keySet in interface Map<org.springframework.data.relational.core.sql.SqlIdentifier,SettableValue>public Collection<SettableValue> values()
values in interface Map<org.springframework.data.relational.core.sql.SqlIdentifier,SettableValue>public Set<Map.Entry<org.springframework.data.relational.core.sql.SqlIdentifier,SettableValue>> entrySet()
entrySet in interface Map<org.springframework.data.relational.core.sql.SqlIdentifier,SettableValue>public boolean equals(Object o)
equals in interface Map<org.springframework.data.relational.core.sql.SqlIdentifier,SettableValue>equals in class Objectpublic int hashCode()
hashCode in interface Map<org.springframework.data.relational.core.sql.SqlIdentifier,SettableValue>hashCode in class Objectpublic void forEach(BiConsumer<? super org.springframework.data.relational.core.sql.SqlIdentifier,? super SettableValue> action)
forEach in interface Map<org.springframework.data.relational.core.sql.SqlIdentifier,SettableValue>Copyright © 2018–2020 Pivotal Software, Inc.. All rights reserved.