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

com.groupbyinc.flux.search.aggregations.pipeline.bucketscript.BucketScriptPipelineAggregator.class Maven / Gradle / Ivy

There is a newer version: 129
Show newest version
????4r\com/groupbyinc/flux/search/aggregations/pipeline/bucketscript/BucketScriptPipelineAggregatorCcom/groupbyinc/flux/search/aggregations/pipeline/PipelineAggregator#BucketScriptPipelineAggregator.javaHcom/groupbyinc/flux/search/aggregations/pipeline/BucketHelpers$GapPolicy>com/groupbyinc/flux/search/aggregations/pipeline/BucketHelpers	GapPolicyIcom/groupbyinc/flux/search/aggregations/InternalAggregation$ReduceContext;com/groupbyinc/flux/search/aggregations/InternalAggregation

ReduceContextjava/util/Map$Entry
java/util/MapEntryUcom/groupbyinc/flux/search/aggregations/InternalMultiBucketAggregation$InternalBucketFcom/groupbyinc/flux/search/aggregations/InternalMultiBucketAggregationInternalBucket3com/groupbyinc/flux/script/ExecutableScript$Factory+com/groupbyinc/flux/script/ExecutableScriptFactory%java/lang/invoke/MethodHandles$Lookupjava/lang/invoke/MethodHandles!Lookup	formatter+Lcom/groupbyinc/flux/search/DocValueFormat;	gapPolicyJLcom/groupbyinc/flux/search/aggregations/pipeline/BucketHelpers$GapPolicy;script#Lcom/groupbyinc/flux/script/Script;bucketsPathsMapLjava/util/Map;5Ljava/util/Map;?(Ljava/lang/String;Ljava/util/Map;Lcom/groupbyinc/flux/script/Script;Lcom/groupbyinc/flux/search/DocValueFormat;Lcom/groupbyinc/flux/search/aggregations/pipeline/BucketHelpers$GapPolicy;Ljava/util/Map;)Vvalues()Ljava/util/Collection;/01size()I345java/lang/String7java/util/Collection9toArray(([Ljava/lang/Object;)[Ljava/lang/Object;;<:=[Ljava/lang/String;?7(Ljava/lang/String;[Ljava/lang/String;Ljava/util/Map;)V-A
B*+	D()	F$%	H&'	Jthis^Lcom/groupbyinc/flux/search/aggregations/pipeline/bucketscript/BucketScriptPipelineAggregator;nameLjava/lang/String;metadata5Ljava/util/Map;5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Vjava/io/IOExceptionS-R
U!com/groupbyinc/flux/script/ScriptW
XU)com/groupbyinc/flux/search/DocValueFormatZ0com/groupbyinc/flux/common/io/stream/StreamInput\readNamedWriteableH(Ljava/lang/Class;)Lcom/groupbyinc/flux/common/io/stream/NamedWriteable;^_
]`readFrom~(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/search/aggregations/pipeline/BucketHelpers$GapPolicy;bc
dreadGenericValue()Ljava/lang/Object;fg
]hin2Lcom/groupbyinc/flux/common/io/stream/StreamInput;	doWriteTo6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)VwriteTonm
Xo1com/groupbyinc/flux/common/io/stream/StreamOutputqwriteNamedWriteable8(Lcom/groupbyinc/flux/common/io/stream/NamedWriteable;)Vst
ru
owriteGenericValue(Ljava/lang/Object;)Vxy
rzout3Lcom/groupbyinc/flux/common/io/stream/StreamOutput;getWriteableName()Ljava/lang/String;
bucket_script?reduce?(Lcom/groupbyinc/flux/search/aggregations/InternalAggregation;Lcom/groupbyinc/flux/search/aggregations/InternalAggregation$ReduceContext;)Lcom/groupbyinc/flux/search/aggregations/InternalAggregation;
getBuckets()Ljava/util/List;??
?
scriptService,()Lcom/groupbyinc/flux/script/ScriptService;??
?AGGS_CONTEXT*Lcom/groupbyinc/flux/script/ScriptContext;??	?(com/groupbyinc/flux/script/ScriptService?compilea(Lcom/groupbyinc/flux/script/Script;Lcom/groupbyinc/flux/script/ScriptContext;)Ljava/lang/Object;??
??java/util/ArrayList?()V-?
??java/util/List?iterator()Ljava/util/Iterator;????java/util/Iterator?hasNext()Z????next?g??java/util/HashMap?
??	getParams()Ljava/util/Map;??
X?putAll(Ljava/util/Map;)V???entrySet()Ljava/util/Set;???
java/util/Set???getKey?g?getValue?g?resolveBucketValue(Lcom/groupbyinc/flux/search/aggregations/bucket/MultiBucketsAggregation;Lcom/groupbyinc/flux/search/aggregations/InternalMultiBucketAggregation$InternalBucket;Ljava/lang/String;Lcom/groupbyinc/flux/search/aggregations/pipeline/BucketHelpers$GapPolicy;)Ljava/lang/Double;??
	?SKIP?'	?java/lang/Double?doubleValue()D??
??isNaN(D)Z??
??put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;???add(Ljava/lang/Object;)Z????newInstance>(Ljava/util/Map;)Lcom/groupbyinc/flux/script/ExecutableScript;???run?g?java/lang/Object?java/lang/Number?Ecom/groupbyinc/flux/search/aggregations/AggregationExecutionException?java/lang/StringBuilder?
??&series_arithmetic script for reducer [?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??N
?] must return a Number?toString?
??(Ljava/lang/String;)V-?
??getAggregations8()Lcom/groupbyinc/flux/search/aggregations/Aggregations;??
?4com/groupbyinc/flux/search/aggregations/Aggregations?spliterator()Ljava/util/Spliterator;
java/util/stream/StreamSupportstream3(Ljava/util/Spliterator;Z)Ljava/util/stream/Stream;
	"java/lang/invoke/LambdaMetafactorymetafactory?(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;

&(Ljava/lang/Object;)Ljava/lang/Object;lambda$reduce$0t(Lcom/groupbyinc/flux/search/aggregations/Aggregation;)Lcom/groupbyinc/flux/search/aggregations/InternalAggregation;
apply()Ljava/util/function/Function;java/util/stream/Streammap8(Ljava/util/function/Function;)Ljava/util/stream/Stream; !"java/util/stream/Collectors$toList()Ljava/util/stream/Collector;&'
%(collect0(Ljava/util/stream/Collector;)Ljava/lang/Object;*+,Dcom/groupbyinc/flux/search/aggregations/pipeline/InternalSimpleValue.
??metaData1?
2`(Ljava/lang/String;DLcom/groupbyinc/flux/search/DocValueFormat;Ljava/util/List;Ljava/util/Map;)V-4
/5createZ(Ljava/util/List;)Lcom/groupbyinc/flux/search/aggregations/InternalMultiBucketAggregation;@A
BvarNamebucketsPathvalueLjava/lang/Double;entry;Ljava/util/Map$Entry;Ljava/util/Map$Entry;aggsOLjava/util/List;Ljava/util/List;	newBucketWLcom/groupbyinc/flux/search/aggregations/InternalMultiBucketAggregation$InternalBucket;executableScript-Lcom/groupbyinc/flux/script/ExecutableScript;returnedLjava/lang/Object;vars
skipBucketZbucketaggregation=Lcom/groupbyinc/flux/search/aggregations/InternalAggregation;
reduceContextKLcom/groupbyinc/flux/search/aggregations/InternalAggregation$ReduceContext;originalAgg?Lcom/groupbyinc/flux/search/aggregations/InternalMultiBucketAggregation;HLcom/groupbyinc/flux/search/aggregations/InternalMultiBucketAggregation;bucketsjLjava/util/List<+Lcom/groupbyinc/flux/search/aggregations/InternalMultiBucketAggregation$InternalBucket;>;factory5Lcom/groupbyinc/flux/script/ExecutableScript$Factory;
newBucketsiLjava/util/List;p5Lcom/groupbyinc/flux/search/aggregations/Aggregation;	SignatureCodeLocalVariableTableLocalVariableTypeTableLineNumberTable(Ljava/lang/String;Ljava/util/Map;Lcom/groupbyinc/flux/script/Script;Lcom/groupbyinc/flux/search/DocValueFormat;Lcom/groupbyinc/flux/search/aggregations/pipeline/BucketHelpers$GapPolicy;Ljava/util/Map;)V
Exceptions
StackMapTableBootstrapMethods
SourceFileInnerClasses!$%&'()*+g,-.h?5*+,?2,?6?8?>?@?C*,?E*-?G*?I*?K?iH5LM5NO5*+5()5$%5&'5P+j5*,5PQk67#8(9.:4;gl-Rhz2*+?V*?XY+?Y?G*+[?a?[?I*+?e?K*+?i??E?i2LM2jkkBCDE&F1GmTlmhe!*?G+?p+*?I?v*?K+?w+*?E?{?i!LM!|}kKLMN OmT~h-??iLMkS??h	?+?N-??:,??*?G?????:??Y??:??:???|???:??Y??:	*?G???	*?G????6
*?E????:???d???:???8:
???8:-*?K??:??*?K???θҙ	6
?	
??W???
???W??	??:??:???W????&??Y??Y????*??????????????
??#?)?-??:

?/Y*????0*?I??Y??*?3?6??W-?8Y
?;??:??W???-?C?i??FDO
?:EO?,FG?RHJkEKM
?
NO?PQ?RSOaT+	jFUV
FjWO?LM?XY?Z[?\^?_M?ab'?cMj>?RHIkEKL
OaTQ	?\]?_`'?cdk?#XZ\]'^F_O`Yagcjd?e?f?g?h?i?j?l?m?n?o?qrstv%wHz^{k|?}?|?~??????n??0????6???U????88??????%?*?g????
h/*??iefk{opq2	
@				 "#




© 2015 - 2025 Weber Informatics LLC | Privacy Policy