public abstract class AbstractCSVLookupService extends AbstractControllerService
| Modifier and Type | Field and Description |
|---|---|
protected String |
charset |
static PropertyDescriptor |
CHARSET |
static PropertyDescriptor |
CSV_FILE |
static PropertyDescriptor |
CSV_FORMAT |
protected String |
csvFile |
protected org.apache.commons.csv.CSVFormat |
csvFormat |
static AllowableValue |
DEFAULT |
static PropertyDescriptor |
IGNORE_DUPLICATES |
protected boolean |
ignoreDuplicates |
protected static String |
KEY |
protected ReentrantLock |
lock |
static PropertyDescriptor |
LOOKUP_KEY_COLUMN |
protected String |
lookupKeyColumn |
protected List<PropertyDescriptor> |
properties |
static AllowableValue |
RFC4180 |
protected SynchronousFileWatcher |
watcher |
| Constructor and Description |
|---|
AbstractCSVLookupService() |
| Modifier and Type | Method and Description |
|---|---|
protected List<PropertyDescriptor> |
getSupportedPropertyDescriptors() |
protected void |
init(ControllerServiceInitializationContext context) |
protected abstract void |
loadCache() |
void |
onEnabled(ConfigurationContext context) |
abstractClearConfigContext, abstractStoreConfigContext, disabled, enabled, getConfigurationContext, getControllerServiceLookup, getIdentifier, getLogger, getNodeTypeProvider, getProperty, getStateManager, initialize, isEnabledcustomValidate, equals, getPropertyDescriptor, getPropertyDescriptors, getSupportedDynamicPropertyDescriptor, hashCode, onPropertyModified, toString, validateclone, finalize, getClass, notify, notifyAll, wait, wait, waitisStatefulgetPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validateprotected static final String KEY
public static final AllowableValue RFC4180
public static final AllowableValue DEFAULT
public static final PropertyDescriptor CSV_FILE
public static final PropertyDescriptor CHARSET
public static final PropertyDescriptor CSV_FORMAT
public static final PropertyDescriptor LOOKUP_KEY_COLUMN
public static final PropertyDescriptor IGNORE_DUPLICATES
protected List<PropertyDescriptor> properties
protected volatile String csvFile
protected volatile org.apache.commons.csv.CSVFormat csvFormat
protected volatile String charset
protected volatile String lookupKeyColumn
protected volatile boolean ignoreDuplicates
protected volatile SynchronousFileWatcher watcher
protected final ReentrantLock lock
protected abstract void loadCache()
throws IllegalStateException,
IOException
IllegalStateExceptionIOExceptionprotected List<PropertyDescriptor> getSupportedPropertyDescriptors()
getSupportedPropertyDescriptors in class AbstractConfigurableComponentprotected void init(ControllerServiceInitializationContext context)
init in class AbstractControllerServicepublic void onEnabled(ConfigurationContext context) throws IOException, InitializationException
IOExceptionInitializationExceptionCopyright © 2022 Apache NiFi Project. All rights reserved.