@EventDriven @SideEffectFree @SupportsBatching @Tags(value={"binary","discard","keep"}) @InputRequirement(value=INPUT_REQUIRED) @CapabilityDescription(value="Discard byte range at the start and end or all content of a binary file.") public class ModifyBytes extends AbstractProcessor
| Modifier and Type | Field and Description |
|---|---|
static PropertyDescriptor |
END_OFFSET |
private List<PropertyDescriptor> |
propDescriptors |
static Relationship |
REL_SUCCESS |
private Set<Relationship> |
relationships |
static PropertyDescriptor |
REMOVE_ALL |
static PropertyDescriptor |
START_OFFSET |
| Constructor and Description |
|---|
ModifyBytes() |
| Modifier and Type | Method and Description |
|---|---|
Set<Relationship> |
getRelationships() |
protected List<PropertyDescriptor> |
getSupportedPropertyDescriptors() |
void |
onTrigger(ProcessContext context,
ProcessSession session) |
onTriggergetControllerServiceLookup, getIdentifier, getLogger, getNodeTypeProvider, init, initialize, isConfigurationRestored, isScheduled, toString, updateConfiguredRestoredTrue, updateScheduledFalse, updateScheduledTruecustomValidate, equals, getPropertyDescriptor, getPropertyDescriptors, getSupportedDynamicPropertyDescriptor, hashCode, onPropertyModified, validateclone, finalize, getClass, notify, notifyAll, wait, wait, waitisStatefulgetPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validatepublic static final Relationship REL_SUCCESS
private final Set<Relationship> relationships
public static final PropertyDescriptor START_OFFSET
public static final PropertyDescriptor END_OFFSET
public static final PropertyDescriptor REMOVE_ALL
private final List<PropertyDescriptor> propDescriptors
public Set<Relationship> getRelationships()
getRelationships in interface ProcessorgetRelationships in class AbstractSessionFactoryProcessorprotected List<PropertyDescriptor> getSupportedPropertyDescriptors()
getSupportedPropertyDescriptors in class AbstractConfigurableComponentpublic void onTrigger(ProcessContext context, ProcessSession session) throws ProcessException
onTrigger in class AbstractProcessorProcessExceptionCopyright © 2023 Apache NiFi Project. All rights reserved.