private static class ReplaceText.RegexReplace extends Object implements ReplaceText.ReplacementStrategyExecutor
Modifier and Type | Field and Description |
---|---|
private Map<String,String> |
additionalAttrs |
private AttributeValueDecorator |
escapeBackRefDecorator |
private int |
numCapturingGroups |
Constructor and Description |
---|
RegexReplace(String regex) |
Modifier and Type | Method and Description |
---|---|
boolean |
isAllDataBufferedForEntireText() |
FlowFile |
replace(FlowFile flowFile,
ProcessSession session,
ProcessContext context,
String evaluateMode,
Charset charset,
int maxBufferSize) |
private final int numCapturingGroups
private final AttributeValueDecorator escapeBackRefDecorator
public RegexReplace(String regex)
public FlowFile replace(FlowFile flowFile, ProcessSession session, ProcessContext context, String evaluateMode, Charset charset, int maxBufferSize)
replace
in interface ReplaceText.ReplacementStrategyExecutor
public boolean isAllDataBufferedForEntireText()
isAllDataBufferedForEntireText
in interface ReplaceText.ReplacementStrategyExecutor
Copyright © 2020 Apache NiFi Project. All rights reserved.