public interface FieldValue
| Modifier and Type | Method and Description |
|---|---|
RecordField |
getField() |
Optional<FieldValue> |
getParent() |
Optional<Record> |
getParentRecord() |
Object |
getValue() |
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.
|
Object getValue()
RecordField getField()
Optional<FieldValue> getParent()
Optional<Record> getParentRecord()
void updateValue(Object newValue)
newValue - the new value to set on the record fieldvoid updateValue(Object newValue, DataType dataType)
Record.incorporateInactiveFields().newValue - the value to set for the fielddataType - the data type to use if the Record's schema does not already include this fieldCopyright © 2023 Apache NiFi Project. All rights reserved.