com.groupbyinc.flux.action.search.SearchPhaseExecutionException.class Maven / Gradle / Ivy
???? 4 ?com/groupbyinc/flux/action/search/SearchPhaseExecutionException *com/groupbyinc/flux/ElasticsearchException "SearchPhaseExecutionException.java 5com/groupbyinc/flux/common/xcontent/ToXContent$Params .com/groupbyinc/flux/common/xcontent/ToXContent Params phaseName Ljava/lang/String;
shardFailures 7[Lcom/groupbyinc/flux/action/search/ShardSearchFailure; ^(Ljava/lang/String;Ljava/lang/String;[Lcom/groupbyinc/flux/action/search/ShardSearchFailure;)V s(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;[Lcom/groupbyinc/flux/action/search/ShardSearchFailure;)V
this ALcom/groupbyinc/flux/action/search/SearchPhaseExecutionException; msg deduplicateCause c(Ljava/lang/Throwable;[Lcom/groupbyinc/flux/action/search/ShardSearchFailure;)Ljava/lang/Throwable;
java/lang/Object =(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V
" cause Ljava/lang/Throwable; 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V java/io/IOException ' &
) 0com/groupbyinc/flux/common/io/stream/StreamInput + readOptionalString ()Ljava/lang/String; - .
, / readVInt ()I 1 2
, 3 4com/groupbyinc/flux/action/search/ShardSearchFailure 5 readShardSearchFailure j(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/action/search/ShardSearchFailure; 7 8
6 9 i I in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; numFailures writeTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V @ A
B 1com/groupbyinc/flux/common/io/stream/StreamOutput D writeOptionalString (Ljava/lang/String;)V F G
E H writeVInt (I)V J K
E L
6 B failure 6Lcom/groupbyinc/flux/action/search/ShardSearchFailure; out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; "java/lang/IllegalArgumentException T $shardSearchFailures must not be null V G
U X getCause ()Ljava/lang/Throwable; Z [
6 \ status '()Lcom/groupbyinc/flux/rest/RestStatus; #com/groupbyinc/flux/rest/RestStatus ` SERVICE_UNAVAILABLE %Lcom/groupbyinc/flux/rest/RestStatus; b c a d ^ _
6 f getStatus h 2
a i 9()[Lcom/groupbyinc/flux/action/search/ShardSearchFailure;
\ guessRootCauses /()[Lcom/groupbyinc/flux/ElasticsearchException; m n
o java/lang/Throwable q -[Lcom/groupbyinc/flux/ElasticsearchException; s rootCause ,Lcom/groupbyinc/flux/ElasticsearchException; buildMessage o(Ljava/lang/String;Ljava/lang/String;[Lcom/groupbyinc/flux/action/search/ShardSearchFailure;)Ljava/lang/String; java/lang/StringBuilder y ()V {
z | Failed to execute phase [ ~ append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
z ? ], ? ; shardFailures ? java/lang/String ? shard 0()Lcom/groupbyinc/flux/search/SearchShardTarget; ? ?
6 ? { ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ? ?
z ? : ? reason ? .
6 ? } ? toString ? .
z ? shardFailure sb Ljava/lang/StringBuilder; metadataToXContent o(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)V phase ? 3com/groupbyinc/flux/common/xcontent/XContentBuilder ? field [(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
? ? group_shard_failures ? paramAsBoolean (Ljava/lang/String;Z)Z ? ? ? grouped ? J(Ljava/lang/String;Z)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
? ?
failed_shards ? I(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
? ?
startArray 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
? ? $com/groupbyinc/flux/ExceptionsHelper ? groupBy x([Lcom/groupbyinc/flux/action/ShardOperationFailedException;)[Lcom/groupbyinc/flux/action/ShardOperationFailedException; ? ?
? ? ;[Lcom/groupbyinc/flux/action/ShardOperationFailedException; ? startObject ? ?
? ? 8com/groupbyinc/flux/action/ShardOperationFailedException ?
toXContent ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ? ? ? endObject ? ?
? ? endArray ? ?
? ? :Lcom/groupbyinc/flux/action/ShardOperationFailedException; builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; params 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; group Z failures unwrapCause ,(Ljava/lang/Throwable;)Ljava/lang/Throwable; ? ?
? ? generateThrowableXContent ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;Ljava/lang/Throwable;)V ? ?
? getExceptionName ? .
?
getMessage ? .
?
getHeaders ()Ljava/util/Map; ? ?
? getMetadata ? ?
? innerToXContent ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;Ljava/lang/Throwable;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Ljava/util/Map;Ljava/lang/Throwable;)V ? ?
? ex java/util/ArrayList ? K
? ? java/util/List ? ? \ D(Ljava/lang/Throwable;)[Lcom/groupbyinc/flux/ElasticsearchException; m ?
? java/util/Arrays asList %([Ljava/lang/Object;)Ljava/util/List;
addAll (Ljava/util/Collection;)Z ? toArray (([Ljava/lang/Object;)[Ljava/lang/Object; ?
rootCauses >Ljava/util/List; Ljava/util/List; w x
getPhaseName Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions LocalVariableTypeTable
SourceFile InnerClasses !
U *+,-? ? *
( ) y *,-? ? ? *+? !*? #? 4 $ %
, - . / &