com.groupbyinc.flux.index.reindex.AbstractBulkByQueryRestHandler.class Maven / Gradle / Ivy
???? 4 ? @com/groupbyinc/flux/index/reindex/AbstractBulkByQueryRestHandler ;A:Lcom/groupbyinc/flux/action/GenericAction;>Lcom/groupbyinc/flux/index/reindex/AbstractBaseReindexRestHandler; @com/groupbyinc/flux/index/reindex/AbstractBaseReindexRestHandler #AbstractBulkByQueryRestHandler.java java/util/Map$Entry
java/util/Map Entry $assertionsDisabled Z [(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/action/GenericAction;)V
this PLcom/groupbyinc/flux/index/reindex/AbstractBulkByQueryRestHandler; BLcom/groupbyinc/flux/index/reindex/AbstractBulkByQueryRestHandler; settings .Lcom/groupbyinc/flux/common/settings/Settings; action TA; *Lcom/groupbyinc/flux/action/GenericAction; parseInternalRequest w(Lcom/groupbyinc/flux/index/reindex/AbstractBulkByScrollRequest;Lcom/groupbyinc/flux/rest/RestRequest;Ljava/util/Map;)V java/io/IOException java/lang/Throwable
java/lang/AssertionError " Request should not be null $ (Ljava/lang/Object;)V &
# ' RestRequest should not be null ) =com/groupbyinc/flux/index/reindex/AbstractBulkByScrollRequest + getSearchRequest 3()Lcom/groupbyinc/flux/action/search/SearchRequest; - .
, / /com/groupbyinc/flux/action/search/SearchRequest 1 source :()Lcom/groupbyinc/flux/search/builder/SearchSourceBuilder; 3 4
2 5 6com/groupbyinc/flux/search/builder/SearchSourceBuilder 7 size ()I 9 :
8 ; extractRequestSpecificFields k(Lcom/groupbyinc/flux/rest/RestRequest;Ljava/util/Map;)Lcom/groupbyinc/flux/common/xcontent/XContentParser; = >
? 7com/groupbyinc/flux/rest/action/search/RestSearchAction A parseSearchRequest ?(Lcom/groupbyinc/flux/action/search/SearchRequest;Lcom/groupbyinc/flux/rest/RestRequest;Lcom/groupbyinc/flux/common/xcontent/XContentParser;)V C D
B E 2com/groupbyinc/flux/common/xcontent/XContentParser G close ()V I J H K $com/groupbyinc/flux/rest/RestRequest M
addSuppressed (Ljava/lang/Throwable;)V O P
Q setSize B(I)Lcom/groupbyinc/flux/index/reindex/AbstractBulkByScrollRequest; S T
, U scroll_size W
paramAsInt (Ljava/lang/String;I)I Y Z
N [ ;(I)Lcom/groupbyinc/flux/search/builder/SearchSourceBuilder; 9 ]
8 ^ conflicts ` param &(Ljava/lang/String;)Ljava/lang/String; b c
N d setConflicts (Ljava/lang/String;)V f g
, h java/lang/String j search_timeout l hasParam (Ljava/lang/String;)Z n o
N p paramAsTime j(Ljava/lang/String;Lcom/groupbyinc/flux/common/unit/TimeValue;)Lcom/groupbyinc/flux/common/unit/TimeValue; r s
N t timeout e(Lcom/groupbyinc/flux/common/unit/TimeValue;)Lcom/groupbyinc/flux/search/builder/SearchSourceBuilder; v w
8 x parser 4Lcom/groupbyinc/flux/common/xcontent/XContentParser; internal TRequest; ?Lcom/groupbyinc/flux/index/reindex/AbstractBulkByScrollRequest; restRequest &Lcom/groupbyinc/flux/rest/RestRequest;
bodyConsumers TLjava/util/Map;>; Ljava/util/Map;
searchRequest 1Lcom/groupbyinc/flux/action/search/SearchRequest;
scrollSize I Ljava/lang/String; hasContentOrSourceParam ()Z ? ?
N ? contentOrSourceParamParser 6()Lcom/groupbyinc/flux/common/xcontent/XContentParser; ? ?
N ? contentType 4()Lcom/groupbyinc/flux/common/xcontent/XContentType; ? ? H ? 3com/groupbyinc/flux/common/xcontent/XContentFactory ? contentBuilder i(Lcom/groupbyinc/flux/common/xcontent/XContentType;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
? ? map ()Ljava/util/Map; ? ? H ? entrySet ()Ljava/util/Set; ? ?
?
java/util/Set ? iterator ()Ljava/util/Iterator; ? ? ? ? 3com/groupbyinc/flux/common/xcontent/XContentBuilder ? java/util/Iterator ? hasNext ? ? ? ? next ()Ljava/lang/Object; ? ? ? ? getKey ? ? ? remove &(Ljava/lang/Object;)Ljava/lang/Object; ? ?
? getValue ? ? ? java/util/function/Consumer ? accept ? & ? ? 0com/groupbyinc/flux/common/xcontent/XContentType ? xContent 0()Lcom/groupbyinc/flux/common/xcontent/XContent; ? ?
? ? getXContentRegistry =()Lcom/groupbyinc/flux/common/xcontent/NamedXContentRegistry; ? ? H ? F(Ljava/util/Map;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
? ? bytes 3()Lcom/groupbyinc/flux/common/bytes/BytesReference; ? ?
? ? ,com/groupbyinc/flux/common/xcontent/XContent ? createParser ?(Lcom/groupbyinc/flux/common/xcontent/NamedXContentRegistry;Lcom/groupbyinc/flux/common/bytes/BytesReference;)Lcom/groupbyinc/flux/common/xcontent/XContentParser; ? ? ? ?
? K value Ljava/lang/Object; consumer ZLjava/util/Map$Entry;>; Ljava/util/Map$Entry; body 5Ljava/util/Map; builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; java/lang/Class ? desiredAssertionStatus ? ?
? ? Code LocalVariableTable LocalVariableTypeTable LineNumberTable Signature 4(Lcom/groupbyinc/flux/common/settings/Settings;TA;)V
StackMapTable
Exceptions ?(TRequest;Lcom/groupbyinc/flux/rest/RestRequest;Ljava/util/Map;>;)V ?(Lcom/groupbyinc/flux/rest/RestRequest;Ljava/util/Map;>;)Lcom/groupbyinc/flux/common/xcontent/XContentParser;
SourceFile InnerClasses!
? e *+,? ? ? ? ?
+ , ? ? ? j ?? !? +?
? #Y%? (?? !? ,?
? #Y*? (?+? 0:? 6? <6*,-? @::,? F? ]? ? L ? N:? R? B? L ? 8::?: ? %? ? L ? :
? R?
? L ?+? 6?