com.groupbyinc.flux.script.mustache.SearchTemplateRequest.class Maven / Gradle / Ivy
???? 4 ? 9com/groupbyinc/flux/script/mustache/SearchTemplateRequest (com/groupbyinc/flux/action/ActionRequest 2com/groupbyinc/flux/action/CompositeIndicesRequest SearchTemplateRequest.java %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles
Lookup request 1Lcom/groupbyinc/flux/action/search/SearchRequest; simulate Z explain profile
scriptType 'Lcom/groupbyinc/flux/script/ScriptType; script Ljava/lang/String; scriptParams Ljava/util/Map; 5Ljava/util/Map; ()V
" this ;Lcom/groupbyinc/flux/script/mustache/SearchTemplateRequest; 4(Lcom/groupbyinc/flux/action/search/SearchRequest;)V
'
searchRequest
setRequest
getRequest 3()Lcom/groupbyinc/flux/action/search/SearchRequest;
isSimulate ()Z setSimulate (Z)V isExplain
setExplain isProfile
setProfile
getScriptType )()Lcom/groupbyinc/flux/script/ScriptType; 7
setScriptType *(Lcom/groupbyinc/flux/script/ScriptType;)V getScript ()Ljava/lang/String; = setScript (Ljava/lang/String;)V getScriptParams ()Ljava/util/Map; C setScriptParams (Ljava/util/Map;)V validate ?()Lcom/groupbyinc/flux/action/ActionRequestValidationException; java/lang/String I isEmpty K .
J L ;com/groupbyinc/flux/action/ActionRequestValidationException N template is missing P *com/groupbyinc/flux/action/ValidateActions R addValidationError ?(Ljava/lang/String;Lcom/groupbyinc/flux/action/ActionRequestValidationException;)Lcom/groupbyinc/flux/action/ActionRequestValidationException; T U
S V !template's script type is missing X search request is missing Z /com/groupbyinc/flux/action/search/SearchRequest \ G H
] ^
O validationErrors ()Ljava/util/List; a b
O c addValidationErrors (Ljava/lang/Iterable;)V e f
O g ex =Lcom/groupbyinc/flux/action/ActionRequestValidationException; validationException readFrom 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V java/io/IOException n l m
p "java/lang/invoke/LambdaMetafactory r 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; t u
s v w ()Ljava/lang/Object; y
] { , get ()Ljava/util/function/Supplier; ~ ? 0com/groupbyinc/flux/common/io/stream/StreamInput ? readOptionalStreamable P(Ljava/util/function/Supplier;)Lcom/groupbyinc/flux/common/io/stream/Streamable; ? ?
? ? readBoolean ? .
? ? %com/groupbyinc/flux/script/ScriptType ? [(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/script/ScriptType; l ?
? ? readOptionalString ? <
? ? readMap ? B
? ? in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; writeTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V ? ?
? 1com/groupbyinc/flux/common/io/stream/StreamOutput ? writeOptionalStreamable 4(Lcom/groupbyinc/flux/common/io/stream/Streamable;)V ? ?
? ? writeBoolean ? 0
? ?
? ? writeOptionalString ? @
? ? writeMap ? F
? ? out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; hasParams Signature Code LocalVariableTable LineNumberTable 7()Ljava/util/Map; LocalVariableTypeTable 8(Ljava/util/Map;)V
StackMapTable
Exceptions BootstrapMethods
SourceFile InnerClasses !
? ? N *? *? *? !*? #? ? $ % ? 0 ) * + 1 &