com.groupbyinc.flux.search.aggregations.pipeline.movavg.models.SimpleModel.class Maven / Gradle / Ivy
???? 4 ? Jcom/groupbyinc/flux/search/aggregations/pipeline/movavg/models/SimpleModel Jcom/groupbyinc/flux/search/aggregations/pipeline/movavg/models/MovAvgModel SimpleModel.java ]com/groupbyinc/flux/search/aggregations/pipeline/movavg/models/SimpleModel$SimpleModelBuilder SimpleModelBuilder Lcom/groupbyinc/flux/search/aggregations/pipeline/movavg/models/SimpleModel$1 ^com/groupbyinc/flux/search/aggregations/pipeline/movavg/models/MovAvgModel$AbstractModelParser AbstractModelParser 5com/groupbyinc/flux/common/xcontent/ToXContent$Params .com/groupbyinc/flux/common/xcontent/ToXContent Params NAME Ljava/lang/String; simple PARSER `Lcom/groupbyinc/flux/search/aggregations/pipeline/movavg/models/MovAvgModel$AbstractModelParser; ()V
this LLcom/groupbyinc/flux/search/aggregations/pipeline/movavg/models/SimpleModel; 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V java/io/IOException in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; writeTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; getWriteableName ()Ljava/lang/String; canBeMinimized ()Z neighboringModel N()Lcom/groupbyinc/flux/search/aggregations/pipeline/movavg/models/MovAvgModel;
clone doPredict (Ljava/util/Collection;I)[D next (Ljava/util/Collection;)D 2 3
4 java/util/Arrays 6 fill ([DD)V 8 9
7 : values Ljava/util/Collection; Ljava/util/Collection; numPredictions I predictions [D java/util/Collection C iterator ()Ljava/util/Iterator; E F D G java/util/Iterator I hasNext K + J L ()Ljava/lang/Object; 2 N J O java/lang/Number Q doubleValue ()D S T
R U size ()I W X D Y v TT; Ljava/lang/Number; avg D
toXContent ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; Xcom/groupbyinc/flux/search/aggregations/pipeline/movavg/MovAvgPipelineAggregationBuilder b MODEL 'Lcom/groupbyinc/flux/common/ParseField; d e c f %com/groupbyinc/flux/common/ParseField h getPreferredName j )
i k 3com/groupbyinc/flux/common/xcontent/XContentBuilder m field [(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; o p
n q builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; params 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; hashCode equals (Ljava/lang/Object;)Z java/lang/Object z getClass ()Ljava/lang/Class; | }
{ ~ obj Ljava/lang/Object; $java/lang/CloneNotSupportedException ? / -
?
?
ConstantValue Code LocalVariableTable LineNumberTable
Exceptions LocalVariableTypeTable Signature 6(Ljava/util/Collection;I)[D
StackMapTable 4(Ljava/util/Collection;)D
SourceFile InnerClasses ! ? ? 3 *? ? ? ?
( ) ? = *? ? ? " # ?
. / ? ! $ % ? 5 ? ? &