Modifier and Type | Field and Description |
---|---|
(package private) List<Map<String,String>> |
maps |
(package private) VariableRegistry |
registry |
Constructor and Description |
---|
ValueLookup(VariableRegistry registry,
FlowFile flowFile,
Map<String,String>... additionalMaps)
Constructs a ValueLookup where values are looked up first based any
provided additional maps, then flowfile properties, then flowfile
attributes, then based on the provided variable registry.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<String,String>> |
entrySet() |
(package private) static Map<String,String> |
extractFlowFileProperties(FlowFile flowFile) |
String |
get(Object key) |
boolean |
isEmpty() |
Set<String> |
keySet() |
String |
put(String key,
String value) |
void |
putAll(Map<? extends String,? extends String> m) |
String |
remove(Object key) |
int |
size() |
Collection<String> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
final VariableRegistry registry
ValueLookup(VariableRegistry registry, FlowFile flowFile, Map<String,String>... additionalMaps)
registry
- the variable registry to lookup from; may be nullflowFile
- the flowFile to pull attributes from; may be nulladditionalMaps
- the maps to pull values from; may be null or emptystatic final Map<String,String> extractFlowFileProperties(FlowFile flowFile)
public boolean containsKey(Object key)
containsKey
in interface Map<String,String>
public boolean containsValue(Object value)
containsValue
in interface Map<String,String>
Copyright © 2016 Apache NiFi Project. All rights reserved.