public class org.apache.nifi.processors.standard.MergeContent extends org.apache.nifi.processor.util.bin.BinFiles
{
public static final java.lang.String FRAGMENT_ID_ATTRIBUTE;
public static final java.lang.String FRAGMENT_INDEX_ATTRIBUTE;
public static final java.lang.String FRAGMENT_COUNT_ATTRIBUTE;
public static final java.lang.String SEGMENT_ID_ATTRIBUTE;
public static final java.lang.String SEGMENT_INDEX_ATTRIBUTE;
public static final java.lang.String SEGMENT_COUNT_ATTRIBUTE;
public static final java.lang.String SEGMENT_ORIGINAL_FILENAME;
public static final org.apache.nifi.components.AllowableValue METADATA_STRATEGY_USE_FIRST;
public static final org.apache.nifi.components.AllowableValue METADATA_STRATEGY_ALL_COMMON;
public static final org.apache.nifi.components.AllowableValue METADATA_STRATEGY_IGNORE;
public static final org.apache.nifi.components.AllowableValue METADATA_STRATEGY_DO_NOT_MERGE;
public static final org.apache.nifi.components.AllowableValue MERGE_STRATEGY_BIN_PACK;
public static final org.apache.nifi.components.AllowableValue MERGE_STRATEGY_DEFRAGMENT;
public static final org.apache.nifi.components.AllowableValue DELIMITER_STRATEGY_FILENAME;
public static final org.apache.nifi.components.AllowableValue DELIMITER_STRATEGY_TEXT;
public static final org.apache.nifi.components.AllowableValue DELIMITER_STRATEGY_NONE;
public static final java.lang.String MERGE_FORMAT_TAR_VALUE;
public static final java.lang.String MERGE_FORMAT_ZIP_VALUE;
public static final java.lang.String MERGE_FORMAT_FLOWFILE_STREAM_V3_VALUE;
public static final java.lang.String MERGE_FORMAT_FLOWFILE_STREAM_V2_VALUE;
public static final java.lang.String MERGE_FORMAT_FLOWFILE_TAR_V1_VALUE;
public static final java.lang.String MERGE_FORMAT_CONCAT_VALUE;
public static final java.lang.String MERGE_FORMAT_AVRO_VALUE;
public static final org.apache.nifi.components.AllowableValue MERGE_FORMAT_TAR;
public static final org.apache.nifi.components.AllowableValue MERGE_FORMAT_ZIP;
public static final org.apache.nifi.components.AllowableValue MERGE_FORMAT_FLOWFILE_STREAM_V3;
public static final org.apache.nifi.components.AllowableValue MERGE_FORMAT_FLOWFILE_STREAM_V2;
public static final org.apache.nifi.components.AllowableValue MERGE_FORMAT_FLOWFILE_TAR_V1;
public static final org.apache.nifi.components.AllowableValue MERGE_FORMAT_CONCAT;
public static final org.apache.nifi.components.AllowableValue MERGE_FORMAT_AVRO;
public static final java.lang.String TAR_PERMISSIONS_ATTRIBUTE;
public static final java.lang.String MERGE_COUNT_ATTRIBUTE;
public static final java.lang.String MERGE_BIN_AGE_ATTRIBUTE;
public static final java.lang.String MERGE_UUID_ATTRIBUTE;
public static final java.lang.String REASON_FOR_MERGING;
public static final org.apache.nifi.components.PropertyDescriptor MERGE_STRATEGY;
public static final org.apache.nifi.components.PropertyDescriptor MERGE_FORMAT;
public static final org.apache.nifi.components.PropertyDescriptor METADATA_STRATEGY;
public static final org.apache.nifi.components.PropertyDescriptor CORRELATION_ATTRIBUTE_NAME;
public static final org.apache.nifi.components.PropertyDescriptor DELIMITER_STRATEGY;
public static final org.apache.nifi.components.PropertyDescriptor HEADER;
public static final org.apache.nifi.components.PropertyDescriptor FOOTER;
public static final org.apache.nifi.components.PropertyDescriptor DEMARCATOR;
public static final org.apache.nifi.components.PropertyDescriptor COMPRESSION_LEVEL;
public static final org.apache.nifi.components.PropertyDescriptor KEEP_PATH;
public static final org.apache.nifi.components.PropertyDescriptor TAR_MODIFIED_TIME;
public static final org.apache.nifi.processor.Relationship REL_MERGED;
public static final java.util.regex.Pattern NUMBER_PATTERN;
public void <init>()
{
org.apache.nifi.processors.standard.MergeContent v;
v := @this: org.apache.nifi.processors.standard.MergeContent;
specialinvoke v.<org.apache.nifi.processor.util.bin.BinFiles: void <init>()>();
return;
}
public java.util.Set getRelationships()
{
java.util.HashSet v;
org.apache.nifi.processor.Relationship v, v, v;
org.apache.nifi.processors.standard.MergeContent v;
v := @this: org.apache.nifi.processors.standard.MergeContent;
v = new java.util.HashSet;
specialinvoke v.<java.util.HashSet: void <init>()>();
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.processor.Relationship REL_ORIGINAL>;
interfaceinvoke v.<java.util.Set: boolean add(java.lang.Object)>(v);
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.processor.Relationship REL_FAILURE>;
interfaceinvoke v.<java.util.Set: boolean add(java.lang.Object)>(v);
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.processor.Relationship REL_MERGED>;
interfaceinvoke v.<java.util.Set: boolean add(java.lang.Object)>(v);
return v;
}
protected java.util.List getSupportedPropertyDescriptors()
{
org.apache.nifi.components.PropertyDescriptor v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v;
java.util.ArrayList v;
org.apache.nifi.processors.standard.MergeContent v;
v := @this: org.apache.nifi.processors.standard.MergeContent;
v = new java.util.ArrayList;
specialinvoke v.<java.util.ArrayList: void <init>()>();
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor MERGE_STRATEGY>;
interfaceinvoke v.<java.util.List: boolean add(java.lang.Object)>(v);
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor MERGE_FORMAT>;
interfaceinvoke v.<java.util.List: boolean add(java.lang.Object)>(v);
v = <org.apache.nifi.processors.standard.merge.AttributeStrategyUtil: org.apache.nifi.components.PropertyDescriptor ATTRIBUTE_STRATEGY>;
interfaceinvoke v.<java.util.List: boolean add(java.lang.Object)>(v);
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor CORRELATION_ATTRIBUTE_NAME>;
interfaceinvoke v.<java.util.List: boolean add(java.lang.Object)>(v);
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor METADATA_STRATEGY>;
interfaceinvoke v.<java.util.List: boolean add(java.lang.Object)>(v);
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor MIN_ENTRIES>;
v = specialinvoke v.<org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor addBinPackingDependency(org.apache.nifi.components.PropertyDescriptor)>(v);
interfaceinvoke v.<java.util.List: boolean add(java.lang.Object)>(v);
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor MAX_ENTRIES>;
v = specialinvoke v.<org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor addBinPackingDependency(org.apache.nifi.components.PropertyDescriptor)>(v);
interfaceinvoke v.<java.util.List: boolean add(java.lang.Object)>(v);
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor MIN_SIZE>;
v = specialinvoke v.<org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor addBinPackingDependency(org.apache.nifi.components.PropertyDescriptor)>(v);
interfaceinvoke v.<java.util.List: boolean add(java.lang.Object)>(v);
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor MAX_SIZE>;
v = specialinvoke v.<org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor addBinPackingDependency(org.apache.nifi.components.PropertyDescriptor)>(v);
interfaceinvoke v.<java.util.List: boolean add(java.lang.Object)>(v);
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor MAX_BIN_AGE>;
interfaceinvoke v.<java.util.List: boolean add(java.lang.Object)>(v);
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor MAX_BIN_COUNT>;
interfaceinvoke v.<java.util.List: boolean add(java.lang.Object)>(v);
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor DELIMITER_STRATEGY>;
interfaceinvoke v.<java.util.List: boolean add(java.lang.Object)>(v);
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor HEADER>;
interfaceinvoke v.<java.util.List: boolean add(java.lang.Object)>(v);
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor FOOTER>;
interfaceinvoke v.<java.util.List: boolean add(java.lang.Object)>(v);
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor DEMARCATOR>;
interfaceinvoke v.<java.util.List: boolean add(java.lang.Object)>(v);
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor COMPRESSION_LEVEL>;
interfaceinvoke v.<java.util.List: boolean add(java.lang.Object)>(v);
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor KEEP_PATH>;
interfaceinvoke v.<java.util.List: boolean add(java.lang.Object)>(v);
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor TAR_MODIFIED_TIME>;
interfaceinvoke v.<java.util.List: boolean add(java.lang.Object)>(v);
return v;
}
private org.apache.nifi.components.PropertyDescriptor addBinPackingDependency(org.apache.nifi.components.PropertyDescriptor)
{
org.apache.nifi.components.AllowableValue[] v;
org.apache.nifi.components.AllowableValue v;
org.apache.nifi.components.PropertyDescriptor v, v, v;
org.apache.nifi.components.PropertyDescriptor$Builder v, v, v;
org.apache.nifi.processors.standard.MergeContent v;
v := @this: org.apache.nifi.processors.standard.MergeContent;
v := @parameter: org.apache.nifi.components.PropertyDescriptor;
v = new org.apache.nifi.components.PropertyDescriptor$Builder;
specialinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: void <init>()>();
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder fromPropertyDescriptor(org.apache.nifi.components.PropertyDescriptor)>(v);
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor MERGE_STRATEGY>;
v = newarray (org.apache.nifi.components.AllowableValue)[1];
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue MERGE_STRATEGY_BIN_PACK>;
v[0] = v;
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder dependsOn(org.apache.nifi.components.PropertyDescriptor,org.apache.nifi.components.AllowableValue[])>(v, v);
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor build()>();
return v;
}
protected java.util.Collection additionalCustomValidation(org.apache.nifi.components.ValidationContext)
{
org.apache.nifi.components.PropertyDescriptor v, v, v, v, v, v, v, v;
org.apache.nifi.components.PropertyValue v, v, v, v, v;
boolean v, v;
org.apache.nifi.components.AllowableValue v, v;
org.apache.nifi.components.ValidationContext v;
java.util.ArrayList v;
org.apache.nifi.processors.standard.MergeContent v;
java.lang.String v, v, v, v, v, v, v, v, v, v;
org.apache.nifi.components.ValidationResult v, v, v;
org.apache.nifi.components.Validator v, v, v;
v := @this: org.apache.nifi.processors.standard.MergeContent;
v := @parameter: org.apache.nifi.components.ValidationContext;
v = new java.util.ArrayList;
specialinvoke v.<java.util.ArrayList: void <init>()>();
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor DELIMITER_STRATEGY>;
v = interfaceinvoke v.<org.apache.nifi.components.ValidationContext: org.apache.nifi.components.PropertyValue getProperty(org.apache.nifi.components.PropertyDescriptor)>(v);
v = interfaceinvoke v.<org.apache.nifi.components.PropertyValue: java.lang.String getValue()>();
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor MERGE_FORMAT>;
v = interfaceinvoke v.<org.apache.nifi.components.ValidationContext: org.apache.nifi.components.PropertyValue getProperty(org.apache.nifi.components.PropertyDescriptor)>(v);
v = interfaceinvoke v.<org.apache.nifi.components.PropertyValue: java.lang.String getValue()>();
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue DELIMITER_STRATEGY_FILENAME>;
v = virtualinvoke v.<org.apache.nifi.components.AllowableValue: java.lang.String getValue()>();
v = virtualinvoke v.<java.lang.String: boolean equals(java.lang.Object)>(v);
if v == 0 goto label;
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue MERGE_FORMAT_CONCAT>;
v = virtualinvoke v.<org.apache.nifi.components.AllowableValue: java.lang.String getValue()>();
v = virtualinvoke v.<java.lang.String: boolean equals(java.lang.Object)>(v);
if v == 0 goto label;
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor HEADER>;
v = interfaceinvoke v.<org.apache.nifi.components.ValidationContext: org.apache.nifi.components.PropertyValue getProperty(org.apache.nifi.components.PropertyDescriptor)>(v);
v = interfaceinvoke v.<org.apache.nifi.components.PropertyValue: java.lang.String getValue()>();
if v == null goto label;
v = <org.apache.nifi.processor.util.StandardValidators: org.apache.nifi.components.Validator FILE_EXISTS_VALIDATOR>;
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor HEADER>;
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor: java.lang.String getName()>();
v = interfaceinvoke v.<org.apache.nifi.components.Validator: org.apache.nifi.components.ValidationResult validate(java.lang.String,java.lang.String,org.apache.nifi.components.ValidationContext)>(v, v, v);
interfaceinvoke v.<java.util.Collection: boolean add(java.lang.Object)>(v);
label:
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor FOOTER>;
v = interfaceinvoke v.<org.apache.nifi.components.ValidationContext: org.apache.nifi.components.PropertyValue getProperty(org.apache.nifi.components.PropertyDescriptor)>(v);
v = interfaceinvoke v.<org.apache.nifi.components.PropertyValue: java.lang.String getValue()>();
if v == null goto label;
v = <org.apache.nifi.processor.util.StandardValidators: org.apache.nifi.components.Validator FILE_EXISTS_VALIDATOR>;
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor FOOTER>;
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor: java.lang.String getName()>();
v = interfaceinvoke v.<org.apache.nifi.components.Validator: org.apache.nifi.components.ValidationResult validate(java.lang.String,java.lang.String,org.apache.nifi.components.ValidationContext)>(v, v, v);
interfaceinvoke v.<java.util.Collection: boolean add(java.lang.Object)>(v);
label:
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor DEMARCATOR>;
v = interfaceinvoke v.<org.apache.nifi.components.ValidationContext: org.apache.nifi.components.PropertyValue getProperty(org.apache.nifi.components.PropertyDescriptor)>(v);
v = interfaceinvoke v.<org.apache.nifi.components.PropertyValue: java.lang.String getValue()>();
if v == null goto label;
v = <org.apache.nifi.processor.util.StandardValidators: org.apache.nifi.components.Validator FILE_EXISTS_VALIDATOR>;
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor DEMARCATOR>;
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor: java.lang.String getName()>();
v = interfaceinvoke v.<org.apache.nifi.components.Validator: org.apache.nifi.components.ValidationResult validate(java.lang.String,java.lang.String,org.apache.nifi.components.ValidationContext)>(v, v, v);
interfaceinvoke v.<java.util.Collection: boolean add(java.lang.Object)>(v);
label:
return v;
}
private byte[] readContent(java.lang.String) throws java.io.IOException
{
byte[] v;
org.apache.nifi.processors.standard.MergeContent v;
java.lang.String[] v;
java.lang.String v;
java.nio.file.Path v;
v := @this: org.apache.nifi.processors.standard.MergeContent;
v := @parameter: java.lang.String;
v = newarray (java.lang.String)[0];
v = staticinvoke <java.nio.file.Paths: java.nio.file.Path get(java.lang.String,java.lang.String[])>(v, v);
v = staticinvoke <java.nio.file.Files: byte[] readAllBytes(java.nio.file.Path)>(v);
return v;
}
protected org.apache.nifi.flowfile.FlowFile preprocessFlowFile(org.apache.nifi.processor.ProcessContext, org.apache.nifi.processor.ProcessSession, org.apache.nifi.flowfile.FlowFile)
{
org.apache.nifi.processors.standard.MergeContent v;
java.lang.String v, v, v, v, v, v, v, v, v, v, v, v, v, v, v;
org.apache.nifi.flowfile.FlowFile v, v;
org.apache.nifi.processor.ProcessContext v;
org.apache.nifi.processor.ProcessSession v;
v := @this: org.apache.nifi.processors.standard.MergeContent;
v := @parameter: org.apache.nifi.processor.ProcessContext;
v := @parameter: org.apache.nifi.processor.ProcessSession;
v := @parameter: org.apache.nifi.flowfile.FlowFile;
v = v;
v = <org.apache.nifi.processors.standard.MergeContent: java.lang.String FRAGMENT_COUNT_ATTRIBUTE>;
v = interfaceinvoke v.<org.apache.nifi.flowfile.FlowFile: java.lang.String getAttribute(java.lang.String)>(v);
if v != null goto label;
v = interfaceinvoke v.<org.apache.nifi.flowfile.FlowFile: java.lang.String getAttribute(java.lang.String)>("segment.count");
if v == null goto label;
v = <org.apache.nifi.processors.standard.MergeContent: java.lang.String FRAGMENT_COUNT_ATTRIBUTE>;
v = interfaceinvoke v.<org.apache.nifi.flowfile.FlowFile: java.lang.String getAttribute(java.lang.String)>("segment.count");
v = interfaceinvoke v.<org.apache.nifi.processor.ProcessSession: org.apache.nifi.flowfile.FlowFile putAttribute(org.apache.nifi.flowfile.FlowFile,java.lang.String,java.lang.String)>(v, v, v);
label:
v = <org.apache.nifi.processors.standard.MergeContent: java.lang.String FRAGMENT_INDEX_ATTRIBUTE>;
v = interfaceinvoke v.<org.apache.nifi.flowfile.FlowFile: java.lang.String getAttribute(java.lang.String)>(v);
if v != null goto label;
v = interfaceinvoke v.<org.apache.nifi.flowfile.FlowFile: java.lang.String getAttribute(java.lang.String)>("segment.index");
if v == null goto label;
v = <org.apache.nifi.processors.standard.MergeContent: java.lang.String FRAGMENT_INDEX_ATTRIBUTE>;
v = interfaceinvoke v.<org.apache.nifi.flowfile.FlowFile: java.lang.String getAttribute(java.lang.String)>("segment.index");
v = interfaceinvoke v.<org.apache.nifi.processor.ProcessSession: org.apache.nifi.flowfile.FlowFile putAttribute(org.apache.nifi.flowfile.FlowFile,java.lang.String,java.lang.String)>(v, v, v);
label:
v = <org.apache.nifi.processors.standard.MergeContent: java.lang.String FRAGMENT_ID_ATTRIBUTE>;
v = interfaceinvoke v.<org.apache.nifi.flowfile.FlowFile: java.lang.String getAttribute(java.lang.String)>(v);
if v != null goto label;
v = interfaceinvoke v.<org.apache.nifi.flowfile.FlowFile: java.lang.String getAttribute(java.lang.String)>("segment.identifier");
if v == null goto label;
v = <org.apache.nifi.processors.standard.MergeContent: java.lang.String FRAGMENT_ID_ATTRIBUTE>;
v = interfaceinvoke v.<org.apache.nifi.flowfile.FlowFile: java.lang.String getAttribute(java.lang.String)>("segment.identifier");
v = interfaceinvoke v.<org.apache.nifi.processor.ProcessSession: org.apache.nifi.flowfile.FlowFile putAttribute(org.apache.nifi.flowfile.FlowFile,java.lang.String,java.lang.String)>(v, v, v);
label:
return v;
}
protected java.lang.String getGroupId(org.apache.nifi.processor.ProcessContext, org.apache.nifi.flowfile.FlowFile, org.apache.nifi.processor.ProcessSession)
{
org.apache.nifi.components.PropertyDescriptor v, v;
org.apache.nifi.components.PropertyValue v, v, v;
org.apache.nifi.processors.standard.MergeContent v;
java.lang.String v, v, v, v, v, v;
boolean v;
org.apache.nifi.flowfile.FlowFile v;
org.apache.nifi.processor.ProcessContext v;
org.apache.nifi.processor.ProcessSession v;
org.apache.nifi.components.AllowableValue v;
v := @this: org.apache.nifi.processors.standard.MergeContent;
v := @parameter: org.apache.nifi.processor.ProcessContext;
v := @parameter: org.apache.nifi.flowfile.FlowFile;
v := @parameter: org.apache.nifi.processor.ProcessSession;
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor CORRELATION_ATTRIBUTE_NAME>;
v = interfaceinvoke v.<org.apache.nifi.processor.ProcessContext: org.apache.nifi.components.PropertyValue getProperty(org.apache.nifi.components.PropertyDescriptor)>(v);
v = interfaceinvoke v.<org.apache.nifi.components.PropertyValue: org.apache.nifi.components.PropertyValue evaluateAttributeExpressions(org.apache.nifi.flowfile.FlowFile)>(v);
v = interfaceinvoke v.<org.apache.nifi.components.PropertyValue: java.lang.String getValue()>();
if v != null goto label;
v = null;
goto label;
label:
v = interfaceinvoke v.<org.apache.nifi.flowfile.FlowFile: java.lang.String getAttribute(java.lang.String)>(v);
label:
v = v;
if v != null goto label;
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue MERGE_STRATEGY_DEFRAGMENT>;
v = virtualinvoke v.<org.apache.nifi.components.AllowableValue: java.lang.String getValue()>();
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor MERGE_STRATEGY>;
v = interfaceinvoke v.<org.apache.nifi.processor.ProcessContext: org.apache.nifi.components.PropertyValue getProperty(org.apache.nifi.components.PropertyDescriptor)>(v);
v = interfaceinvoke v.<org.apache.nifi.components.PropertyValue: java.lang.String getValue()>();
v = virtualinvoke v.<java.lang.String: boolean equals(java.lang.Object)>(v);
if v == 0 goto label;
v = <org.apache.nifi.processors.standard.MergeContent: java.lang.String FRAGMENT_ID_ATTRIBUTE>;
v = interfaceinvoke v.<org.apache.nifi.flowfile.FlowFile: java.lang.String getAttribute(java.lang.String)>(v);
label:
return v;
}
protected void setUpBinManager(org.apache.nifi.processor.util.bin.BinManager, org.apache.nifi.processor.ProcessContext)
{
org.apache.nifi.processor.ProcessContext v;
org.apache.nifi.processor.util.bin.BinManager v;
org.apache.nifi.components.AllowableValue v;
org.apache.nifi.components.PropertyDescriptor v;
org.apache.nifi.components.PropertyValue v;
org.apache.nifi.processors.standard.MergeContent v;
java.lang.String v, v, v;
boolean v;
v := @this: org.apache.nifi.processors.standard.MergeContent;
v := @parameter: org.apache.nifi.processor.util.bin.BinManager;
v := @parameter: org.apache.nifi.processor.ProcessContext;
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue MERGE_STRATEGY_DEFRAGMENT>;
v = virtualinvoke v.<org.apache.nifi.components.AllowableValue: java.lang.String getValue()>();
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor MERGE_STRATEGY>;
v = interfaceinvoke v.<org.apache.nifi.processor.ProcessContext: org.apache.nifi.components.PropertyValue getProperty(org.apache.nifi.components.PropertyDescriptor)>(v);
v = interfaceinvoke v.<org.apache.nifi.components.PropertyValue: java.lang.String getValue()>();
v = virtualinvoke v.<java.lang.String: boolean equals(java.lang.Object)>(v);
if v == 0 goto label;
v = <org.apache.nifi.processors.standard.MergeContent: java.lang.String FRAGMENT_COUNT_ATTRIBUTE>;
virtualinvoke v.<org.apache.nifi.processor.util.bin.BinManager: void setFileCountAttribute(java.lang.String)>(v);
goto label;
label:
virtualinvoke v.<org.apache.nifi.processor.util.bin.BinManager: void setFileCountAttribute(java.lang.String)>(null);
label:
return;
}
protected org.apache.nifi.processor.util.bin.BinProcessingResult processBin(org.apache.nifi.processor.util.bin.Bin, org.apache.nifi.processor.ProcessContext) throws org.apache.nifi.processor.exception.ProcessException
{
org.apache.nifi.processors.standard.MergeContent$MergeBin v;
java.lang.Integer v;
org.apache.nifi.components.PropertyDescriptor v, v, v;
byte v;
java.util.Map v, v;
org.apache.nifi.components.AllowableValue v;
org.apache.nifi.processors.standard.MergeContent$FlowFileStreamMerger v, v, v;
org.apache.nifi.processors.standard.MergeContent$TarMerge v;
java.lang.Object[] v, v;
long v;
java.lang.AssertionError v;
org.apache.nifi.processor.Relationship v, v, v;
java.lang.String v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v;
org.apache.nifi.processors.standard.MergeContent$BinaryConcatenationMerge v;
org.apache.nifi.processor.ProcessSession v;
org.apache.nifi.processor.util.bin.BinProcessingResult v;
org.apache.nifi.processors.standard.MergeContent$ZipMerge v;
org.apache.nifi.flowfile.attributes.CoreAttributes v, v, v, v;
org.apache.nifi.components.PropertyValue v, v, v;
org.apache.nifi.processors.standard.MergeContent$AvroMerge v;
boolean v, v, v, v, v, v, v, v, v;
org.apache.nifi.flowfile.FlowFile v, v, v;
org.apache.nifi.processor.util.bin.Bin v;
java.util.List v, v, v;
org.apache.nifi.util.FlowFilePackagerV1 v;
org.apache.nifi.util.FlowFilePackagerV2 v;
org.apache.nifi.util.FlowFilePackagerV3 v;
org.apache.nifi.logging.ComponentLog v, v;
org.apache.nifi.processors.standard.MergeContent v;
int v, v, v, v, v, v, v;
org.apache.nifi.flowfile.attributes.StandardFlowFileMediaType v, v, v;
org.apache.nifi.processor.util.bin.EvictionReason v, v;
java.util.Iterator v;
org.apache.nifi.processor.ProcessContext v;
org.apache.nifi.processors.standard.MergeContent$FragmentComparator v;
org.apache.nifi.processors.standard.merge.AttributeStrategy v;
java.lang.Object v;
v := @this: org.apache.nifi.processors.standard.MergeContent;
v := @parameter: org.apache.nifi.processor.util.bin.Bin;
v := @parameter: org.apache.nifi.processor.ProcessContext;
v = new org.apache.nifi.processor.util.bin.BinProcessingResult;
specialinvoke v.<org.apache.nifi.processor.util.bin.BinProcessingResult: void <init>(boolean)>(1);
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor MERGE_FORMAT>;
v = interfaceinvoke v.<org.apache.nifi.processor.ProcessContext: org.apache.nifi.components.PropertyValue getProperty(org.apache.nifi.components.PropertyDescriptor)>(v);
v = interfaceinvoke v.<org.apache.nifi.components.PropertyValue: java.lang.String getValue()>();
v = -1;
v = virtualinvoke v.<java.lang.String: int hashCode()>();
lookupswitch(v)
{
case -1458991994: goto label;
case -1458991993: goto label;
case 82821: goto label;
case 88833: goto label;
case 2053458: goto label;
case 578035134: goto label;
case 1444276345: goto label;
default: goto label;
};
label:
v = virtualinvoke v.<java.lang.String: boolean equals(java.lang.Object)>("TAR");
if v == 0 goto label;
v = 0;
goto label;
label:
v = virtualinvoke v.<java.lang.String: boolean equals(java.lang.Object)>("ZIP");
if v == 0 goto label;
v = 1;
goto label;
label:
v = virtualinvoke v.<java.lang.String: boolean equals(java.lang.Object)>("FlowFile Stream, v3");
if v == 0 goto label;
v = 2;
goto label;
label:
v = virtualinvoke v.<java.lang.String: boolean equals(java.lang.Object)>("FlowFile Stream, v2");
if v == 0 goto label;
v = 3;
goto label;
label:
v = virtualinvoke v.<java.lang.String: boolean equals(java.lang.Object)>("FlowFile Tar, v1");
if v == 0 goto label;
v = 4;
goto label;
label:
v = virtualinvoke v.<java.lang.String: boolean equals(java.lang.Object)>("Binary Concatenation");
if v == 0 goto label;
v = 5;
goto label;
label:
v = virtualinvoke v.<java.lang.String: boolean equals(java.lang.Object)>("Avro");
if v == 0 goto label;
v = 6;
label:
tableswitch(v)
{
case 0: goto label;
case 1: goto label;
case 2: goto label;
case 3: goto label;
case 4: goto label;
case 5: goto label;
case 6: goto label;
default: goto label;
};
label:
v = new org.apache.nifi.processors.standard.MergeContent$TarMerge;
specialinvoke v.<org.apache.nifi.processors.standard.MergeContent$TarMerge: void <init>(org.apache.nifi.processors.standard.MergeContent)>(v);
v = v;
goto label;
label:
v = new org.apache.nifi.processors.standard.MergeContent$ZipMerge;
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor COMPRESSION_LEVEL>;
v = interfaceinvoke v.<org.apache.nifi.processor.ProcessContext: org.apache.nifi.components.PropertyValue getProperty(org.apache.nifi.components.PropertyDescriptor)>(v);
v = interfaceinvoke v.<org.apache.nifi.components.PropertyValue: java.lang.Integer asInteger()>();
v = virtualinvoke v.<java.lang.Integer: int intValue()>();
specialinvoke v.<org.apache.nifi.processors.standard.MergeContent$ZipMerge: void <init>(org.apache.nifi.processors.standard.MergeContent,int)>(v, v);
v = v;
goto label;
label:
v = new org.apache.nifi.processors.standard.MergeContent$FlowFileStreamMerger;
v = new org.apache.nifi.util.FlowFilePackagerV3;
specialinvoke v.<org.apache.nifi.util.FlowFilePackagerV3: void <init>()>();
v = <org.apache.nifi.flowfile.attributes.StandardFlowFileMediaType: org.apache.nifi.flowfile.attributes.StandardFlowFileMediaType VERSION_3>;
v = virtualinvoke v.<org.apache.nifi.flowfile.attributes.StandardFlowFileMediaType: java.lang.String getMediaType()>();
specialinvoke v.<org.apache.nifi.processors.standard.MergeContent$FlowFileStreamMerger: void <init>(org.apache.nifi.processors.standard.MergeContent,org.apache.nifi.util.FlowFilePackager,java.lang.String)>(v, v, v);
v = v;
goto label;
label:
v = new org.apache.nifi.processors.standard.MergeContent$FlowFileStreamMerger;
v = new org.apache.nifi.util.FlowFilePackagerV2;
specialinvoke v.<org.apache.nifi.util.FlowFilePackagerV2: void <init>()>();
v = <org.apache.nifi.flowfile.attributes.StandardFlowFileMediaType: org.apache.nifi.flowfile.attributes.StandardFlowFileMediaType VERSION_2>;
v = virtualinvoke v.<org.apache.nifi.flowfile.attributes.StandardFlowFileMediaType: java.lang.String getMediaType()>();
specialinvoke v.<org.apache.nifi.processors.standard.MergeContent$FlowFileStreamMerger: void <init>(org.apache.nifi.processors.standard.MergeContent,org.apache.nifi.util.FlowFilePackager,java.lang.String)>(v, v, v);
v = v;
goto label;
label:
v = new org.apache.nifi.processors.standard.MergeContent$FlowFileStreamMerger;
v = new org.apache.nifi.util.FlowFilePackagerV1;
specialinvoke v.<org.apache.nifi.util.FlowFilePackagerV1: void <init>()>();
v = <org.apache.nifi.flowfile.attributes.StandardFlowFileMediaType: org.apache.nifi.flowfile.attributes.StandardFlowFileMediaType VERSION_1>;
v = virtualinvoke v.<org.apache.nifi.flowfile.attributes.StandardFlowFileMediaType: java.lang.String getMediaType()>();
specialinvoke v.<org.apache.nifi.processors.standard.MergeContent$FlowFileStreamMerger: void <init>(org.apache.nifi.processors.standard.MergeContent,org.apache.nifi.util.FlowFilePackager,java.lang.String)>(v, v, v);
v = v;
goto label;
label:
v = new org.apache.nifi.processors.standard.MergeContent$BinaryConcatenationMerge;
specialinvoke v.<org.apache.nifi.processors.standard.MergeContent$BinaryConcatenationMerge: void <init>(org.apache.nifi.processors.standard.MergeContent)>(v);
v = v;
goto label;
label:
v = new org.apache.nifi.processors.standard.MergeContent$AvroMerge;
specialinvoke v.<org.apache.nifi.processors.standard.MergeContent$AvroMerge: void <init>(org.apache.nifi.processors.standard.MergeContent)>(v);
v = v;
goto label;
label:
v = new java.lang.AssertionError;
specialinvoke v.<java.lang.AssertionError: void <init>()>();
throw v;
label:
v = staticinvoke <org.apache.nifi.processors.standard.merge.AttributeStrategyUtil: org.apache.nifi.processors.standard.merge.AttributeStrategy strategyFor(org.apache.nifi.processor.ProcessContext)>(v);
v = virtualinvoke v.<org.apache.nifi.processor.util.bin.Bin: java.util.List getContents()>();
v = virtualinvoke v.<org.apache.nifi.processor.util.bin.Bin: org.apache.nifi.processor.ProcessSession getSession()>();
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue MERGE_STRATEGY_DEFRAGMENT>;
v = virtualinvoke v.<org.apache.nifi.components.AllowableValue: java.lang.String getValue()>();
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor MERGE_STRATEGY>;
v = interfaceinvoke v.<org.apache.nifi.processor.ProcessContext: org.apache.nifi.components.PropertyValue getProperty(org.apache.nifi.components.PropertyDescriptor)>(v);
v = interfaceinvoke v.<org.apache.nifi.components.PropertyValue: java.lang.String getValue()>();
v = virtualinvoke v.<java.lang.String: boolean equals(java.lang.Object)>(v);
if v == 0 goto label;
v = virtualinvoke v.<org.apache.nifi.processor.util.bin.Bin: java.util.List getContents()>();
v = specialinvoke v.<org.apache.nifi.processors.standard.MergeContent: java.lang.String getDefragmentValidationError(java.util.List)>(v);
if v == null goto label;
v = interfaceinvoke v.<java.util.List: int size()>();
if v > 10 goto label;
v = virtualinvoke v.<java.lang.Object: java.lang.String toString()>();
goto label;
label:
v = interfaceinvoke v.<java.util.List: int size()>();
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (int)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("\u FlowFiles");
label:
v = virtualinvoke v.<org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.logging.ComponentLog getLogger()>();
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("\u; routing {} to failure");
v = newarray (java.lang.Object)[1];
v[0] = v;
interfaceinvoke v.<org.apache.nifi.logging.ComponentLog: void error(java.lang.String,java.lang.Object[])>(v, v);
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.processor.Relationship REL_FAILURE>;
interfaceinvoke v.<org.apache.nifi.processor.ProcessSession: void transfer(java.util.Collection,org.apache.nifi.processor.Relationship)>(v, v);
interfaceinvoke v.<org.apache.nifi.processor.ProcessSession: void commitAsync()>();
return v;
label:
v = new org.apache.nifi.processors.standard.MergeContent$FragmentComparator;
specialinvoke v.<org.apache.nifi.processors.standard.MergeContent$FragmentComparator: void <init>()>();
staticinvoke <java.util.Collections: void sort(java.util.List,java.util.Comparator)>(v, v);
label:
v = interfaceinvoke v.<org.apache.nifi.processors.standard.MergeContent$MergeBin: org.apache.nifi.flowfile.FlowFile merge(org.apache.nifi.processor.util.bin.Bin,org.apache.nifi.processor.ProcessContext)>(v, v);
v = <org.apache.nifi.flowfile.attributes.CoreAttributes: org.apache.nifi.flowfile.attributes.CoreAttributes FILENAME>;
v = virtualinvoke v.<org.apache.nifi.flowfile.attributes.CoreAttributes: java.lang.String key()>();
v = interfaceinvoke v.<org.apache.nifi.flowfile.FlowFile: java.lang.String getAttribute(java.lang.String)>(v);
v = interfaceinvoke v.<org.apache.nifi.processors.standard.merge.AttributeStrategy: java.util.Map getMergedAttributes(java.util.List)>(v);
v = <org.apache.nifi.flowfile.attributes.CoreAttributes: org.apache.nifi.flowfile.attributes.CoreAttributes MIME_TYPE>;
v = virtualinvoke v.<org.apache.nifi.flowfile.attributes.CoreAttributes: java.lang.String key()>();
v = interfaceinvoke v.<org.apache.nifi.processors.standard.MergeContent$MergeBin: java.lang.String getMergedContentType()>();
interfaceinvoke v.<java.util.Map: java.lang.Object put(java.lang.Object,java.lang.Object)>(v, v);
v = <org.apache.nifi.flowfile.attributes.CoreAttributes: org.apache.nifi.flowfile.attributes.CoreAttributes FILENAME>;
v = virtualinvoke v.<org.apache.nifi.flowfile.attributes.CoreAttributes: java.lang.String key()>();
interfaceinvoke v.<java.util.Map: java.lang.Object put(java.lang.Object,java.lang.Object)>(v, v);
v = interfaceinvoke v.<java.util.List: int size()>();
v = staticinvoke <java.lang.Integer: java.lang.String toString(int)>(v);
interfaceinvoke v.<java.util.Map: java.lang.Object put(java.lang.Object,java.lang.Object)>("merge.count", v);
v = virtualinvoke v.<org.apache.nifi.processor.util.bin.Bin: long getBinAge()>();
v = staticinvoke <java.lang.Long: java.lang.String toString(long)>(v);
interfaceinvoke v.<java.util.Map: java.lang.Object put(java.lang.Object,java.lang.Object)>("merge.bin.age", v);
v = virtualinvoke v.<org.apache.nifi.processor.util.bin.Bin: org.apache.nifi.processor.util.bin.EvictionReason getEvictionReason()>();
v = virtualinvoke v.<org.apache.nifi.processor.util.bin.EvictionReason: java.lang.String name()>();
interfaceinvoke v.<java.util.Map: java.lang.Object put(java.lang.Object,java.lang.Object)>("merge.reason", v);
v = interfaceinvoke v.<org.apache.nifi.processor.ProcessSession: org.apache.nifi.flowfile.FlowFile putAllAttributes(org.apache.nifi.flowfile.FlowFile,java.util.Map)>(v, v);
v = interfaceinvoke v.<java.util.List: int size()>();
if v >= 10 goto label;
v = virtualinvoke v.<java.lang.Object: java.lang.String toString()>();
goto label;
label:
v = interfaceinvoke v.<java.util.List: int size()>();
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (int)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("\u FlowFiles");
label:
v = virtualinvoke v.<org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.logging.ComponentLog getLogger()>();
v = newarray (java.lang.Object)[3];
v[0] = v;
v[1] = v;
v = virtualinvoke v.<org.apache.nifi.processor.util.bin.Bin: org.apache.nifi.processor.util.bin.EvictionReason getEvictionReason()>();
v[2] = v;
interfaceinvoke v.<org.apache.nifi.logging.ComponentLog: void info(java.lang.String,java.lang.Object[])>("Merged {} into {}. Reason for merging: {}", v);
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.processor.Relationship REL_MERGED>;
interfaceinvoke v.<org.apache.nifi.processor.ProcessSession: void transfer(org.apache.nifi.flowfile.FlowFile,org.apache.nifi.processor.Relationship)>(v, v);
v = virtualinvoke v.<org.apache.nifi.processor.util.bin.BinProcessingResult: java.util.Map getAttributes()>();
v = <org.apache.nifi.flowfile.attributes.CoreAttributes: org.apache.nifi.flowfile.attributes.CoreAttributes UUID>;
v = virtualinvoke v.<org.apache.nifi.flowfile.attributes.CoreAttributes: java.lang.String key()>();
v = interfaceinvoke v.<org.apache.nifi.flowfile.FlowFile: java.lang.String getAttribute(java.lang.String)>(v);
interfaceinvoke v.<java.util.Map: java.lang.Object put(java.lang.Object,java.lang.Object)>("merge.uuid", v);
v = interfaceinvoke v.<org.apache.nifi.processors.standard.MergeContent$MergeBin: java.util.List getUnmergedFlowFiles()>();
v = interfaceinvoke v.<java.util.List: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
v = interfaceinvoke v.<org.apache.nifi.processor.ProcessSession: org.apache.nifi.flowfile.FlowFile clone(org.apache.nifi.flowfile.FlowFile)>(v);
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.processor.Relationship REL_FAILURE>;
interfaceinvoke v.<org.apache.nifi.processor.ProcessSession: void transfer(org.apache.nifi.flowfile.FlowFile,org.apache.nifi.processor.Relationship)>(v, v);
goto label;
label:
virtualinvoke v.<org.apache.nifi.processor.util.bin.BinProcessingResult: void setCommitted(boolean)>(0);
return v;
}
private java.lang.String getDefragmentValidationError(java.util.List)
{
boolean v, v, v, v, v;
java.util.List v;
org.apache.nifi.processors.standard.MergeContent v;
int v, v, v, v, v;
java.lang.String v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v;
java.util.Iterator v;
java.lang.NumberFormatException v;
java.lang.Object v;
v := @this: org.apache.nifi.processors.standard.MergeContent;
v := @parameter: java.util.List;
v = interfaceinvoke v.<java.util.List: boolean isEmpty()>();
if v == 0 goto label;
return null;
label:
v = null;
v = null;
v = interfaceinvoke v.<java.util.List: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
v = <org.apache.nifi.processors.standard.MergeContent: java.lang.String FRAGMENT_INDEX_ATTRIBUTE>;
v = interfaceinvoke v.<org.apache.nifi.flowfile.FlowFile: java.lang.String getAttribute(java.lang.String)>(v);
v = specialinvoke v.<org.apache.nifi.processors.standard.MergeContent: boolean isNumber(java.lang.String)>(v);
if v != 0 goto label;
v = <org.apache.nifi.processors.standard.MergeContent: java.lang.String FRAGMENT_INDEX_ATTRIBUTE>;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (org.apache.nifi.flowfile.FlowFile,java.lang.String)>(v, v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("Cannot Defragment \u because it does not have an integer value for the \u attribute");
return v;
label:
v = <org.apache.nifi.processors.standard.MergeContent: java.lang.String FRAGMENT_ID_ATTRIBUTE>;
v = interfaceinvoke v.<org.apache.nifi.flowfile.FlowFile: java.lang.String getAttribute(java.lang.String)>(v);
v = <org.apache.nifi.processors.standard.MergeContent: java.lang.String FRAGMENT_COUNT_ATTRIBUTE>;
v = interfaceinvoke v.<org.apache.nifi.flowfile.FlowFile: java.lang.String getAttribute(java.lang.String)>(v);
if v == null goto label;
v = specialinvoke v.<org.apache.nifi.processors.standard.MergeContent: boolean isNumber(java.lang.String)>(v);
if v != 0 goto label;
v = <org.apache.nifi.processors.standard.MergeContent: java.lang.String FRAGMENT_COUNT_ATTRIBUTE>;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (org.apache.nifi.flowfile.FlowFile,java.lang.String)>(v, v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("Cannot Defragment \u because it does not have an integer value for the \u attribute");
return v;
label:
if v != null goto label;
v = v;
goto label;
label:
v = virtualinvoke v.<java.lang.String: boolean equals(java.lang.Object)>(v);
if v != 0 goto label;
v = <org.apache.nifi.processors.standard.MergeContent: java.lang.String FRAGMENT_COUNT_ATTRIBUTE>;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (org.apache.nifi.flowfile.FlowFile,java.lang.String,java.lang.String,java.lang.String)>(v, v, v, v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("Cannot Defragment \u because it is grouped with another FlowFile, and the two have differing values for the \u attribute: \u and \u0001");
return v;
label:
if v != null goto label;
v = <org.apache.nifi.processors.standard.MergeContent: java.lang.String FRAGMENT_COUNT_ATTRIBUTE>;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String,java.lang.String)>(v, v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("Cannot Defragment FlowFiles with Fragment Identifier \u because no FlowFile arrived with the \u attribute and the expected number of fragments is unknown");
return v;
label:
v = staticinvoke <java.lang.Integer: int parseInt(java.lang.String)>(v);
label:
goto label;
label:
v := @caughtexception;
v = <org.apache.nifi.processors.standard.MergeContent: java.lang.String FRAGMENT_COUNT_ATTRIBUTE>;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String,java.lang.String,java.lang.String)>(v, v, v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("Cannot Defragment FlowFiles with Fragment Identifier \u because the \u has a non-integer value of \u0001");
return v;
label:
v = interfaceinvoke v.<java.util.List: int size()>();
if v >= v goto label;
v = interfaceinvoke v.<java.util.List: int size()>();
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String,java.lang.String,int)>(v, v, v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("Cannot Defragment FlowFiles with Fragment Identifier \u because the expected number of fragments is \u but found only \u fragments");
return v;
label:
v = interfaceinvoke v.<java.util.List: int size()>();
if v <= v goto label;
v = interfaceinvoke v.<java.util.List: int size()>();
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String,java.lang.String,int)>(v, v, v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("Cannot Defragment FlowFiles with Fragment Identifier \u because the expected number of fragments is \u but found \u fragments for this identifier");
return v;
label:
return null;
catch java.lang.NumberFormatException from label to label with label;
}
private boolean isNumber(java.lang.String)
{
java.util.regex.Matcher v;
org.apache.nifi.processors.standard.MergeContent v;
java.lang.String v;
java.util.regex.Pattern v;
boolean v;
v := @this: org.apache.nifi.processors.standard.MergeContent;
v := @parameter: java.lang.String;
if v != null goto label;
return 0;
label:
v = <org.apache.nifi.processors.standard.MergeContent: java.util.regex.Pattern NUMBER_PATTERN>;
v = virtualinvoke v.<java.util.regex.Pattern: java.util.regex.Matcher matcher(java.lang.CharSequence)>(v);
v = virtualinvoke v.<java.util.regex.Matcher: boolean matches()>();
return v;
}
private void removeFlowFileFromSession(org.apache.nifi.processor.ProcessSession, org.apache.nifi.flowfile.FlowFile, org.apache.nifi.processor.ProcessContext)
{
org.apache.nifi.flowfile.FlowFile v;
org.apache.nifi.processor.ProcessContext v;
org.apache.nifi.processor.ProcessSession v;
org.apache.nifi.logging.ComponentLog v;
java.lang.Exception v;
org.apache.nifi.components.PropertyDescriptor v;
org.apache.nifi.components.PropertyValue v;
org.apache.nifi.processors.standard.MergeContent v;
java.lang.String v, v;
v := @this: org.apache.nifi.processors.standard.MergeContent;
v := @parameter: org.apache.nifi.processor.ProcessSession;
v := @parameter: org.apache.nifi.flowfile.FlowFile;
v := @parameter: org.apache.nifi.processor.ProcessContext;
label:
interfaceinvoke v.<org.apache.nifi.processor.ProcessSession: void remove(org.apache.nifi.flowfile.FlowFile)>(v);
label:
goto label;
label:
v := @caughtexception;
v = virtualinvoke v.<org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.logging.ComponentLog getLogger()>();
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor MERGE_FORMAT>;
v = interfaceinvoke v.<org.apache.nifi.processor.ProcessContext: org.apache.nifi.components.PropertyValue getProperty(org.apache.nifi.components.PropertyDescriptor)>(v);
v = interfaceinvoke v.<org.apache.nifi.components.PropertyValue: java.lang.String getValue()>();
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("Failed to remove merged FlowFile from the session after merge failure during \"\u0001\" merge.");
interfaceinvoke v.<org.apache.nifi.logging.ComponentLog: void error(java.lang.String,java.lang.Throwable)>(v, v);
label:
return;
catch java.lang.Exception from label to label with label;
}
private java.lang.String getPath(org.apache.nifi.flowfile.FlowFile)
{
java.lang.String[] v;
org.apache.nifi.processors.standard.MergeContent v;
int v, v, v;
java.lang.String v, v, v, v, v, v;
java.nio.file.Path v, v, v;
boolean v;
org.apache.nifi.flowfile.FlowFile v;
org.apache.nifi.flowfile.attributes.CoreAttributes v;
v := @this: org.apache.nifi.processors.standard.MergeContent;
v := @parameter: org.apache.nifi.flowfile.FlowFile;
v = <org.apache.nifi.flowfile.attributes.CoreAttributes: org.apache.nifi.flowfile.attributes.CoreAttributes PATH>;
v = virtualinvoke v.<org.apache.nifi.flowfile.attributes.CoreAttributes: java.lang.String key()>();
v = interfaceinvoke v.<org.apache.nifi.flowfile.FlowFile: java.lang.String getAttribute(java.lang.String)>(v);
v = newarray (java.lang.String)[0];
v = staticinvoke <java.nio.file.Paths: java.nio.file.Path get(java.lang.String,java.lang.String[])>(v, v);
v = interfaceinvoke v.<java.nio.file.Path: int getNameCount()>();
if v != 0 goto label;
return "";
label:
v = ".";
v = interfaceinvoke v.<java.nio.file.Path: java.nio.file.Path getName(int)>(0);
v = interfaceinvoke v.<java.nio.file.Path: java.lang.String toString()>();
v = virtualinvoke v.<java.lang.String: boolean equals(java.lang.Object)>(v);
if v == 0 goto label;
v = interfaceinvoke v.<java.nio.file.Path: int getNameCount()>();
if v != 1 goto label;
v = null;
goto label;
label:
v = interfaceinvoke v.<java.nio.file.Path: int getNameCount()>();
v = interfaceinvoke v.<java.nio.file.Path: java.nio.file.Path subpath(int,int)>(1, v);
label:
v = v;
label:
if v != null goto label;
v = "";
goto label;
label:
v = interfaceinvoke v.<java.nio.file.Path: java.lang.String toString()>();
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("\u0001/");
label:
return v;
}
private java.lang.String createFilename(java.util.List)
{
long v;
java.util.List v;
org.apache.nifi.processors.standard.MergeContent v;
int v;
java.lang.Object v, v;
java.lang.String v, v, v, v, v;
org.apache.nifi.flowfile.attributes.CoreAttributes v;
v := @this: org.apache.nifi.processors.standard.MergeContent;
v := @parameter: java.util.List;
v = interfaceinvoke v.<java.util.List: int size()>();
if v != 1 goto label;
v = interfaceinvoke v.<java.util.List: java.lang.Object get(int)>(0);
v = <org.apache.nifi.flowfile.attributes.CoreAttributes: org.apache.nifi.flowfile.attributes.CoreAttributes FILENAME>;
v = virtualinvoke v.<org.apache.nifi.flowfile.attributes.CoreAttributes: java.lang.String key()>();
v = interfaceinvoke v.<org.apache.nifi.flowfile.FlowFile: java.lang.String getAttribute(java.lang.String)>(v);
return v;
label:
v = interfaceinvoke v.<java.util.List: java.lang.Object get(int)>(0);
v = <org.apache.nifi.processors.standard.MergeContent: java.lang.String SEGMENT_ORIGINAL_FILENAME>;
v = interfaceinvoke v.<org.apache.nifi.flowfile.FlowFile: java.lang.String getAttribute(java.lang.String)>(v);
if v == null goto label;
return v;
label:
v = staticinvoke <java.lang.System: long nanoTime()>();
v = staticinvoke <java.lang.String: java.lang.String valueOf(long)>(v);
return v;
}
static void <clinit>()
{
org.apache.nifi.flowfile.attributes.FragmentAttributes v, v, v, v;
org.apache.nifi.components.AllowableValue v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v;
org.apache.nifi.processor.Relationship v;
org.apache.nifi.components.resource.ResourceType v, v, v, v, v, v;
org.apache.nifi.expression.ExpressionLanguageScope v, v, v, v, v;
org.apache.nifi.components.PropertyDescriptor v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v;
java.lang.String v, v, v, v, v, v, v, v;
org.apache.nifi.components.resource.ResourceType[] v, v, v;
org.apache.nifi.components.PropertyDescriptor$Builder v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v;
org.apache.nifi.components.resource.ResourceCardinality v, v, v;
java.util.regex.Pattern v;
org.apache.nifi.components.AllowableValue[] v, v, v, v, v, v, v, v, v, v, v, v, v, v, v;
java.lang.String[] v, v, v;
org.apache.nifi.components.Validator v, v, v, v, v;
org.apache.nifi.processor.Relationship$Builder v, v, v;
v = <org.apache.nifi.flowfile.attributes.FragmentAttributes: org.apache.nifi.flowfile.attributes.FragmentAttributes FRAGMENT_ID>;
v = virtualinvoke v.<org.apache.nifi.flowfile.attributes.FragmentAttributes: java.lang.String key()>();
<org.apache.nifi.processors.standard.MergeContent: java.lang.String FRAGMENT_ID_ATTRIBUTE> = v;
v = <org.apache.nifi.flowfile.attributes.FragmentAttributes: org.apache.nifi.flowfile.attributes.FragmentAttributes FRAGMENT_INDEX>;
v = virtualinvoke v.<org.apache.nifi.flowfile.attributes.FragmentAttributes: java.lang.String key()>();
<org.apache.nifi.processors.standard.MergeContent: java.lang.String FRAGMENT_INDEX_ATTRIBUTE> = v;
v = <org.apache.nifi.flowfile.attributes.FragmentAttributes: org.apache.nifi.flowfile.attributes.FragmentAttributes FRAGMENT_COUNT>;
v = virtualinvoke v.<org.apache.nifi.flowfile.attributes.FragmentAttributes: java.lang.String key()>();
<org.apache.nifi.processors.standard.MergeContent: java.lang.String FRAGMENT_COUNT_ATTRIBUTE> = v;
v = <org.apache.nifi.flowfile.attributes.FragmentAttributes: org.apache.nifi.flowfile.attributes.FragmentAttributes SEGMENT_ORIGINAL_FILENAME>;
v = virtualinvoke v.<org.apache.nifi.flowfile.attributes.FragmentAttributes: java.lang.String key()>();
<org.apache.nifi.processors.standard.MergeContent: java.lang.String SEGMENT_ORIGINAL_FILENAME> = v;
v = new org.apache.nifi.components.AllowableValue;
specialinvoke v.<org.apache.nifi.components.AllowableValue: void <init>(java.lang.String,java.lang.String,java.lang.String)>("Use First Metadata", "Use First Metadata", "For any input format that supports metadata (Avro, e.g.), the metadata for the first FlowFile in the bin will be set on the output FlowFile.");
<org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue METADATA_STRATEGY_USE_FIRST> = v;
v = new org.apache.nifi.components.AllowableValue;
specialinvoke v.<org.apache.nifi.components.AllowableValue: void <init>(java.lang.String,java.lang.String,java.lang.String)>("Keep Only Common Metadata", "Keep Only Common Metadata", "For any input format that supports metadata (Avro, e.g.), any FlowFile whose metadata values match those of the first FlowFile, any additional metadata will be dropped but the FlowFile will be merged. Any FlowFile whose metadata values do not match those of the first FlowFile in the bin will not be merged.");
<org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue METADATA_STRATEGY_ALL_COMMON> = v;
v = new org.apache.nifi.components.AllowableValue;
specialinvoke v.<org.apache.nifi.components.AllowableValue: void <init>(java.lang.String,java.lang.String,java.lang.String)>("Ignore Metadata", "Ignore Metadata", "Ignores (does not transfer, compare, etc.) any metadata from a FlowFile whose content supports embedded metadata.");
<org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue METADATA_STRATEGY_IGNORE> = v;
v = new org.apache.nifi.components.AllowableValue;
specialinvoke v.<org.apache.nifi.components.AllowableValue: void <init>(java.lang.String,java.lang.String,java.lang.String)>("Do Not Merge Uncommon Metadata", "Do Not Merge Uncommon Metadata", "For any input format that supports metadata (Avro, e.g.), any FlowFile whose metadata values do not match those of the first FlowFile in the bin will not be merged.");
<org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue METADATA_STRATEGY_DO_NOT_MERGE> = v;
v = new org.apache.nifi.components.AllowableValue;
specialinvoke v.<org.apache.nifi.components.AllowableValue: void <init>(java.lang.String,java.lang.String,java.lang.String)>("Bin-Packing Algorithm", "Bin-Packing Algorithm", "Generates \'bins\' of FlowFiles and fills each bin as full as possible. FlowFiles are placed into a bin based on their size and optionally their attributes (if the <Correlation Attribute> property is set)");
<org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue MERGE_STRATEGY_BIN_PACK> = v;
v = new org.apache.nifi.components.AllowableValue;
specialinvoke v.<org.apache.nifi.components.AllowableValue: void <init>(java.lang.String,java.lang.String,java.lang.String)>("Defragment", "Defragment", "Combines fragments that are associated by attributes back into a single cohesive FlowFile. If using this strategy, all FlowFiles must have the attributes <fragment.identifier>, <fragment.count>, and <fragment.index> or alternatively (for backward compatibility purposes) <segment.identifier>, <segment.count>, and <segment.index>. All FlowFiles with the same value for \"fragment.identifier\" will be grouped together. All FlowFiles in this group must have the same value for the \"fragment.count\" attribute. All FlowFiles in this group must have a unique value for the \"fragment.index\" attribute between 0 and the value of the \"fragment.count\" attribute.");
<org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue MERGE_STRATEGY_DEFRAGMENT> = v;
v = new org.apache.nifi.components.AllowableValue;
specialinvoke v.<org.apache.nifi.components.AllowableValue: void <init>(java.lang.String,java.lang.String,java.lang.String)>("Filename", "Filename", "The values of Header, Footer, and Demarcator will be retrieved from the contents of a file");
<org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue DELIMITER_STRATEGY_FILENAME> = v;
v = new org.apache.nifi.components.AllowableValue;
specialinvoke v.<org.apache.nifi.components.AllowableValue: void <init>(java.lang.String,java.lang.String,java.lang.String)>("Text", "Text", "The values of Header, Footer, and Demarcator will be specified as property values");
<org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue DELIMITER_STRATEGY_TEXT> = v;
v = new org.apache.nifi.components.AllowableValue;
specialinvoke v.<org.apache.nifi.components.AllowableValue: void <init>(java.lang.String,java.lang.String,java.lang.String)>("Do Not Use Delimiters", "Do Not Use Delimiters", "No Header, Footer, or Demarcator will be used");
<org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue DELIMITER_STRATEGY_NONE> = v;
v = new org.apache.nifi.components.AllowableValue;
specialinvoke v.<org.apache.nifi.components.AllowableValue: void <init>(java.lang.String,java.lang.String,java.lang.String)>("TAR", "TAR", "A bin of FlowFiles will be combined into a single TAR file. The FlowFiles\' <path> attribute will be used to create a directory in the TAR file if the <Keep Paths> property is set to true; otherwise, all FlowFiles will be added at the root of the TAR file. If a FlowFile has an attribute named <tar.permissions> that is 3 characters, each between 0-7, that attribute will be used as the TAR entry\'s \'mode\'.");
<org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue MERGE_FORMAT_TAR> = v;
v = new org.apache.nifi.components.AllowableValue;
specialinvoke v.<org.apache.nifi.components.AllowableValue: void <init>(java.lang.String,java.lang.String,java.lang.String)>("ZIP", "ZIP", "A bin of FlowFiles will be combined into a single ZIP file. The FlowFiles\' <path> attribute will be used to create a directory in the ZIP file if the <Keep Paths> property is set to true; otherwise, all FlowFiles will be added at the root of the ZIP file. The <Compression Level> property indicates the ZIP compression to use.");
<org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue MERGE_FORMAT_ZIP> = v;
v = new org.apache.nifi.components.AllowableValue;
specialinvoke v.<org.apache.nifi.components.AllowableValue: void <init>(java.lang.String,java.lang.String,java.lang.String)>("FlowFile Stream, v3", "FlowFile Stream, v3", "A bin of FlowFiles will be combined into a single Version 3 FlowFile Stream");
<org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue MERGE_FORMAT_FLOWFILE_STREAM_V3> = v;
v = new org.apache.nifi.components.AllowableValue;
specialinvoke v.<org.apache.nifi.components.AllowableValue: void <init>(java.lang.String,java.lang.String,java.lang.String)>("FlowFile Stream, v2", "FlowFile Stream, v2", "A bin of FlowFiles will be combined into a single Version 2 FlowFile Stream");
<org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue MERGE_FORMAT_FLOWFILE_STREAM_V2> = v;
v = new org.apache.nifi.components.AllowableValue;
specialinvoke v.<org.apache.nifi.components.AllowableValue: void <init>(java.lang.String,java.lang.String,java.lang.String)>("FlowFile Tar, v1", "FlowFile Tar, v1", "A bin of FlowFiles will be combined into a single Version 1 FlowFile Package");
<org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue MERGE_FORMAT_FLOWFILE_TAR_V1> = v;
v = new org.apache.nifi.components.AllowableValue;
specialinvoke v.<org.apache.nifi.components.AllowableValue: void <init>(java.lang.String,java.lang.String,java.lang.String)>("Binary Concatenation", "Binary Concatenation", "The contents of all FlowFiles will be concatenated together into a single FlowFile");
<org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue MERGE_FORMAT_CONCAT> = v;
v = new org.apache.nifi.components.AllowableValue;
specialinvoke v.<org.apache.nifi.components.AllowableValue: void <init>(java.lang.String,java.lang.String,java.lang.String)>("Avro", "Avro", "The Avro contents of all FlowFiles will be concatenated together into a single FlowFile");
<org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue MERGE_FORMAT_AVRO> = v;
v = new org.apache.nifi.components.PropertyDescriptor$Builder;
specialinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: void <init>()>();
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder name(java.lang.String)>("Merge Strategy");
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder description(java.lang.String)>("Specifies the algorithm used to merge content. The \'Defragment\' algorithm combines fragments that are associated by attributes back into a single cohesive FlowFile. The \'Bin-Packing Algorithm\' generates a FlowFile populated by arbitrarily chosen FlowFiles");
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder required(boolean)>(1);
v = newarray (org.apache.nifi.components.AllowableValue)[2];
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue MERGE_STRATEGY_BIN_PACK>;
v[0] = v;
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue MERGE_STRATEGY_DEFRAGMENT>;
v[1] = v;
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder allowableValues(org.apache.nifi.components.AllowableValue[])>(v);
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue MERGE_STRATEGY_BIN_PACK>;
v = virtualinvoke v.<org.apache.nifi.components.AllowableValue: java.lang.String getValue()>();
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder defaultValue(java.lang.String)>(v);
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor build()>();
<org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor MERGE_STRATEGY> = v;
v = new org.apache.nifi.components.PropertyDescriptor$Builder;
specialinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: void <init>()>();
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder required(boolean)>(1);
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder name(java.lang.String)>("Merge Format");
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder description(java.lang.String)>("Determines the format that will be used to merge the content.");
v = newarray (org.apache.nifi.components.AllowableValue)[7];
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue MERGE_FORMAT_TAR>;
v[0] = v;
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue MERGE_FORMAT_ZIP>;
v[1] = v;
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue MERGE_FORMAT_FLOWFILE_STREAM_V3>;
v[2] = v;
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue MERGE_FORMAT_FLOWFILE_STREAM_V2>;
v[3] = v;
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue MERGE_FORMAT_FLOWFILE_TAR_V1>;
v[4] = v;
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue MERGE_FORMAT_CONCAT>;
v[5] = v;
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue MERGE_FORMAT_AVRO>;
v[6] = v;
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder allowableValues(org.apache.nifi.components.AllowableValue[])>(v);
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue MERGE_FORMAT_CONCAT>;
v = virtualinvoke v.<org.apache.nifi.components.AllowableValue: java.lang.String getValue()>();
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder defaultValue(java.lang.String)>(v);
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor build()>();
<org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor MERGE_FORMAT> = v;
v = new org.apache.nifi.components.PropertyDescriptor$Builder;
specialinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: void <init>()>();
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder required(boolean)>(1);
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder name(java.lang.String)>("mergecontent-metadata-strategy");
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder displayName(java.lang.String)>("Metadata Strategy");
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder description(java.lang.String)>("For FlowFiles whose input format supports metadata (Avro, e.g.), this property determines which metadata should be added to the bundle. If \'Use First Metadata\' is selected, the metadata keys/values from the first FlowFile to be bundled will be used. If \'Keep Only Common Metadata\' is selected, only the metadata that exists on all FlowFiles in the bundle, with the same value, will be preserved. If \'Ignore Metadata\' is selected, no metadata is transferred to the outgoing bundled FlowFile. If \'Do Not Merge Uncommon Metadata\' is selected, any FlowFile whose metadata values do not match those of the first bundled FlowFile will not be merged.");
v = newarray (org.apache.nifi.components.AllowableValue)[4];
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue METADATA_STRATEGY_USE_FIRST>;
v[0] = v;
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue METADATA_STRATEGY_ALL_COMMON>;
v[1] = v;
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue METADATA_STRATEGY_DO_NOT_MERGE>;
v[2] = v;
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue METADATA_STRATEGY_IGNORE>;
v[3] = v;
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder allowableValues(org.apache.nifi.components.AllowableValue[])>(v);
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue METADATA_STRATEGY_DO_NOT_MERGE>;
v = virtualinvoke v.<org.apache.nifi.components.AllowableValue: java.lang.String getValue()>();
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder defaultValue(java.lang.String)>(v);
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor MERGE_FORMAT>;
v = newarray (org.apache.nifi.components.AllowableValue)[1];
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue MERGE_FORMAT_AVRO>;
v[0] = v;
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder dependsOn(org.apache.nifi.components.PropertyDescriptor,org.apache.nifi.components.AllowableValue[])>(v, v);
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor build()>();
<org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor METADATA_STRATEGY> = v;
v = new org.apache.nifi.components.PropertyDescriptor$Builder;
specialinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: void <init>()>();
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder name(java.lang.String)>("Correlation Attribute Name");
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder description(java.lang.String)>("If specified, like FlowFiles will be binned together, where \'like FlowFiles\' means FlowFiles that have the same value for this Attribute. If not specified, FlowFiles are bundled by the order in which they are pulled from the queue.");
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder required(boolean)>(0);
v = <org.apache.nifi.expression.ExpressionLanguageScope: org.apache.nifi.expression.ExpressionLanguageScope FLOWFILE_ATTRIBUTES>;
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder expressionLanguageSupported(org.apache.nifi.expression.ExpressionLanguageScope)>(v);
v = <org.apache.nifi.processor.util.StandardValidators: org.apache.nifi.components.Validator ATTRIBUTE_KEY_VALIDATOR>;
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder addValidator(org.apache.nifi.components.Validator)>(v);
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder defaultValue(java.lang.String)>(null);
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor MERGE_STRATEGY>;
v = newarray (org.apache.nifi.components.AllowableValue)[1];
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue MERGE_STRATEGY_BIN_PACK>;
v[0] = v;
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder dependsOn(org.apache.nifi.components.PropertyDescriptor,org.apache.nifi.components.AllowableValue[])>(v, v);
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor build()>();
<org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor CORRELATION_ATTRIBUTE_NAME> = v;
v = new org.apache.nifi.components.PropertyDescriptor$Builder;
specialinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: void <init>()>();
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder required(boolean)>(1);
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder name(java.lang.String)>("Delimiter Strategy");
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder description(java.lang.String)>("Determines if Header, Footer, and Demarcator should point to files containing the respective content, or if the values of the properties should be used as the content.");
v = newarray (org.apache.nifi.components.AllowableValue)[3];
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue DELIMITER_STRATEGY_NONE>;
v[0] = v;
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue DELIMITER_STRATEGY_FILENAME>;
v[1] = v;
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue DELIMITER_STRATEGY_TEXT>;
v[2] = v;
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder allowableValues(org.apache.nifi.components.AllowableValue[])>(v);
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue DELIMITER_STRATEGY_NONE>;
v = virtualinvoke v.<org.apache.nifi.components.AllowableValue: java.lang.String getValue()>();
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder defaultValue(java.lang.String)>(v);
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor MERGE_FORMAT>;
v = newarray (java.lang.String)[0];
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder dependsOn(org.apache.nifi.components.PropertyDescriptor,java.lang.String,java.lang.String[])>(v, "Binary Concatenation", v);
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor build()>();
<org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor DELIMITER_STRATEGY> = v;
v = new org.apache.nifi.components.PropertyDescriptor$Builder;
specialinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: void <init>()>();
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder name(java.lang.String)>("Header File");
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder displayName(java.lang.String)>("Header");
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder description(java.lang.String)>("Filename or text specifying the header to use. If not specified, no header is supplied.");
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder required(boolean)>(0);
v = <org.apache.nifi.processor.util.StandardValidators: org.apache.nifi.components.Validator NON_EMPTY_VALIDATOR>;
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder addValidator(org.apache.nifi.components.Validator)>(v);
v = <org.apache.nifi.expression.ExpressionLanguageScope: org.apache.nifi.expression.ExpressionLanguageScope FLOWFILE_ATTRIBUTES>;
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder expressionLanguageSupported(org.apache.nifi.expression.ExpressionLanguageScope)>(v);
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor DELIMITER_STRATEGY>;
v = newarray (org.apache.nifi.components.AllowableValue)[2];
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue DELIMITER_STRATEGY_FILENAME>;
v[0] = v;
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue DELIMITER_STRATEGY_TEXT>;
v[1] = v;
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder dependsOn(org.apache.nifi.components.PropertyDescriptor,org.apache.nifi.components.AllowableValue[])>(v, v);
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor MERGE_FORMAT>;
v = newarray (org.apache.nifi.components.AllowableValue)[1];
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue MERGE_FORMAT_CONCAT>;
v[0] = v;
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder dependsOn(org.apache.nifi.components.PropertyDescriptor,org.apache.nifi.components.AllowableValue[])>(v, v);
v = <org.apache.nifi.components.resource.ResourceCardinality: org.apache.nifi.components.resource.ResourceCardinality SINGLE>;
v = <org.apache.nifi.components.resource.ResourceType: org.apache.nifi.components.resource.ResourceType FILE>;
v = newarray (org.apache.nifi.components.resource.ResourceType)[1];
v = <org.apache.nifi.components.resource.ResourceType: org.apache.nifi.components.resource.ResourceType TEXT>;
v[0] = v;
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder identifiesExternalResource(org.apache.nifi.components.resource.ResourceCardinality,org.apache.nifi.components.resource.ResourceType,org.apache.nifi.components.resource.ResourceType[])>(v, v, v);
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor build()>();
<org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor HEADER> = v;
v = new org.apache.nifi.components.PropertyDescriptor$Builder;
specialinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: void <init>()>();
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder name(java.lang.String)>("Footer File");
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder displayName(java.lang.String)>("Footer");
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder description(java.lang.String)>("Filename or text specifying the footer to use. If not specified, no footer is supplied.");
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder required(boolean)>(0);
v = <org.apache.nifi.processor.util.StandardValidators: org.apache.nifi.components.Validator NON_EMPTY_VALIDATOR>;
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder addValidator(org.apache.nifi.components.Validator)>(v);
v = <org.apache.nifi.expression.ExpressionLanguageScope: org.apache.nifi.expression.ExpressionLanguageScope FLOWFILE_ATTRIBUTES>;
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder expressionLanguageSupported(org.apache.nifi.expression.ExpressionLanguageScope)>(v);
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor DELIMITER_STRATEGY>;
v = newarray (org.apache.nifi.components.AllowableValue)[2];
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue DELIMITER_STRATEGY_FILENAME>;
v[0] = v;
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue DELIMITER_STRATEGY_TEXT>;
v[1] = v;
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder dependsOn(org.apache.nifi.components.PropertyDescriptor,org.apache.nifi.components.AllowableValue[])>(v, v);
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor MERGE_FORMAT>;
v = newarray (org.apache.nifi.components.AllowableValue)[1];
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue MERGE_FORMAT_CONCAT>;
v[0] = v;
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder dependsOn(org.apache.nifi.components.PropertyDescriptor,org.apache.nifi.components.AllowableValue[])>(v, v);
v = <org.apache.nifi.components.resource.ResourceCardinality: org.apache.nifi.components.resource.ResourceCardinality SINGLE>;
v = <org.apache.nifi.components.resource.ResourceType: org.apache.nifi.components.resource.ResourceType FILE>;
v = newarray (org.apache.nifi.components.resource.ResourceType)[1];
v = <org.apache.nifi.components.resource.ResourceType: org.apache.nifi.components.resource.ResourceType TEXT>;
v[0] = v;
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder identifiesExternalResource(org.apache.nifi.components.resource.ResourceCardinality,org.apache.nifi.components.resource.ResourceType,org.apache.nifi.components.resource.ResourceType[])>(v, v, v);
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor build()>();
<org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor FOOTER> = v;
v = new org.apache.nifi.components.PropertyDescriptor$Builder;
specialinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: void <init>()>();
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder name(java.lang.String)>("Demarcator File");
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder displayName(java.lang.String)>("Demarcator");
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder description(java.lang.String)>("Filename or text specifying the demarcator to use. If not specified, no demarcator is supplied.");
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder required(boolean)>(0);
v = <org.apache.nifi.processor.util.StandardValidators: org.apache.nifi.components.Validator NON_EMPTY_VALIDATOR>;
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder addValidator(org.apache.nifi.components.Validator)>(v);
v = <org.apache.nifi.expression.ExpressionLanguageScope: org.apache.nifi.expression.ExpressionLanguageScope FLOWFILE_ATTRIBUTES>;
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder expressionLanguageSupported(org.apache.nifi.expression.ExpressionLanguageScope)>(v);
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor DELIMITER_STRATEGY>;
v = newarray (org.apache.nifi.components.AllowableValue)[2];
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue DELIMITER_STRATEGY_FILENAME>;
v[0] = v;
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue DELIMITER_STRATEGY_TEXT>;
v[1] = v;
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder dependsOn(org.apache.nifi.components.PropertyDescriptor,org.apache.nifi.components.AllowableValue[])>(v, v);
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor MERGE_FORMAT>;
v = newarray (org.apache.nifi.components.AllowableValue)[1];
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue MERGE_FORMAT_CONCAT>;
v[0] = v;
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder dependsOn(org.apache.nifi.components.PropertyDescriptor,org.apache.nifi.components.AllowableValue[])>(v, v);
v = <org.apache.nifi.components.resource.ResourceCardinality: org.apache.nifi.components.resource.ResourceCardinality SINGLE>;
v = <org.apache.nifi.components.resource.ResourceType: org.apache.nifi.components.resource.ResourceType FILE>;
v = newarray (org.apache.nifi.components.resource.ResourceType)[1];
v = <org.apache.nifi.components.resource.ResourceType: org.apache.nifi.components.resource.ResourceType TEXT>;
v[0] = v;
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder identifiesExternalResource(org.apache.nifi.components.resource.ResourceCardinality,org.apache.nifi.components.resource.ResourceType,org.apache.nifi.components.resource.ResourceType[])>(v, v, v);
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor build()>();
<org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor DEMARCATOR> = v;
v = new org.apache.nifi.components.PropertyDescriptor$Builder;
specialinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: void <init>()>();
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder name(java.lang.String)>("Compression Level");
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder description(java.lang.String)>("Specifies the compression level to use when using the Zip Merge Format; if not using the Zip Merge Format, this value is ignored");
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder required(boolean)>(1);
v = newarray (java.lang.String)[10];
v[0] = "0";
v[1] = "1";
v[2] = "2";
v[3] = "3";
v[4] = "4";
v[5] = "5";
v[6] = "6";
v[7] = "7";
v[8] = "8";
v[9] = "9";
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder allowableValues(java.lang.String[])>(v);
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder defaultValue(java.lang.String)>("1");
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor MERGE_FORMAT>;
v = newarray (org.apache.nifi.components.AllowableValue)[1];
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue MERGE_FORMAT_ZIP>;
v[0] = v;
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder dependsOn(org.apache.nifi.components.PropertyDescriptor,org.apache.nifi.components.AllowableValue[])>(v, v);
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor build()>();
<org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor COMPRESSION_LEVEL> = v;
v = new org.apache.nifi.components.PropertyDescriptor$Builder;
specialinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: void <init>()>();
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder name(java.lang.String)>("Keep Path");
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder description(java.lang.String)>("If using the Zip or Tar Merge Format, specifies whether or not the FlowFiles\' paths should be included in their entry names.");
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder required(boolean)>(1);
v = newarray (java.lang.String)[2];
v[0] = "true";
v[1] = "false";
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder allowableValues(java.lang.String[])>(v);
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder defaultValue(java.lang.String)>("false");
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor MERGE_FORMAT>;
v = newarray (org.apache.nifi.components.AllowableValue)[2];
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue MERGE_FORMAT_TAR>;
v[0] = v;
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue MERGE_FORMAT_ZIP>;
v[1] = v;
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder dependsOn(org.apache.nifi.components.PropertyDescriptor,org.apache.nifi.components.AllowableValue[])>(v, v);
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor build()>();
<org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor KEEP_PATH> = v;
v = new org.apache.nifi.components.PropertyDescriptor$Builder;
specialinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: void <init>()>();
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder name(java.lang.String)>("Tar Modified Time");
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder description(java.lang.String)>("If using the Tar Merge Format, specifies if the Tar entry should store the modified timestamp either by expression (e.g. ${file.lastModifiedTime} or static value, both of which must match the ISO8601 format \'yyyy-MM-dd\'T\'HH:mm:ssZ\'.");
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder required(boolean)>(0);
v = <org.apache.nifi.expression.ExpressionLanguageScope: org.apache.nifi.expression.ExpressionLanguageScope FLOWFILE_ATTRIBUTES>;
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder expressionLanguageSupported(org.apache.nifi.expression.ExpressionLanguageScope)>(v);
v = <org.apache.nifi.processor.util.StandardValidators: org.apache.nifi.components.Validator NON_EMPTY_VALIDATOR>;
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder addValidator(org.apache.nifi.components.Validator)>(v);
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder defaultValue(java.lang.String)>("${file.lastModifiedTime}");
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor MERGE_FORMAT>;
v = newarray (org.apache.nifi.components.AllowableValue)[1];
v = <org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.AllowableValue MERGE_FORMAT_TAR>;
v[0] = v;
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor$Builder dependsOn(org.apache.nifi.components.PropertyDescriptor,org.apache.nifi.components.AllowableValue[])>(v, v);
v = virtualinvoke v.<org.apache.nifi.components.PropertyDescriptor$Builder: org.apache.nifi.components.PropertyDescriptor build()>();
<org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.components.PropertyDescriptor TAR_MODIFIED_TIME> = v;
v = new org.apache.nifi.processor.Relationship$Builder;
specialinvoke v.<org.apache.nifi.processor.Relationship$Builder: void <init>()>();
v = virtualinvoke v.<org.apache.nifi.processor.Relationship$Builder: org.apache.nifi.processor.Relationship$Builder name(java.lang.String)>("merged");
v = virtualinvoke v.<org.apache.nifi.processor.Relationship$Builder: org.apache.nifi.processor.Relationship$Builder description(java.lang.String)>("The FlowFile containing the merged content");
v = virtualinvoke v.<org.apache.nifi.processor.Relationship$Builder: org.apache.nifi.processor.Relationship build()>();
<org.apache.nifi.processors.standard.MergeContent: org.apache.nifi.processor.Relationship REL_MERGED> = v;
v = staticinvoke <java.util.regex.Pattern: java.util.regex.Pattern compile(java.lang.String)>("\\d+");
<org.apache.nifi.processors.standard.MergeContent: java.util.regex.Pattern NUMBER_PATTERN> = v;
return;
}
}