com.groupbyinc.flux.action.bulk.BulkItemRequest.class Maven / Gradle / Ivy
???? 4 ? /com/groupbyinc/flux/action/bulk/BulkItemRequest java/lang/Object /com/groupbyinc/flux/common/io/stream/Streamable BulkItemRequest.java 8com/groupbyinc/flux/action/bulk/BulkItemResponse$Failure 0com/groupbyinc/flux/action/bulk/BulkItemResponse
Failure 1com/groupbyinc/flux/action/DocWriteRequest$OpType
*com/groupbyinc/flux/action/DocWriteRequest OpType id I request ,Lcom/groupbyinc/flux/action/DocWriteRequest; primaryResponse 2Lcom/groupbyinc/flux/action/bulk/BulkItemResponse; $assertionsDisabled Z ()V
this 1Lcom/groupbyinc/flux/action/bulk/BulkItemRequest; 0(ILcom/groupbyinc/flux/action/DocWriteRequest;)V ! # ()I .()Lcom/groupbyinc/flux/action/DocWriteRequest; index ()Ljava/lang/String; ) indices ()[Ljava/lang/String; + , - java/lang/AssertionError /
0 getPrimaryResponse 4()Lcom/groupbyinc/flux/action/bulk/BulkItemResponse; 4 setPrimaryResponse 5(Lcom/groupbyinc/flux/action/bulk/BulkItemResponse;)V abort *(Ljava/lang/String;Ljava/lang/Exception;)V type : ( ; ( = java/util/Objects ? requireNonNull &(Ljava/lang/Object;)Ljava/lang/Object; A B
@ C java/lang/Exception E O(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Exception;Z)V G
H opType 5()Lcom/groupbyinc/flux/action/DocWriteRequest$OpType; J K L q(ILcom/groupbyinc/flux/action/DocWriteRequest$OpType;Lcom/groupbyinc/flux/action/bulk/BulkItemResponse$Failure;)V N
O 6 7
Q isFailed ()Z S T
U
getFailure <()Lcom/groupbyinc/flux/action/bulk/BulkItemResponse$Failure; W X
Y isAborted [ T
\ java/lang/StringBuilder ^
_
response [ a append -(Ljava/lang/String;)Ljava/lang/StringBuilder; c d
_ e "com/groupbyinc/flux/common/Strings g toString D(Lcom/groupbyinc/flux/common/xcontent/ToXContent;)Ljava/lang/String; i j
h k
]; cause [ m -(Ljava/lang/Object;)Ljava/lang/StringBuilder; c o
_ p ] r i (
_ t (Ljava/lang/Object;)V v
0 w getCause ()Ljava/lang/Exception; y z
{
addSuppressed (Ljava/lang/Throwable;)V } ~
F java/lang/IllegalStateException ? "aborting item that with response [ ? ] that was previously processed ? *(Ljava/lang/String;Ljava/lang/Throwable;)V ?
? ? failure :Lcom/groupbyinc/flux/action/bulk/BulkItemResponse$Failure; Ljava/lang/String; cause Ljava/lang/Exception; readBulkItem e(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/action/bulk/BulkItemRequest; java/io/IOException ?
readFrom 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V ? ?
? in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; item 0com/groupbyinc/flux/common/io/stream/StreamInput ? readVInt ? %
? ? readDocumentRequest `(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/action/DocWriteRequest; ? ? ? readBoolean ? T
? ? f(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/action/bulk/BulkItemResponse; ? ?
? writeTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V 1com/groupbyinc/flux/common/io/stream/StreamOutput ? writeVInt (I)V ? ?
? ? writeDocumentRequest b(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;Lcom/groupbyinc/flux/action/DocWriteRequest;)V ? ? ? writeOptionalStreamable 4(Lcom/groupbyinc/flux/common/io/stream/Streamable;)V ? ?
? ? out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; java/lang/Class ? desiredAssertionStatus ? T
? ? Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile InnerClasses ! B ? 3 *? ? ? ?
% ' ? Y *? *? "*,? $? ? ? * + , - % ? / *? "? ? ? 0 &