com.groupbyinc.flux.index.reindex.AbstractAsyncBulkByScrollAction$ScriptApplier.class Maven / Gradle / Ivy
???? 4G Ocom/groupbyinc/flux/index/reindex/AbstractAsyncBulkByScrollAction$ScriptApplier Ljava/lang/Object;Ljava/util/function/BiFunction;Lcom/groupbyinc/flux/index/reindex/ScrollableHitSource$Hit;Lcom/groupbyinc/flux/index/reindex/AbstractAsyncBulkByScrollAction$RequestWrapper<*>;>; java/lang/Object java/util/function/BiFunction $AbstractAsyncBulkByScrollAction.java Acom/groupbyinc/flux/index/reindex/AbstractAsyncBulkByScrollAction
ScriptApplier Pcom/groupbyinc/flux/index/reindex/AbstractAsyncBulkByScrollAction$RequestWrapper RequestWrapper 9com/groupbyinc/flux/index/reindex/ScrollableHitSource$Hit 5com/groupbyinc/flux/index/reindex/ScrollableHitSource Hit 3com/groupbyinc/flux/script/ExecutableScript$Factory +com/groupbyinc/flux/script/ExecutableScript Factory Hcom/groupbyinc/flux/index/reindex/AbstractAsyncBulkByScrollAction$OpType OpType Ccom/groupbyinc/flux/index/reindex/AbstractAsyncBulkByScrollAction$4 task ;Lcom/groupbyinc/flux/index/reindex/WorkingBulkByScrollTask;
scriptService *Lcom/groupbyinc/flux/script/ScriptService; script #Lcom/groupbyinc/flux/script/Script; params Ljava/util/Map; 5Ljava/util/Map;
executable -Lcom/groupbyinc/flux/script/ExecutableScript; context this$0 CLcom/groupbyinc/flux/index/reindex/AbstractAsyncBulkByScrollAction; ?(Lcom/groupbyinc/flux/index/reindex/AbstractAsyncBulkByScrollAction;Lcom/groupbyinc/flux/index/reindex/WorkingBulkByScrollTask;Lcom/groupbyinc/flux/script/ScriptService;Lcom/groupbyinc/flux/script/Script;Ljava/util/Map;)V * + . ()V , 0
1 3 ! 5 " # 7 $ % 9 this \Lcom/groupbyinc/flux/index/reindex/AbstractAsyncBulkByScrollAction.ScriptApplier; QLcom/groupbyinc/flux/index/reindex/AbstractAsyncBulkByScrollAction$ScriptApplier; apply ?(Lcom/groupbyinc/flux/index/reindex/AbstractAsyncBulkByScrollAction$RequestWrapper;Lcom/groupbyinc/flux/index/reindex/ScrollableHitSource$Hit;)Lcom/groupbyinc/flux/index/reindex/AbstractAsyncBulkByScrollAction$RequestWrapper; ' ( @ UPDATE_CONTEXT *Lcom/groupbyinc/flux/script/ScriptContext; B C D (com/groupbyinc/flux/script/ScriptService F compile a(Lcom/groupbyinc/flux/script/Script;Lcom/groupbyinc/flux/script/ScriptContext;)Ljava/lang/Object; H I
G J newInstance >(Ljava/util/Map;)Lcom/groupbyinc/flux/script/ExecutableScript; L M N ) % P java/util/HashMap R
S 1
java/util/Map U clear W 0 V X _index Z getIndex ()Ljava/lang/String; \ ] ^ put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; ` a V b _type d getType f ] g _id i getId k ] l
getVersion ()J n o p java/lang/Long r valueOf (J)Ljava/lang/Long; t u
s v _version x getParent z ] { _parent }
getRouting ] ? _routing ? _source ? getSource ()Ljava/util/Map; ? ?
? INDEX JLcom/groupbyinc/flux/index/reindex/AbstractAsyncBulkByScrollAction$OpType; ? ? ? op ? toString ? ]
? ctx ?
setNextVar '(Ljava/lang/String;Ljava/lang/Object;)V ? ? ? run ()Ljava/lang/Object; ? ? ? remove &(Ljava/lang/Object;)Ljava/lang/Object; ? ? V ? java/lang/String ? "java/lang/IllegalArgumentException ? Script cleared operation type ? (Ljava/lang/String;)V , ?
? ? setSource (Ljava/util/Map;)V ? ?
? equals (Ljava/lang/Object;)Z ? ?
? ? scriptChangedIndex g(Lcom/groupbyinc/flux/index/reindex/AbstractAsyncBulkByScrollAction$RequestWrapper;Ljava/lang/Object;)V ? ?
? scriptChangedType ? ?
? scriptChangedId ? ?
? java/util/Objects ? '(Ljava/lang/Object;Ljava/lang/Object;)Z ? ?
? ? scriptChangedVersion ? ?
? scriptChangedParent ? ?
? scriptChangedRouting ? ?
?
fromString ^(Ljava/lang/String;)Lcom/groupbyinc/flux/index/reindex/AbstractAsyncBulkByScrollAction$OpType; ? ?
? scriptChangedOpType:(Lcom/groupbyinc/flux/index/reindex/AbstractAsyncBulkByScrollAction$RequestWrapper;Lcom/groupbyinc/flux/index/reindex/AbstractAsyncBulkByScrollAction$OpType;Lcom/groupbyinc/flux/index/reindex/AbstractAsyncBulkByScrollAction$OpType;)Lcom/groupbyinc/flux/index/reindex/AbstractAsyncBulkByScrollAction$RequestWrapper; ? ?
? isEmpty ()Z ? ? V ? java/lang/StringBuilder ?
? 1 !Invalid fields added to context [ ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? , ? keySet ()Ljava/util/Set; ? ? V ? join @(Ljava/lang/CharSequence;Ljava/lang/Iterable;)Ljava/lang/String; ? ?
? ? (C)Ljava/lang/StringBuilder; ? ?
? ?
? ? factory 5Lcom/groupbyinc/flux/script/ExecutableScript$Factory; request ULcom/groupbyinc/flux/index/reindex/AbstractAsyncBulkByScrollAction$RequestWrapper<*>; RLcom/groupbyinc/flux/index/reindex/AbstractAsyncBulkByScrollAction$RequestWrapper; doc ;Lcom/groupbyinc/flux/index/reindex/ScrollableHitSource$Hit;
oldVersion Ljava/lang/Long; oldParent Ljava/lang/String;
oldRouting oldOpType newOp newValue Ljava/lang/Object; newOpType Q$SwitchMap$org$elasticsearch$index$reindex$AbstractAsyncBulkByScrollAction$OpType [I ? ? ordinal ()I
9com/groupbyinc/flux/index/reindex/WorkingBulkByScrollTask countNoop 0
/com/groupbyinc/flux/action/delete/DeleteRequest
^
g
l 9(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V ,
wrap ?(Lcom/groupbyinc/flux/action/delete/DeleteRequest;)Lcom/groupbyinc/flux/index/reindex/AbstractAsyncBulkByScrollAction$RequestWrapper;
p
setVersion (J)V
%com/groupbyinc/flux/index/VersionType INTERNAL 'Lcom/groupbyinc/flux/index/VersionType; setVersionType *(Lcom/groupbyinc/flux/index/VersionType;)V"#
$
{ setParent' ?
(
?
setRouting+ ?
, (Unsupported operation type change from [. -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ?0
?1 ] to [3 ]5 delete ?Lcom/groupbyinc/flux/index/reindex/AbstractAsyncBulkByScrollAction$RequestWrapper; > ?
9 Signature Code LocalVariableTable LocalVariableTypeTable LineNumberTable ?(Lcom/groupbyinc/flux/index/reindex/WorkingBulkByScrollTask;Lcom/groupbyinc/flux/script/ScriptService;Lcom/groupbyinc/flux/script/Script;Ljava/util/Map;)V
StackMapTable ?(Lcom/groupbyinc/flux/index/reindex/AbstractAsyncBulkByScrollAction$RequestWrapper<*>;Lcom/groupbyinc/flux/index/reindex/ScrollableHitSource$Hit;)Lcom/groupbyinc/flux/index/reindex/AbstractAsyncBulkByScrollAction$RequestWrapper<*>;@(Lcom/groupbyinc/flux/index/reindex/AbstractAsyncBulkByScrollAction$RequestWrapper<*>;Lcom/groupbyinc/flux/index/reindex/AbstractAsyncBulkByScrollAction$OpType;Lcom/groupbyinc/flux/index/reindex/AbstractAsyncBulkByScrollAction$OpType;)Lcom/groupbyinc/flux/index/reindex/AbstractAsyncBulkByScrollAction$RequestWrapper<*>; j(Lcom/groupbyinc/flux/index/reindex/AbstractAsyncBulkByScrollAction$RequestWrapper<*>;Ljava/lang/Object;)V
SourceFile InnerClasses! ! " # $ % ; &