com.groupbyinc.flux.index.rankeval.RankEvalRequest.class Maven / Gradle / Ivy
???? 4 ? 2com/groupbyinc/flux/index/rankeval/RankEvalRequest (com/groupbyinc/flux/action/ActionRequest 5com/groupbyinc/flux/action/IndicesRequest$Replaceable RankEvalRequest.java )com/groupbyinc/flux/action/IndicesRequest Replaceable rankingEvaluationSpec 1Lcom/groupbyinc/flux/index/rankeval/RankEvalSpec; indicesOptions 3Lcom/groupbyinc/flux/action/support/IndicesOptions; indices [Ljava/lang/String; G(Lcom/groupbyinc/flux/index/rankeval/RankEvalSpec;[Ljava/lang/String;)V ()V
/com/groupbyinc/flux/action/search/SearchRequest DEFAULT_INDICES_OPTIONS
"com/groupbyinc/flux/common/Strings EMPTY_ARRAY " 1ranking evaluation specification must not be null $ java/util/Objects & requireNonNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; ( )
' * /com/groupbyinc/flux/index/rankeval/RankEvalSpec , . I([Ljava/lang/String;)Lcom/groupbyinc/flux/index/rankeval/RankEvalRequest; 0
1 this 4Lcom/groupbyinc/flux/index/rankeval/RankEvalRequest; 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V java/io/IOException 6 readFrom 8 5
9 5
- ; 0com/groupbyinc/flux/common/io/stream/StreamInput =
getVersion ()Lcom/groupbyinc/flux/Version; ? @
> A com/groupbyinc/flux/Version C V_6_3_0 Lcom/groupbyinc/flux/Version; E F D G onOrAfter (Lcom/groupbyinc/flux/Version;)Z I J
D K readStringArray ()[Ljava/lang/String; M N
> O 1com/groupbyinc/flux/action/support/IndicesOptions Q readIndicesOptions g(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/action/support/IndicesOptions; S T
R U readInt ()I W X
> Y java/lang/String [
readString ()Ljava/lang/String; ^ _
> ` i I indicesSize in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; validate ?()Lcom/groupbyinc/flux/action/ActionRequestValidationException; ;com/groupbyinc/flux/action/ActionRequestValidationException i
j (missing ranking evaluation specification l addValidationError (Ljava/lang/String;)V n o
j p e =Lcom/groupbyinc/flux/action/ActionRequestValidationException; getRankEvalSpec 3()Lcom/groupbyinc/flux/index/rankeval/RankEvalSpec; setRankEvalSpec 4(Lcom/groupbyinc/flux/index/rankeval/RankEvalSpec;)V task indices must not be null y index must not be null { index Ljava/lang/String; 5()Lcom/groupbyinc/flux/action/support/IndicesOptions; 6(Lcom/groupbyinc/flux/action/support/IndicesOptions;)V indicesOptions must not be null ? 'java/lang/UnsupportedOperationException ? 2usage of Streamable is to be replaced by Writeable ? o
? ? writeTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V ? ?
?
- ? 1com/groupbyinc/flux/common/io/stream/StreamOutput ?
? A writeStringArray ([Ljava/lang/String;)V ? ?
? ? writeIndicesOptions ? ?
R ? writeInt (I)V ? ?
? ? writeString ? o
? ? out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; equals (Ljava/lang/Object;)Z java/lang/Object ? getClass ()Ljava/lang/Class; ? ?
? ? '(Ljava/lang/Object;Ljava/lang/Object;)Z ? ?
' ? java/util/Arrays ? )([Ljava/lang/Object;[Ljava/lang/Object;)Z ? ?
? ? o Ljava/lang/Object; that hashCode ([Ljava/lang/Object;)I ? ?
? ? java/lang/Integer ? valueOf (I)Ljava/lang/Integer; ? ?
? ? hash ? ?
' ? @([Ljava/lang/String;)Lcom/groupbyinc/flux/action/IndicesRequest; Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile InnerClasses !
? x &*? *? ? *? !? #*+%? +? -? /*,? 2W? ? &