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: 59
Show newest version
????3?\com/groupbyinc/flux/search/aggregations/pipeline/bucketscript/BucketScriptPipelineAggregatorCcom/groupbyinc/flux/search/aggregations/pipeline/PipelineAggregator#BucketScriptPipelineAggregator.javadcom/groupbyinc/flux/search/aggregations/pipeline/bucketscript/BucketScriptPipelineAggregator$FactoryFactory^com/groupbyinc/flux/search/aggregations/pipeline/bucketscript/BucketScriptPipelineAggregator$2	^com/groupbyinc/flux/search/aggregations/pipeline/bucketscript/BucketScriptPipelineAggregator$1@com/groupbyinc/flux/search/aggregations/InternalAggregation$Type
;com/groupbyinc/flux/search/aggregations/InternalAggregationTypeQcom/groupbyinc/flux/search/aggregations/pipeline/PipelineAggregatorStreams$StreamJcom/groupbyinc/flux/search/aggregations/pipeline/PipelineAggregatorStreamsStreamHcom/groupbyinc/flux/search/aggregations/pipeline/BucketHelpers$GapPolicy>com/groupbyinc/flux/search/aggregations/pipeline/BucketHelpers	GapPolicyIcom/groupbyinc/flux/search/aggregations/InternalAggregation$ReduceContext
ReduceContextjava/util/Map$Entry
java/util/Map!EntryUcom/groupbyinc/flux/search/aggregations/InternalMultiBucketAggregation$InternalBucket$Fcom/groupbyinc/flux/search/aggregations/InternalMultiBucketAggregation&InternalBucketMcom/groupbyinc/flux/search/aggregations/bucket/MultiBucketsAggregation$Bucket)Fcom/groupbyinc/flux/search/aggregations/bucket/MultiBucketsAggregation+Bucket1com/groupbyinc/flux/script/ScriptContext$Standard.(com/groupbyinc/flux/script/ScriptContext0StandardTYPEBLcom/groupbyinc/flux/search/aggregations/InternalAggregation$Type;STREAMSLcom/groupbyinc/flux/search/aggregations/pipeline/PipelineAggregatorStreams$Stream;FUNCTION8Lcom/groupbyinc/flux/common/google/common/base/Function;?Lcom/groupbyinc/flux/common/google/common/base/Function;	formatterGLcom/groupbyinc/flux/search/aggregations/support/format/ValueFormatter;	gapPolicyJLcom/groupbyinc/flux/search/aggregations/pipeline/BucketHelpers$GapPolicy;script#Lcom/groupbyinc/flux/script/Script;bucketsPathsMapLjava/util/Map;5Ljava/util/Map;registerStreams()V56	E/com/groupbyinc/flux/common/bytes/BytesReferenceG34	Istream3()Lcom/groupbyinc/flux/common/bytes/BytesReference;KL
MregisterStream?(Lcom/groupbyinc/flux/search/aggregations/pipeline/PipelineAggregatorStreams$Stream;[Lcom/groupbyinc/flux/common/bytes/BytesReference;)VOP
QSD
Tthis^Lcom/groupbyinc/flux/search/aggregations/pipeline/bucketscript/BucketScriptPipelineAggregator;?(Ljava/lang/String;Ljava/util/Map;Lcom/groupbyinc/flux/script/Script;Lcom/groupbyinc/flux/search/aggregations/support/format/ValueFormatter;Lcom/groupbyinc/flux/search/aggregations/pipeline/BucketHelpers$GapPolicy;Ljava/util/Map;)Vvalues()Ljava/util/Collection;YZ"[size()I]^"_java/lang/Stringajava/util/CollectionctoArray(([Ljava/lang/Object;)[Ljava/lang/Object;efdg[Ljava/lang/String;i7(Ljava/lang/String;[Ljava/lang/String;Ljava/util/Map;)VSk
l@A	n>?	p:;	r<=	tnameLjava/lang/String;metadata5Ljava/util/Map;typeD()Lcom/groupbyinc/flux/search/aggregations/InternalAggregation$Type;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;??
?AGGS3Lcom/groupbyinc/flux/script/ScriptContext$Standard;??	/?java/util/Collections?emptyMap()Ljava/util/Map;??
??(com/groupbyinc/flux/script/ScriptService?compile?(Lcom/groupbyinc/flux/script/Script;Lcom/groupbyinc/flux/script/ScriptContext;Lcom/groupbyinc/flux/common/HasContextAndHeaders;Ljava/util/Map;)Lcom/groupbyinc/flux/script/CompiledScript;??
??java/util/ArrayList?
?Tjava/util/List?iterator()Ljava/util/Iterator;????)com/groupbyinc/flux/script/CompiledScript?java/util/Iterator?hasNext()Z????next()Ljava/lang/Object;????java/util/HashMap?
?T!com/groupbyinc/flux/script/Script?	getParams??
??putAll(Ljava/util/Map;)V??"?entrySet()Ljava/util/Set;??"?
java/util/Set???getKey?? ?getValue?? ?resolveBucketValue(Lcom/groupbyinc/flux/search/aggregations/InternalMultiBucketAggregation;Lcom/groupbyinc/flux/search/aggregations/bucket/MultiBucketsAggregation$Bucket;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????
executablei(Lcom/groupbyinc/flux/script/CompiledScript;Ljava/util/Map;)Lcom/groupbyinc/flux/script/ExecutableScript;??
??+com/groupbyinc/flux/script/ExecutableScript?run????java/lang/Object?java/lang/Number?Ecom/groupbyinc/flux/search/aggregations/AggregationExecutionException?java/lang/StringBuilder?
?T&series_arithmetic script for reducer [?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??()Ljava/lang/String;v?
?] must return a Number?toString??
??(Ljava/lang/String;)VS?
??getAggregations8()Lcom/groupbyinc/flux/search/aggregations/Aggregations;*4com/groupbyinc/flux/search/aggregations/AggregationsasList78		/com/groupbyinc/flux/common/util/CollectionUtilseagerTransformZ(Ljava/util/List;Lcom/groupbyinc/flux/common/google/common/base/Function;)Ljava/util/List;

(Ljava/util/Collection;)VS
?Dcom/groupbyinc/flux/search/aggregations/pipeline/InternalSimpleValue
??metaData?
|(Ljava/lang/String;DLcom/groupbyinc/flux/search/aggregations/support/format/ValueFormatter;Ljava/util/List;Ljava/util/Map;)VS
;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
skipBucketZbucketOLcom/groupbyinc/flux/search/aggregations/bucket/MultiBucketsAggregation$Bucket;aggregation=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;bucketsbLjava/util/List<+Lcom/groupbyinc/flux/search/aggregations/bucket/MultiBucketsAggregation$Bucket;>;compiledScript+Lcom/groupbyinc/flux/script/CompiledScript;
newBuckets	doWriteTo6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)Vjava/io/IOExceptionMwriteToOL
?PLcom/groupbyinc/flux/search/aggregations/support/format/ValueFormatterStreamsR
writeOptional}(Lcom/groupbyinc/flux/search/aggregations/support/format/ValueFormatter;Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)VTU
SV
P1com/groupbyinc/flux/common/io/stream/StreamOutputYwriteGenericValue(Ljava/lang/Object;)V[\
Z]out3Lcom/groupbyinc/flux/common/io/stream/StreamOutput;
doReadFrom5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V
readScriptW(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/script/Script;cd
?ereadOptional{(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/search/aggregations/support/format/ValueFormatter;gh
SireadFrom~(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/search/aggregations/pipeline/BucketHelpers$GapPolicy;kl
m0com/groupbyinc/flux/common/io/stream/StreamInputoreadGenericValueq?
prin2Lcom/groupbyinc/flux/common/io/stream/StreamInput;
bucket_scriptw
?
T

T	SignatureCodeLineNumberTableLocalVariableTableLocalVariableTypeTable3(Ljava/lang/String;Ljava/util/Map;Lcom/groupbyinc/flux/script/Script;Lcom/groupbyinc/flux/search/aggregations/support/format/ValueFormatter;Lcom/groupbyinc/flux/search/aggregations/pipeline/BucketHelpers$GapPolicy;Ljava/util/Map;)V
StackMapTable
Exceptions
SourceFileInnerClasses!345678|9:;<=>?@A|B	CD}0?F?HY?J?NS?R?~
EFSD}3*?U?VW~
VWSX}?5*+,?\,?`?b?h?j?m*,?o*-?q*?s*?u?H5VW5vw5@A5>?5:;5<=5xA?5@B5xy~[\#](^._4`|?z{}.?J?VW~d|}}
	?+?'N-??:,??*?q??,????:??Y??:??:???y???*:??Y??:	*?q???	*?q????6
*?o????:???d??? :???b:
???b:-*?u??:??*?u???иԙ	6
?	
??W???
???W??,??	??:??:???W????&??Y??Y????*??????????????Y???
??:

?Y*????*?s??Y??*????W-?Y
?!?%?%:??W???-?)???F*w
?:+w?,,-?R.0fH13
?
45?67?89P^:A	kC;<
Gg=>?VW??@?AB?CE?F3?HI(?J3?4?R./fH12
P^:y	?CD?FG~?"ijlm(nGoPpZqhskt?u?v?w?x?y?z?|?}?~?????? ?(?K?f????????????????1'?????6*"???U'????*"? bb??'????*"?'??*?b'?????KL}e!*?q+?Q*?s+?W*?u+?X+*?o?^?!VW!_`~???? ??Nab}h$*+?f?q*+?j?s*+?n?u*+?s?"?o?$VW$tu~????#??NvD}B"?Yx?y?J?Y?z?F?
Y?{?
?~9
;H??Z	
		@	 "#	%'(	*,-	/12@




© 2015 - 2025 Weber Informatics LLC | Privacy Policy