com.groupbyinc.flux.search.aggregations.pipeline.cumulativesum.CumulativeSumPipelineAggregationBuilder.class Maven / Gradle / Ivy
???? 4( fcom/groupbyinc/flux/search/aggregations/pipeline/cumulativesum/CumulativeSumPipelineAggregationBuilder ?Lcom/groupbyinc/flux/search/aggregations/pipeline/AbstractPipelineAggregationBuilder; Scom/groupbyinc/flux/search/aggregations/pipeline/AbstractPipelineAggregationBuilder ,CumulativeSumPipelineAggregationBuilder.java 5com/groupbyinc/flux/common/xcontent/ToXContent$Params .com/groupbyinc/flux/common/xcontent/ToXContent Params 8com/groupbyinc/flux/common/xcontent/XContentParser$Token 2com/groupbyinc/flux/common/xcontent/XContentParser Token 1com/groupbyinc/flux/search/DocValueFormat$Decimal )com/groupbyinc/flux/search/DocValueFormat Decimal Jcom/groupbyinc/flux/search/aggregations/pipeline/PipelineAggregator$Parser Ccom/groupbyinc/flux/search/aggregations/pipeline/PipelineAggregator Parser NAME Ljava/lang/String; cumulative_sum format '(Ljava/lang/String;Ljava/lang/String;)V java/lang/String " :(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)V $
% this hLcom/groupbyinc/flux/search/aggregations/pipeline/cumulativesum/CumulativeSumPipelineAggregationBuilder; name bucketsPath 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V java/io/IOException , G(Lcom/groupbyinc/flux/common/io/stream/StreamInput;Ljava/lang/String;)V .
/ 0com/groupbyinc/flux/common/io/stream/StreamInput 1 readOptionalString ()Ljava/lang/String; 3 4
2 5 7 in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; doWriteTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V 1com/groupbyinc/flux/common/io/stream/StreamOutput = writeOptionalString (Ljava/lang/String;)V ? @
> A out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; |(Ljava/lang/String;)Lcom/groupbyinc/flux/search/aggregations/pipeline/cumulativesum/CumulativeSumPipelineAggregationBuilder; "java/lang/IllegalArgumentException F java/lang/StringBuilder H ()V J
I K [format] must not be null: [ M append -(Ljava/lang/String;)Ljava/lang/StringBuilder; O P
I Q ) S ] U toString W 4
I X @
G Z formatter -()Lcom/groupbyinc/flux/search/DocValueFormat;
Z RAW +Lcom/groupbyinc/flux/search/DocValueFormat; _ ` a createInternal V(Ljava/util/Map;)Lcom/groupbyinc/flux/search/aggregations/pipeline/PipelineAggregator; ^com/groupbyinc/flux/search/aggregations/pipeline/cumulativesum/CumulativeSumPipelineAggregator e bucketsPaths [Ljava/lang/String; g h i \ ]
k b(Ljava/lang/String;[Ljava/lang/String;Lcom/groupbyinc/flux/search/DocValueFormat;Ljava/util/Map;)V m
f n metaData 5Ljava/util/Map; Ljava/util/Map;
doValidate ^(Lcom/groupbyinc/flux/search/aggregations/AggregatorFactory;Ljava/util/List;Ljava/util/List;)V java/lang/IllegalStateException u BUCKETS_PATH 'Lcom/groupbyinc/flux/common/ParseField; w x y %com/groupbyinc/flux/common/ParseField { getPreferredName } 4
| ~ . must contain a single entry for aggregation [ ?
v Z Scom/groupbyinc/flux/search/aggregations/bucket/histogram/HistogramAggregatorFactory ? minDocCount ()J ? ?
? ? 0parent histogram of cumulative sum aggregation [ ? ] must have min_doc_count of 0 ? Wcom/groupbyinc/flux/search/aggregations/bucket/histogram/DateHistogramAggregatorFactory ?
? ? cumulative sum aggregation [ ? 3] must have a histogram or date_histogram as parent ? histoParent ULcom/groupbyinc/flux/search/aggregations/bucket/histogram/HistogramAggregatorFactory; YLcom/groupbyinc/flux/search/aggregations/bucket/histogram/DateHistogramAggregatorFactory; parent >Lcom/groupbyinc/flux/search/aggregations/AggregatorFactory<*>; ;Lcom/groupbyinc/flux/search/aggregations/AggregatorFactory; aggFactories NLjava/util/List; Ljava/util/List; pipelineAggregatorFactories VLjava/util/List; internalXContent ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; Rcom/groupbyinc/flux/search/aggregations/pipeline/bucketmetrics/BucketMetricsParser ? FORMAT ? x ? ? 3com/groupbyinc/flux/common/xcontent/XContentBuilder ? field [(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
? ? builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; params 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; parse ?(Ljava/lang/String;Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/search/aggregations/pipeline/cumulativesum/CumulativeSumPipelineAggregationBuilder; h nextToken <()Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token; ? ? ?
END_OBJECT :Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token; ? ?
?
FIELD_NAME ? ?
? currentName ? 4 ? VALUE_STRING ? ?
? ? match (Ljava/lang/String;)Z ? ?
| ? text ? 4 ? +com/groupbyinc/flux/common/ParsingException ? getTokenLocation 8()Lcom/groupbyinc/flux/common/xcontent/XContentLocation; ? ? ? Unknown key for a ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; O ?
I ? in [ ? ]: [ ? ]. ? java/lang/Object ? ^(Lcom/groupbyinc/flux/common/xcontent/XContentLocation;Ljava/lang/String;[Ljava/lang/Object;)V ?
? ? START_ARRAY ? ?
? java/util/ArrayList ?
? K java/util/List ? END_ARRAY ? ?
? add (Ljava/lang/Object;)Z ? ? ? ? size ()I ? ? ? ? toArray (([Ljava/lang/Object;)[Ljava/lang/Object; ? ? ? ? Unexpected token ? Missing required field [ ? ] for derivative aggregation [ ? !
? E
path paths $Ljava/util/List; pipelineAggregatorName parser 4Lcom/groupbyinc/flux/common/xcontent/XContentParser; token currentFieldName factory
doHashCode java/util/Objects
hash ([Ljava/lang/Object;)I
doEquals equals '(Ljava/lang/Object;Ljava/lang/Object;)Z
obj Ljava/lang/Object; other getWriteableName
ConstantValue Code LocalVariableTable LineNumberTable
Exceptions
StackMapTable LocalVariableTypeTable Signature |(Ljava/util/Map;)Lcom/groupbyinc/flux/search/aggregations/pipeline/PipelineAggregator; ?(Lcom/groupbyinc/flux/search/aggregations/AggregatorFactory<*>;Ljava/util/List;Ljava/util/List;)V
SourceFile InnerClasses !
! R *+? #Y,S? &? ' ( ) *
4 5 + L *+? 0*+? 6? 8? ' ( 9 : ; <