com.groupbyinc.flux.action.ingest.SimulatePipelineRequest.class Maven / Gradle / Ivy
???? 4( 9com/groupbyinc/flux/action/ingest/SimulatePipelineRequest (com/groupbyinc/flux/action/ActionRequest SimulatePipelineRequest.java @com/groupbyinc/flux/action/ingest/SimulatePipelineRequest$Parsed Parsed @com/groupbyinc/flux/action/ingest/SimulatePipelineRequest$Fields Fields +com/groupbyinc/flux/ingest/Pipeline$Factory #com/groupbyinc/flux/ingest/Pipeline Factory 2com/groupbyinc/flux/ingest/IngestDocument$MetaData )com/groupbyinc/flux/ingest/IngestDocument MetaData id Ljava/lang/String; verbose Z source 1Lcom/groupbyinc/flux/common/bytes/BytesReference; xContentType 2Lcom/groupbyinc/flux/common/xcontent/XContentType; PIPELINE_FACTORY -Lcom/groupbyinc/flux/ingest/Pipeline$Factory; SIMULATED_PIPELINE_ID _simulate_pipeline ! 4(Lcom/groupbyinc/flux/common/bytes/BytesReference;)V Ljava/lang/Deprecated; 3com/groupbyinc/flux/common/xcontent/XContentFactory & e(Lcom/groupbyinc/flux/common/bytes/BytesReference;)Lcom/groupbyinc/flux/common/xcontent/XContentType; (
' ) f(Lcom/groupbyinc/flux/common/bytes/BytesReference;Lcom/groupbyinc/flux/common/xcontent/XContentType;)V # +
, this ;Lcom/groupbyinc/flux/action/ingest/SimulatePipelineRequest; ()V # 0
1 java/util/Objects 3 requireNonNull &(Ljava/lang/Object;)Ljava/lang/Object; 5 6
4 7 /com/groupbyinc/flux/common/bytes/BytesReference 9 ; 0com/groupbyinc/flux/common/xcontent/XContentType = ? validate ?()Lcom/groupbyinc/flux/action/ActionRequestValidationException; getId ()Ljava/lang/String; E setId (Ljava/lang/String;)V isVerbose ()Z K
setVerbose (Z)V getSource 3()Lcom/groupbyinc/flux/common/bytes/BytesReference; getXContentType 4()Lcom/groupbyinc/flux/common/xcontent/XContentType; readFrom 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V java/io/IOException U S T
W 0com/groupbyinc/flux/common/io/stream/StreamInput Y readOptionalString [ D
Z \ readBoolean ^ J
Z _ readBytesReference a P
Z b
getVersion ()Lcom/groupbyinc/flux/Version; d e
Z f com/groupbyinc/flux/Version h V_5_3_0 Lcom/groupbyinc/flux/Version; j k i l onOrAfter (Lcom/groupbyinc/flux/Version;)Z n o
i p f(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/common/xcontent/XContentType; S r
> s in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; writeTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V w x
y 1com/groupbyinc/flux/common/io/stream/StreamOutput { writeOptionalString } H
| ~ writeBoolean ? N
| ? writeBytesReference ? $
| ?
| f
> y out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; parseWithPipelineId ?(Ljava/lang/String;Ljava/util/Map;ZLcom/groupbyinc/flux/ingest/PipelineStore;)Lcom/groupbyinc/flux/action/ingest/SimulatePipelineRequest$Parsed; "java/lang/IllegalArgumentException ? param [pipeline] is null ? # H
? ? (com/groupbyinc/flux/ingest/PipelineStore ? get 9(Ljava/lang/String;)Lcom/groupbyinc/flux/ingest/Pipeline; ? ?
? ? java/lang/StringBuilder ?
? 1
pipeline [ ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? ] does not exist ? toString ? D
? ? parseDocs !(Ljava/util/Map;)Ljava/util/List; ? ?
? 9(Lcom/groupbyinc/flux/ingest/Pipeline;Ljava/util/List;Z)V # ?
?
pipelineId config 5Ljava/util/Map; Ljava/util/Map;
pipelineStore *Lcom/groupbyinc/flux/ingest/PipelineStore; pipeline %Lcom/groupbyinc/flux/ingest/Pipeline; ingestDocumentList =Ljava/util/List; Ljava/util/List; parse ~(Ljava/util/Map;ZLcom/groupbyinc/flux/ingest/PipelineStore;)Lcom/groupbyinc/flux/action/ingest/SimulatePipelineRequest$Parsed; java/lang/Exception ? ? -com/groupbyinc/flux/ingest/ConfigurationUtils ? readMap V(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;)Ljava/util/Map; ? ?
? ? ? getProcessorFactories ()Ljava/util/Map; ? ?
? ? create W(Ljava/lang/String;Ljava/util/Map;Ljava/util/Map;)Lcom/groupbyinc/flux/ingest/Pipeline; ? ?
? pipelineConfig docs ? readList W(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;)Ljava/util/List; ? ?
? ? java/util/ArrayList ?
? 1 java/util/List ? iterator ()Ljava/util/Iterator; ? ? ? ? java/util/Iterator ? hasNext ? J ? ? next ()Ljava/lang/Object; ? ? ? ?
java/util/Map ? _source ? INDEX 4Lcom/groupbyinc/flux/ingest/IngestDocument$MetaData; ? ? ? getFieldName ? D
? _index ? readStringProperty k(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; ? ?
? ? TYPE ? ? ? _type ? ID ? ? ? _id ? ROUTING ? readOptionalStringProperty Y(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;)Ljava/lang/String;
? PARENT ? l(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)V #
add (Ljava/lang/Object;)Z ? document ingestDocument +Lcom/groupbyinc/flux/ingest/IngestDocument; dataMap GLjava/util/List;>;
1
ConstantValue Code LocalVariableTable LineNumberTable
Deprecated RuntimeVisibleAnnotations
StackMapTable
Exceptions LocalVariableTypeTable Signature ?(Ljava/lang/String;Ljava/util/Map;ZLcom/groupbyinc/flux/ingest/PipelineStore;)Lcom/groupbyinc/flux/action/ingest/SimulatePipelineRequest$Parsed; ?(Ljava/util/Map;ZLcom/groupbyinc/flux/ingest/PipelineStore;)Lcom/groupbyinc/flux/action/ingest/SimulatePipelineRequest$Parsed; t(Ljava/util/Map;)Ljava/util/List;
SourceFile InnerClasses ! " # $ B
*++? *? -?
. /
9 : % # + e *? 2*+? 8? :? <*,? 8? >? @? . / ? @ A B # 0 3 *? 2? . /
D E A B , ? . / I C D / *? F? . / M G H > *+? F? . /
Q R I J / *? L? . / U M N > *? L? . /
Y Z O P / *?