All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.ingest.CompoundProcessor.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????4	,com/groupbyinc/flux/ingest/CompoundProcessorjava/lang/Object$com/groupbyinc/flux/ingest/ProcessorCompoundProcessor.java%java/lang/invoke/MethodHandles$Lookupjava/lang/invoke/MethodHandles
LookupON_FAILURE_MESSAGE_FIELDLjava/lang/String;on_failure_messageON_FAILURE_PROCESSOR_TYPE_FIELDon_failure_processor_typeON_FAILURE_PROCESSOR_TAG_FIELDon_failure_processor_tag
ignoreFailureZ
processorsLjava/util/List;8Ljava/util/List;onFailureProcessors*([Lcom/groupbyinc/flux/ingest/Processor;)Vjava/util/ArraysasList%([Ljava/lang/Object;)Ljava/util/List;!"
 #java/util/Collections%	emptyList()Ljava/util/List;'(
&)$(ZLjava/util/List;Ljava/util/List;)V+
,this.Lcom/groupbyinc/flux/ingest/CompoundProcessor;	processor'[Lcom/groupbyinc/flux/ingest/Processor;()V2
3	5	7	9isIgnoreFailure()ZgetOnFailureProcessors
getProcessorsflattenProcessorsjava/util/ArrayList@"(Ljava/util/List;)Ljava/util/List;?B
C(Ljava/util/Collection;)VE
AFjava/util/ListHaddAll(Ljava/util/Collection;)ZJKIL
allProcessors
A3iterator()Ljava/util/Iterator;PQIRjava/util/IteratorThasNextV<UWnext()Ljava/lang/Object;YZU[?(
]add(Ljava/lang/Object;)Z_`Ia&Lcom/groupbyinc/flux/ingest/Processor;	flattenedgetType()Ljava/lang/String;compoundggetTagjava/lang/StringBuilderj
k3CompoundProcessor-mappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;op
kqstream()Ljava/util/stream/Stream;stIu"java/lang/invoke/LambdaMetafactorywmetafactory?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;yz
x{|&(Ljava/lang/Object;)Ljava/lang/Object;~if?	?:(Lcom/groupbyinc/flux/ingest/Processor;)Ljava/lang/String;?apply()Ljava/util/function/Function;???java/util/stream/Stream?map8(Ljava/util/function/Function;)Ljava/util/stream/Stream;????-?java/util/stream/Collectors?joining6(Ljava/lang/CharSequence;)Ljava/util/stream/Collector;??
??collect0(Ljava/util/stream/Collector;)Ljava/lang/Object;????java/lang/String?toString?f
k?execute.(Lcom/groupbyinc/flux/ingest/IngestDocument;)Vjava/lang/Exception????)com/groupbyinc/flux/ingest/IngestDocument?ef?newCompoundProcessorExceptiong(Ljava/lang/Exception;Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/ElasticsearchException;??
?isEmpty?<I?*com/groupbyinc/flux/ElasticsearchException?executeOnFailureZ(Lcom/groupbyinc/flux/ingest/IngestDocument;Lcom/groupbyinc/flux/ElasticsearchException;)V??
?compoundProcessorException,Lcom/groupbyinc/flux/ElasticsearchException;eLjava/lang/Exception;ingestDocument+Lcom/groupbyinc/flux/ingest/IngestDocument;putFailureMetadata??
?removeFailureMetadata??
?java/lang/Throwable?	exceptionprocessor_type?	getHeader$(Ljava/lang/String;)Ljava/util/List;??
??
processor_tag?get(I)Ljava/lang/Object;??I?getIngestMetadata()Ljava/util/Map;??
??getRootCause()Ljava/lang/Throwable;??
??
getMessage?f
??
java/util/Map?put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;????causeprocessorTypeHeader$Ljava/util/List;processorTagHeaderfailedProcessorTypefailedProcessorTagingestMetadata5Ljava/util/Map;Ljava/util/Map;remove?~??"java/lang/IllegalArgumentException?(Ljava/lang/Throwable;)V?
??
??	addHeader((Ljava/lang/String;[Ljava/lang/String;)V??
??
processorTypeprocessorTag
ConstantValue	SignatureCodeLocalVariableTableLineNumberTableLocalVariableTypeTablet(ZLjava/util/List;Ljava/util/List;)V:()Ljava/util/List;
StackMapTabler(Ljava/util/List;)Ljava/util/List;
ExceptionsBootstrapMethods
SourceFileInnerClasses!
???????E
*+?$?*?-??
./
01?
./+??*?4*?6*,?8*-?:??*./?23	456?;<?/*?6??./?9=(?/*?:??./?=?>(?/*?8??./?A??(?m?AY*?8?D?GL+*?:?D?MW+??./NN?EFG?
?B??G?AY?OL*?SM,?X?0,?\?N-??+-??^?MW?+-?bW???+?? " 0cG?dG?d?KL"M)N:PBRES?IU?*???ef?-h??./?Xif?]3?kY?ln?r*?^?v????????????r????3./?]???(d*?8?SM,?X?S,?\?N-+???<:*?6????*-??-????:*?:????*+???????$'??4G??)7??C0cd./d???:bd$r'e)f0g3j7kGlSmVo]p`sct0?
U??U????"??	????? \*+,??*?:?SN-?X?3-?\?:+???:*??????????*+?§
:*+????$,/?IQQSQ?41??$"0c\./\??\???.xy${,~/|1}FI?N?Q?[?,?U???U???G?	????>i,Ƕ?N,Ͷ?:-?-?????:??????:+??:,?ٶܹ?W??W??W??Ri./i??i??b?Z?#F?90??*?? b??Z???*???&	???#?9???P?\?h?? II@???@?????!+??M,??W,??W,??W?? !./!??????????? ?????R+???+??Ƕ??+?????Y??Y+???:,????Y,S??-????Y-S????4R./R??R?R?))???"???)?-?<?@?O?
?#?}??
	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy