public class MapEntryFieldValue extends StandardFieldValue
| Constructor and Description |
|---|
MapEntryFieldValue(Object value,
RecordField field,
FieldValue parent,
String mapKey) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getMapKey() |
int |
hashCode() |
void |
updateValue(Object newValue)
Updates the record to which the field belongs, so that it now has the given value.
|
void |
updateValue(Object newValue,
DataType dataType)
Updates the record to which the field belongs, so that it now has the given value.
|
getField, getParent, getParentRecord, getValue, toString, validateParentRecordprivate final String mapKey
public MapEntryFieldValue(Object value, RecordField field, FieldValue parent, String mapKey)
public String getMapKey()
public void updateValue(Object newValue)
FieldValueupdateValue in interface FieldValueupdateValue in class StandardFieldValuenewValue - the new value to set on the record fieldpublic void updateValue(Object newValue, DataType dataType)
FieldValueRecord.incorporateInactiveFields().updateValue in interface FieldValueupdateValue in class StandardFieldValuenewValue - the value to set for the fielddataType - the data type to use if the Record's schema does not already include this fieldpublic int hashCode()
hashCode in class StandardFieldValuepublic boolean equals(Object obj)
equals in class StandardFieldValueCopyright © 2023 Apache NiFi Project. All rights reserved.