public abstract class AbstractRecordProcessor extends AbstractProcessor
Modifier and Type | Field and Description |
---|---|
(package private) static PropertyDescriptor |
INCLUDE_ZERO_RECORD_FLOWFILES |
(package private) static PropertyDescriptor |
RECORD_READER |
(package private) static PropertyDescriptor |
RECORD_WRITER |
(package private) static Relationship |
REL_FAILURE |
(package private) static Relationship |
REL_SUCCESS |
Constructor and Description |
---|
AbstractRecordProcessor() |
Modifier and Type | Method and Description |
---|---|
Set<Relationship> |
getRelationships() |
protected List<PropertyDescriptor> |
getSupportedPropertyDescriptors() |
void |
onTrigger(ProcessContext context,
ProcessSession session) |
protected abstract Record |
process(Record record,
FlowFile flowFile,
ProcessContext context,
long count) |
onTrigger
getControllerServiceLookup, getIdentifier, getLogger, getNodeTypeProvider, init, initialize, isConfigurationRestored, isScheduled, toString, updateConfiguredRestoredTrue, updateScheduledFalse, updateScheduledTrue
customValidate, equals, getPropertyDescriptor, getPropertyDescriptors, getSupportedDynamicPropertyDescriptor, hashCode, onPropertyModified, validate
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validate
static final PropertyDescriptor RECORD_READER
static final PropertyDescriptor RECORD_WRITER
static final PropertyDescriptor INCLUDE_ZERO_RECORD_FLOWFILES
static final Relationship REL_SUCCESS
static final Relationship REL_FAILURE
protected List<PropertyDescriptor> getSupportedPropertyDescriptors()
getSupportedPropertyDescriptors
in class AbstractConfigurableComponent
public Set<Relationship> getRelationships()
getRelationships
in interface Processor
getRelationships
in class AbstractSessionFactoryProcessor
public void onTrigger(ProcessContext context, ProcessSession session) throws ProcessException
onTrigger
in class AbstractProcessor
ProcessException
protected abstract Record process(Record record, FlowFile flowFile, ProcessContext context, long count)
Copyright © 2020 Apache NiFi Project. All rights reserved.