public class OutboundRow extends Object implements Map<String,SettableValue>
SettableValue| Constructor and Description |
|---|
OutboundRow()
Creates an empty
OutboundRow instance. |
OutboundRow(Map<String,SettableValue> map)
Creates a new
OutboundRow from a Map. |
OutboundRow(String key,
SettableValue value)
Create a
OutboundRow instance initialized with the given key/value pair. |
| Modifier and Type | Method and Description |
|---|---|
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<String,SettableValue>> |
entrySet() |
boolean |
equals(Object o) |
void |
forEach(BiConsumer<? super String,? super SettableValue> action) |
SettableValue |
get(Object key) |
int |
hashCode() |
boolean |
isEmpty() |
Set<String> |
keySet() |
SettableValue |
put(String key,
SettableValue value) |
void |
putAll(Map<? extends String,? 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.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.public int size()
size in interface Map<String,SettableValue>public boolean isEmpty()
isEmpty in interface Map<String,SettableValue>public boolean containsKey(Object key)
containsKey in interface Map<String,SettableValue>public boolean containsValue(Object value)
containsValue in interface Map<String,SettableValue>public SettableValue get(Object key)
get in interface Map<String,SettableValue>public SettableValue put(String key, SettableValue value)
put in interface Map<String,SettableValue>public SettableValue remove(Object key)
remove in interface Map<String,SettableValue>public void putAll(Map<? extends String,? extends SettableValue> m)
putAll in interface Map<String,SettableValue>public void clear()
clear in interface Map<String,SettableValue>public Collection<SettableValue> values()
values in interface Map<String,SettableValue>public Set<Map.Entry<String,SettableValue>> entrySet()
entrySet in interface Map<String,SettableValue>public boolean equals(Object o)
public int hashCode()
public void forEach(BiConsumer<? super String,? super SettableValue> action)
forEach in interface Map<String,SettableValue>Copyright © 2018–2019 Pivotal Software, Inc.. All rights reserved.