
com.groupbyinc.flux.action.count.CountRequest.class Maven / Gradle / Ivy
???? 3 ? -com/groupbyinc/flux/action/count/CountRequest pLcom/groupbyinc/flux/action/support/broadcast/BroadcastRequest; =com/groupbyinc/flux/action/support/broadcast/BroadcastRequest CountRequest.java Ljava/lang/Deprecated; DEFAULT_MIN_SCORE F?? minScore routing Ljava/lang/String; %Lcom/groupbyinc/flux/common/Nullable;
preference source 1Lcom/groupbyinc/flux/common/bytes/BytesReference; types [Ljava/lang/String; terminateAfter I ([Ljava/lang/String;)V
"com/groupbyinc/flux/common/Strings EMPTY_ARRAY ! # this /Lcom/groupbyinc/flux/action/count/CountRequest; indices ()F 2(F)Lcom/groupbyinc/flux/action/count/CountRequest; 3()Lcom/groupbyinc/flux/common/bytes/BytesReference; + h(Lcom/groupbyinc/flux/action/support/QuerySourceBuilder;)Lcom/groupbyinc/flux/action/count/CountRequest; #com/groupbyinc/flux/client/Requests . CONTENT_TYPE 2Lcom/groupbyinc/flux/common/xcontent/XContentType; 0 1 / 2 5com/groupbyinc/flux/action/support/QuerySourceBuilder 4 buildAsBytes e(Lcom/groupbyinc/flux/common/xcontent/XContentType;)Lcom/groupbyinc/flux/common/bytes/BytesReference; 6 7
5 8
sourceBuilder 7Lcom/groupbyinc/flux/action/support/QuerySourceBuilder; @(Ljava/util/Map;)Lcom/groupbyinc/flux/action/count/CountRequest; java/io/IOException = 3com/groupbyinc/flux/common/xcontent/XContentFactory ? contentBuilder i(Lcom/groupbyinc/flux/common/xcontent/XContentType;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; A B
@ C 3com/groupbyinc/flux/common/xcontent/XContentBuilder E map F(Ljava/util/Map;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; G H
F I f(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;)Lcom/groupbyinc/flux/action/count/CountRequest; K
L 4com/groupbyinc/flux/ElasticsearchGenerationException N java/lang/StringBuilder P ()V R
Q S Failed to generate [ U append -(Ljava/lang/String;)Ljava/lang/StringBuilder; W X
Q Y -(Ljava/lang/Object;)Ljava/lang/StringBuilder; W [
Q \ ] ^ toString ()Ljava/lang/String; ` a
Q b *(Ljava/lang/String;Ljava/lang/Throwable;)V d
O e builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; e Ljava/io/IOException; querySource Ljava/util/Map; bytes m *
F n C(Ljava/lang/String;)Lcom/groupbyinc/flux/action/count/CountRequest; +com/groupbyinc/flux/common/bytes/BytesArray q (Ljava/lang/String;)V s
r t 3([B)Lcom/groupbyinc/flux/action/count/CountRequest; 5([BII)Lcom/groupbyinc/flux/action/count/CountRequest; w
x [B ([BII)V {
r | b(Lcom/groupbyinc/flux/common/bytes/BytesReference;)Lcom/groupbyinc/flux/action/count/CountRequest; ~
offset length ()[Ljava/lang/String; D([Ljava/lang/String;)Lcom/groupbyinc/flux/action/count/CountRequest;
? arrayToCommaDelimitedString '([Ljava/lang/Object;)Ljava/lang/String; ? ?
? routings
? 2(I)Lcom/groupbyinc/flux/action/count/CountRequest; "java/lang/IllegalArgumentException ? terminateAfter must be > 0 ?
? t terminateAfterCount ()I readFrom 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V 'java/lang/UnsupportedOperationException ? XCountRequest doesn't support being sent over the wire, just a shortcut to the search api ?
? t in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; writeTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; java/lang/Exception ? _na_ ? 2com/groupbyinc/flux/common/xcontent/XContentHelper ?
convertToJson F(Lcom/groupbyinc/flux/common/bytes/BytesReference;Z)Ljava/lang/String; ? ?
? ? java/lang/String ? [ ? ' ? java/util/Arrays ? ` ?
? ? , source[ ? sSource toSearchRequest 3()Lcom/groupbyinc/flux/action/search/SearchRequest; /com/groupbyinc/flux/action/search/SearchRequest ? ' ?
?
? indicesOptions 5()Lcom/groupbyinc/flux/action/support/IndicesOptions; ? ?
? f(Lcom/groupbyinc/flux/action/support/IndicesOptions;)Lcom/groupbyinc/flux/action/search/SearchRequest; ? ?
? ? ?
? F([Ljava/lang/String;)Lcom/groupbyinc/flux/action/search/SearchRequest; ?
? ? a
? E(Ljava/lang/String;)Lcom/groupbyinc/flux/action/search/SearchRequest; ?
? ? a
? ?
? ? *
? d(Lcom/groupbyinc/flux/common/bytes/BytesReference;)Lcom/groupbyinc/flux/action/search/SearchRequest; ?
? ? 6com/groupbyinc/flux/search/builder/SearchSourceBuilder ?
? S size ;(I)Lcom/groupbyinc/flux/search/builder/SearchSourceBuilder; ? ?
? ? (
? ;(F)Lcom/groupbyinc/flux/search/builder/SearchSourceBuilder; ?
? ? ?
? ?
? ? extraSource k(Lcom/groupbyinc/flux/search/builder/SearchSourceBuilder;)Lcom/groupbyinc/flux/action/search/SearchRequest; ? ?
? ?
searchRequest 1Lcom/groupbyinc/flux/action/search/SearchRequest; searchSourceBuilder 8Lcom/groupbyinc/flux/search/builder/SearchSourceBuilder;
ConstantValue RuntimeVisibleAnnotations Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions Signature
SourceFile
Deprecated ! ?
?
? ? ? \ *+? *
? *? ? "*? $? ? % &