com.groupbyinc.flux.index.query.SpanOrQueryBuilder.class Maven / Gradle / Ivy
???? 4? 2com/groupbyinc/flux/index/query/SpanOrQueryBuilder ?Lcom/groupbyinc/flux/index/query/AbstractQueryBuilder;Lcom/groupbyinc/flux/index/query/SpanQueryBuilder; 4com/groupbyinc/flux/index/query/AbstractQueryBuilder 0com/groupbyinc/flux/index/query/SpanQueryBuilder SpanOrQueryBuilder.java 5com/groupbyinc/flux/common/xcontent/ToXContent$Params .com/groupbyinc/flux/common/xcontent/ToXContent Params 8com/groupbyinc/flux/common/xcontent/XContentParser$Token 2com/groupbyinc/flux/common/xcontent/XContentParser Token NAME Ljava/lang/String; span_or
CLAUSES_FIELD 'Lcom/groupbyinc/flux/common/ParseField; clauses Ljava/util/List; DLjava/util/List; $assertionsDisabled Z 5(Lcom/groupbyinc/flux/index/query/SpanQueryBuilder;)V ()V
! java/util/ArrayList #
$ ! & "java/lang/IllegalArgumentException ( *[span_or] must include at least one clause * (Ljava/lang/String;)V ,
) - java/util/List / add (Ljava/lang/Object;)Z 1 2 0 3 this 4Lcom/groupbyinc/flux/index/query/SpanOrQueryBuilder;
initialClause 2Lcom/groupbyinc/flux/index/query/SpanQueryBuilder; 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V java/io/IOException : 9
< readQueries D(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Ljava/util/List; > ?
@ iterator ()Ljava/util/Iterator; B C 0 D 0com/groupbyinc/flux/common/io/stream/StreamInput F java/util/Iterator H hasNext ()Z J K I L next ()Ljava/lang/Object; N O I P ,com/groupbyinc/flux/index/query/QueryBuilder R clause .Lcom/groupbyinc/flux/index/query/QueryBuilder; in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; doWriteTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V writeQueries F(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;Ljava/util/List;)V Z [
\ out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; addClause h(Lcom/groupbyinc/flux/index/query/SpanQueryBuilder;)Lcom/groupbyinc/flux/index/query/SpanOrQueryBuilder; %[span_or] inner clause cannot be null b ()Ljava/util/List; java/util/Collections e unmodifiableList "(Ljava/util/List;)Ljava/util/List; g h
f i
doXContent o(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)V 3com/groupbyinc/flux/common/xcontent/XContentBuilder m startObject I(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; o p
n q s %com/groupbyinc/flux/common/ParseField u getPreferredName ()Ljava/lang/String; w x
v y
startArray { p
n |
toXContent ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ~ ? endArray 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
n ? printBoostAndQueryName 8(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;)V ? ?
? endObject ? ?
n ? builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; params 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; fromXContent j(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/index/query/SpanOrQueryBuilder; java/lang/String ? nextToken <()Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token; ? ? ?
END_OBJECT :Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token; ? ? ?
FIELD_NAME ? ? ? currentName ? x ? START_ARRAY ? ? ? getDeprecationHandler :()Lcom/groupbyinc/flux/common/xcontent/DeprecationHandler; ? ? ? match M(Ljava/lang/String;Lcom/groupbyinc/flux/common/xcontent/DeprecationHandler;)Z ? ?
v ? END_ARRAY ? ? ? parseInnerQueryBuilder d(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/index/query/QueryBuilder; ? ?
? +com/groupbyinc/flux/common/ParsingException ? getTokenLocation 8()Lcom/groupbyinc/flux/common/xcontent/XContentLocation; ? ? ? +spanOr [clauses] must be of type span query ? java/lang/Object ? ^(Lcom/groupbyinc/flux/common/xcontent/XContentLocation;Ljava/lang/String;[Ljava/lang/Object;)V ?
? ? java/lang/StringBuilder ?
? ! "[span_or] query does not support [ ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? ] ? toString ? x
? ? BOOST_FIELD ? ?
floatValue ()F ? ? ?
NAME_FIELD ? ? text ? x ? isEmpty ? K 0 ? spanOr must include [clauses] ? get (I)Ljava/lang/Object; ? ? 0 ?
? size ()I ? ? 0 ? ` a
? boost 9(F)Lcom/groupbyinc/flux/index/query/AbstractQueryBuilder; ? ?
? queryName J(Ljava/lang/String;)Lcom/groupbyinc/flux/index/query/AbstractQueryBuilder; ? ?
? query i I parser 4Lcom/groupbyinc/flux/common/xcontent/XContentParser; F currentFieldName token queryBuilder doToQuery l(Lcom/groupbyinc/flux/index/query/QueryShardContext;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query; ?com/groupbyinc/flux/common/apache/lucene/search/spans/SpanQuery B[Lcom/groupbyinc/flux/common/apache/lucene/search/spans/SpanQuery; toQuery java/lang/AssertionError
! 5com/groupbyinc/flux/common/apache/lucene/search/Query
Acom/groupbyinc/flux/common/apache/lucene/search/spans/SpanOrQuery E([Lcom/groupbyinc/flux/common/apache/lucene/search/spans/SpanQuery;)V
7Lcom/groupbyinc/flux/common/apache/lucene/search/Query; context 3Lcom/groupbyinc/flux/index/query/QueryShardContext; spanQueries
doHashCode java/util/Objects hash ([Ljava/lang/Object;)I
doEquals 7(Lcom/groupbyinc/flux/index/query/SpanOrQueryBuilder;)Z equals '(Ljava/lang/Object;Ljava/lang/Object;)Z!"
# other getWriteableName 9(Lcom/groupbyinc/flux/index/query/AbstractQueryBuilder;)Z
( java/lang/Class+ desiredAssertionStatus- K
,. ((Ljava/lang/String;[Ljava/lang/String;)V 1
v2
ConstantValue Signature Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions F()Ljava/util/List; LocalVariableTypeTable
SourceFile InnerClasses ! 4 5
6 ? )*? "*? $Y? %? '+?
? )Y+? .?*? '+? 4 W? 7 ) 5 6 ) 7 8 8 0 . 1 2 4 ( 59 ? 9 6 ? ?*+? =*? $Y? %? '+? A? E M,? M ? ,? Q ? SN*? '-? ? 4 W??߱ 7 - T U ? 5 6 ? V W 8 ; . <