com.groupbyinc.flux.index.reindex.AbstractBulkByScrollRequest.class Maven / Gradle / Ivy
???? 4? =com/groupbyinc/flux/index/reindex/AbstractBulkByScrollRequest x;>Lcom/groupbyinc/flux/action/ActionRequest; (com/groupbyinc/flux/action/ActionRequest AbstractBulkByScrollRequest.java SIZE_ALL_MATCHES I???? DEFAULT_SCROLL_TIMEOUT +Lcom/groupbyinc/flux/common/unit/TimeValue; DEFAULT_SCROLL_SIZE ?
searchRequest 1Lcom/groupbyinc/flux/action/search/SearchRequest; size abortOnVersionConflict Z refresh timeout activeShardCount 5Lcom/groupbyinc/flux/action/support/ActiveShardCount; retryBackoffInitialTime
maxRetries requestsPerSecond F shouldStoreResult slices ()V
! # % Acom/groupbyinc/flux/action/support/replication/ReplicationRequest ' DEFAULT_TIMEOUT ) ( * , 3com/groupbyinc/flux/action/support/ActiveShardCount . DEFAULT 0 / 1 3 ? )com/groupbyinc/flux/common/unit/TimeValue 7 timeValueMillis .(J)Lcom/groupbyinc/flux/common/unit/TimeValue; 9 :
8 ; = ?? B D this GLcom/groupbyinc/flux/index/reindex/AbstractBulkByScrollRequest; ?Lcom/groupbyinc/flux/index/reindex/AbstractBulkByScrollRequest; 5(Lcom/groupbyinc/flux/action/search/SearchRequest;Z)V J
L /com/groupbyinc/flux/action/search/SearchRequest N scroll ^(Lcom/groupbyinc/flux/common/unit/TimeValue;)Lcom/groupbyinc/flux/action/search/SearchRequest; P Q
O R 6com/groupbyinc/flux/search/builder/SearchSourceBuilder T
U source k(Lcom/groupbyinc/flux/search/builder/SearchSourceBuilder;)Lcom/groupbyinc/flux/action/search/SearchRequest; W X
O Y :()Lcom/groupbyinc/flux/search/builder/SearchSourceBuilder; W [
O \ ;(I)Lcom/groupbyinc/flux/search/builder/SearchSourceBuilder; ^
U _ setDefaults self A()Lcom/groupbyinc/flux/index/reindex/AbstractBulkByScrollRequest; validate ?()Lcom/groupbyinc/flux/action/ActionRequestValidationException; d e
O f from ()I h i
U j %from is not supported in this context l *com/groupbyinc/flux/action/ValidateActions n addValidationError ?(Ljava/lang/String;Lcom/groupbyinc/flux/action/ActionRequestValidationException;)Lcom/groupbyinc/flux/action/ActionRequestValidationException; p q
o r ;com/groupbyinc/flux/action/ActionRequestValidationException t storedFields 8()Lcom/groupbyinc/flux/search/fetch/StoredFieldsContext; v w
U x .stored_fields is not supported in this context z retries cannnot be negative | java/lang/StringBuilder ~
rsize should be greater than 0 if the request is limited to some number of documents or -1 if it isn't but it was [ ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? (I)Ljava/lang/StringBuilder; ? ?
? ] ? toString ()Ljava/lang/String; ? ?
? slice 1()Lcom/groupbyinc/flux/search/slice/SliceBuilder; ? ?
U ? $can't specify both slice and workers ? e =Lcom/groupbyinc/flux/action/ActionRequestValidationException; getSize setSize B(I)Lcom/groupbyinc/flux/index/reindex/AbstractBulkByScrollRequest; "java/lang/IllegalArgumentException ? ,[size] parameter cannot be negative, found [ ? (Ljava/lang/String;)V ?
? ? b c
? isAbortOnVersionConflict ()Z setAbortOnVersionConflict B(Z)Lcom/groupbyinc/flux/index/reindex/AbstractBulkByScrollRequest; setConflicts java/lang/String ? hashCode ? i
? ? proceed ? equals (Ljava/lang/Object;)Z ? ?
? ? abort ? ? ?
? 4conflicts may only be "proceed" or "abort" but was [ ? conflicts Ljava/lang/String; getSearchRequest 3()Lcom/groupbyinc/flux/action/search/SearchRequest; isRefresh
setRefresh
getTimeout -()Lcom/groupbyinc/flux/common/unit/TimeValue;
setTimeout l(Lcom/groupbyinc/flux/common/unit/TimeValue;)Lcom/groupbyinc/flux/index/reindex/AbstractBulkByScrollRequest; getWaitForActiveShards 7()Lcom/groupbyinc/flux/action/support/ActiveShardCount; setWaitForActiveShards v(Lcom/groupbyinc/flux/action/support/ActiveShardCount;)Lcom/groupbyinc/flux/index/reindex/AbstractBulkByScrollRequest; 8(I)Lcom/groupbyinc/flux/action/support/ActiveShardCount; h ?
/ ? ? ?
? waitForActiveShards getRetryBackoffInitialTime setRetryBackoffInitialTime
getMaxRetries
setMaxRetries getRequestsPerSecond ()F setRequestsPerSecond B(F)Lcom/groupbyinc/flux/index/reindex/AbstractBulkByScrollRequest; `[requests_per_second] must be greater than 0. Use Float.POSITIVE_INFINITY to disable throttling. ? setShouldStoreResult ? getShouldStoreResult setSlices [slices] must be at least 1 ? getSlices forSlice ?(Lcom/groupbyinc/flux/tasks/TaskId;Lcom/groupbyinc/flux/action/search/SearchRequest;)Lcom/groupbyinc/flux/index/reindex/AbstractBulkByScrollRequest;
doForSlice ?(Lcom/groupbyinc/flux/index/reindex/AbstractBulkByScrollRequest;Lcom/groupbyinc/flux/tasks/TaskId;)Lcom/groupbyinc/flux/index/reindex/AbstractBulkByScrollRequest; ? ?
? ? ?
? ? ?
? ? ?
? ? ?
? ? ?
? ? ?
? com/groupbyinc/flux/tasks/TaskId ? ? ?
?
setParentTask %(Lcom/groupbyinc/flux/tasks/TaskId;)V ? ?
? request TSelf; slicingTask "Lcom/groupbyinc/flux/tasks/TaskId;
createTask i(JLjava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/tasks/TaskId;)Lcom/groupbyinc/flux/tasks/Task; 8com/groupbyinc/flux/index/reindex/ParentBulkByScrollTask getDescription ?
](JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/tasks/TaskId;I)V
-com/groupbyinc/flux/search/slice/SliceBuilder getId
i
java/lang/Integer
valueOf (I)Ljava/lang/Integer;
9com/groupbyinc/flux/index/reindex/WorkingBulkByScrollTask p(JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/tasks/TaskId;Ljava/lang/Integer;F)V
id J type action parentTaskId sliceId Ljava/lang/Integer; readFrom 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V java/io/IOException!
#
O
O# 0com/groupbyinc/flux/common/io/stream/StreamInput' readBoolean) ?
(* readVInt, i
(-
8/ i(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/action/support/ActiveShardCount;1
/2 readFloat4 ?
(5
getVersion ()Lcom/groupbyinc/flux/Version;78
(9 com/groupbyinc/flux/Version; V_5_1_1 Lcom/groupbyinc/flux/Version;=> <? onOrAfter (Lcom/groupbyinc/flux/Version;)ZAB
<C in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; writeTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)VGH
I
OI 1com/groupbyinc/flux/common/io/stream/StreamOutputL writeBoolean (Z)VNO
MP writeVInt (I)VRS
MT
8I
/I
writeFloat (F)VXY
MZ
M9 _Attempting to send sliced reindex-style request to a node that doesn't support it. Version is [] -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ?_
` ] but must be [b out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; searchToString (Ljava/lang/StringBuilder;)V indices ()[Ljava/lang/String;hi
Oj java/util/Arraysl '([Ljava/lang/Object;)Ljava/lang/String; ?n
mo
[all indices]q typessi
Ot b Ljava/lang/StringBuilder; java/lang/Objectx
y ? timeValueMinutes~ :
8
ConstantValue Code LocalVariableTable LocalVariableTypeTable LineNumberTable
StackMapTable Signature ()TSelf; (I)TSelf; (Z)TSelf; 3(Lcom/groupbyinc/flux/common/unit/TimeValue;)TSelf; =(Lcom/groupbyinc/flux/action/support/ActiveShardCount;)TSelf; (F)TSelf; [(Lcom/groupbyinc/flux/tasks/TaskId;Lcom/groupbyinc/flux/action/search/SearchRequest;)TSelf; 0(TSelf;Lcom/groupbyinc/flux/tasks/TaskId;)TSelf;
Exceptions
SourceFile! ?
?
# ? ? =*? *? "*? $*? &*? +? -*? 2? 4* 5?