com.groupbyinc.flux.index.query.Rewriteable.class Maven / Gradle / Ivy
???? 4 ? +com/groupbyinc/flux/index/query/Rewriteable (Ljava/lang/Object; java/lang/Object Rewriteable.java %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup MAX_REWRITE_ROUNDS I rewrite I(Lcom/groupbyinc/flux/index/query/QueryRewriteContext;)Ljava/lang/Object; java/io/IOException ?(Lcom/groupbyinc/flux/index/query/Rewriteable;Lcom/groupbyinc/flux/index/query/QueryRewriteContext;)Lcom/groupbyinc/flux/index/query/Rewriteable; ?(Lcom/groupbyinc/flux/index/query/Rewriteable;Lcom/groupbyinc/flux/index/query/QueryRewriteContext;Z)Lcom/groupbyinc/flux/index/query/Rewriteable; original TT; -Lcom/groupbyinc/flux/index/query/Rewriteable; context 5Lcom/groupbyinc/flux/index/query/QueryRewriteContext; 3com/groupbyinc/flux/index/query/QueryRewriteContext hasAsyncActions ()Z !
" java/lang/IllegalStateException $ $async actions are left after rewrite & (Ljava/lang/String;)V ( )
% * \too many rewrite rounds, rewriteable might return new objects even if they are not rewritten , rewrittenBuilder assertNoAsyncTasks Z builder iteration rewriteAndFetch ?(Lcom/groupbyinc/flux/index/query/Rewriteable;Lcom/groupbyinc/flux/index/query/QueryRewriteContext;Lcom/groupbyinc/flux/action/ActionListener;)V ?(Lcom/groupbyinc/flux/index/query/Rewriteable;Lcom/groupbyinc/flux/index/query/QueryRewriteContext;Lcom/groupbyinc/flux/action/ActionListener;I)V 3 5 6 rewriteResponse 0Lcom/groupbyinc/flux/action/ActionListener; +Lcom/groupbyinc/flux/action/ActionListener; "java/lang/IllegalArgumentException ; +com/groupbyinc/flux/common/ParsingException = "java/lang/invoke/LambdaMetafactory ? metafactory ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite; A B
@ C D (Ljava/lang/Object;)V F lambda$rewriteAndFetch$0 ?(Lcom/groupbyinc/flux/index/query/Rewriteable;Lcom/groupbyinc/flux/index/query/QueryRewriteContext;Lcom/groupbyinc/flux/action/ActionListener;ILjava/lang/Object;)V H I J K accept ?(Lcom/groupbyinc/flux/index/query/Rewriteable;Lcom/groupbyinc/flux/index/query/QueryRewriteContext;Lcom/groupbyinc/flux/action/ActionListener;I)Lcom/groupbyinc/flux/common/CheckedConsumer; M N O java/util/Objects Q requireNonNull &(Ljava/lang/Object;)Ljava/lang/Object; S T
R U )com/groupbyinc/flux/action/ActionListener W onFailure (Ljava/lang/Exception;)V Y Z X [ \ Z J(Lcom/groupbyinc/flux/action/ActionListener;)Ljava/util/function/Consumer; M _ ` wrap v(Lcom/groupbyinc/flux/common/CheckedConsumer;Ljava/util/function/Consumer;)Lcom/groupbyinc/flux/action/ActionListener; b c X d executeAsyncActions .(Lcom/groupbyinc/flux/action/ActionListener;)V f g
h
onResponse j F X k java/lang/Exception m finalBuilder currentIterationNumber ex Ljava/lang/Exception; W(Ljava/util/List;Lcom/groupbyinc/flux/index/query/QueryRewriteContext;)Ljava/util/List; java/util/List t isEmpty v ! u w java/util/ArrayList y size ()I { | u } (I)V (
z ? iterator ()Ljava/util/Iterator; ? ? u ? java/util/Iterator ? hasNext ? ! ? ? next ()Ljava/lang/Object; ? ? ? ? ? add (Ljava/lang/Object;)Z ? ? u ? instance rewritables Ljava/util/List; Ljava/util/List; list changed n Ljava/lang/Object;
ConstantValue
Exceptions Signature :(Lcom/groupbyinc/flux/index/query/QueryRewriteContext;)TT; Code LocalVariableTable LocalVariableTypeTable LineNumberTable t;>(TT;Lcom/groupbyinc/flux/index/query/QueryRewriteContext;)TT;
StackMapTable u;>(TT;Lcom/groupbyinc/flux/index/query/QueryRewriteContext;Z)TT; ?;>(TT;Lcom/groupbyinc/flux/index/query/QueryRewriteContext;Lcom/groupbyinc/flux/action/ActionListener;)V ?;>(TT;Lcom/groupbyinc/flux/index/query/QueryRewriteContext;Lcom/groupbyinc/flux/action/ActionListener;I)V ?;>(Ljava/util/List;Lcom/groupbyinc/flux/index/query/QueryRewriteContext;)Ljava/util/List; BootstrapMethods
SourceFile InnerClasses
? ? ? ? ? M *+? ? ? ? ? 3 ? ? ? ? T*N6-+? ? :-? >? +? #?
? %Y'? +?N??
? %Y-? +?-+? ? :???-? ? > A . T T T / 0 R 1 O 2
? A . T R 1 ? *
B C D F " G , I / J 9 M C E R Q ? ? ? ? ? ? 3 4 ? f *+,? 7? ? 8 : ? 8 9 ?
W X ? ? 3 5 ? ? ?*:+? ? :? V:??
? %Y-? +?+? #? (:6++,? P ,Y? VW? a ? e? i?+? ? :???,? l ?
:,? \ ? Y u Y u <