Package org.apache.nifi.lookup
Class DistributedMapCacheLookupService
java.lang.Object
org.apache.nifi.components.AbstractConfigurableComponent
org.apache.nifi.controller.AbstractControllerService
org.apache.nifi.lookup.DistributedMapCacheLookupService
- All Implemented Interfaces:
org.apache.nifi.components.ConfigurableComponent,org.apache.nifi.controller.ControllerService,LookupService<String>,StringLookupService
@Tags({"lookup","enrich","key","value","map","cache","distributed"})
@CapabilityDescription("Allows to choose a distributed map cache client to retrieve the value associated to a key. The coordinates that are passed to the lookup must contain the key \'key\'.")
public class DistributedMapCacheLookupService
extends org.apache.nifi.controller.AbstractControllerService
implements StringLookupService
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate DistributedMapCacheClientstatic final org.apache.nifi.components.PropertyDescriptorprivate static Charsetprivate static final Stringprivate final Serializer<String> static final org.apache.nifi.components.PropertyDescriptorprivate static final List<org.apache.nifi.components.PropertyDescriptor> private final Deserializer<String> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.nifi.controller.AbstractControllerService
abstractClearConfigContext, abstractStoreConfigContext, disabled, enabled, getConfigurationContext, getControllerServiceLookup, getIdentifier, getLogger, getNodeTypeProvider, getProperty, getStateManager, init, initialize, isEnabledMethods inherited from class org.apache.nifi.components.AbstractConfigurableComponent
customValidate, equals, getPropertyDescriptor, getPropertyDescriptors, getSupportedDynamicPropertyDescriptor, hashCode, onPropertyModified, toString, validateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.nifi.components.ConfigurableComponent
getIdentifier, getPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validateMethods inherited from interface org.apache.nifi.controller.ControllerService
initialize, isStateful, migratePropertiesMethods inherited from interface org.apache.nifi.lookup.LookupService
lookupMethods inherited from interface org.apache.nifi.lookup.StringLookupService
getValueType
-
Field Details
-
STANDARD_CHARSETS
-
KEY
- See Also:
-
REQUIRED_KEYS
-
cache
-
charset
-
keySerializer
-
valueDeserializer
-
PROP_DISTRIBUTED_CACHE_SERVICE
public static final org.apache.nifi.components.PropertyDescriptor PROP_DISTRIBUTED_CACHE_SERVICE -
CHARACTER_ENCODING
public static final org.apache.nifi.components.PropertyDescriptor CHARACTER_ENCODING -
PROPERTY_DESCRIPTORS
-
-
Constructor Details
-
DistributedMapCacheLookupService
public DistributedMapCacheLookupService()
-
-
Method Details
-
getStandardCharsetNames
-
onEnabled
@OnEnabled public void onEnabled(org.apache.nifi.controller.ConfigurationContext context) -
getSupportedPropertyDescriptors
- Overrides:
getSupportedPropertyDescriptorsin classorg.apache.nifi.components.AbstractConfigurableComponent
-
lookup
- Specified by:
lookupin interfaceLookupService<String>
-
getRequiredKeys
- Specified by:
getRequiredKeysin interfaceLookupService<String>
-