com.groupbyinc.flux.index.query.AbstractQueryBuilder.class Maven / Gradle / Ivy
???? 4? 4com/groupbyinc/flux/index/query/AbstractQueryBuilder ?;>Ljava/lang/Object;Lcom/groupbyinc/flux/index/query/QueryBuilder; java/lang/Object ,com/groupbyinc/flux/index/query/QueryBuilder AbstractQueryBuilder.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 %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup
DEFAULT_BOOST F??
NAME_FIELD 'Lcom/groupbyinc/flux/common/ParseField; BOOST_FIELD queryName Ljava/lang/String; boost ()V ! "
# % this ; 6Lcom/groupbyinc/flux/index/query/AbstractQueryBuilder; 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V java/io/IOException + 0com/groupbyinc/flux/common/io/stream/StreamInput - readFloat ()F / 0
. 1 readOptionalString ()Ljava/lang/String; 3 4
. 5 7 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 =
writeFloat (F)V ? @
> A writeOptionalString (Ljava/lang/String;)V C D
> E doWriteTo G <
H out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput;
toXContent ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; 3com/groupbyinc/flux/common/xcontent/XContentBuilder N startObject 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; P Q
O R
doXContent o(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)V T U
V endObject X Q
O Y builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; params 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; printBoostAndQueryName 8(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;)V a %com/groupbyinc/flux/common/ParseField c getPreferredName e 4
d f field J(Ljava/lang/String;F)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; h i
O j l [(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; h n
O o toQuery l(Lcom/groupbyinc/flux/index/query/QueryShardContext;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query; doToQuery s r
t ?com/groupbyinc/flux/common/apache/lucene/search/spans/SpanQuery v Dcom/groupbyinc/flux/common/apache/lucene/search/spans/SpanBoostQuery x E(Lcom/groupbyinc/flux/common/apache/lucene/search/spans/SpanQuery;F)V ! z
y { 5com/groupbyinc/flux/common/apache/lucene/search/Query } :com/groupbyinc/flux/common/apache/lucene/search/BoostQuery ;(Lcom/groupbyinc/flux/common/apache/lucene/search/Query;F)V ! ?
? ? 1com/groupbyinc/flux/index/query/QueryShardContext ?
addNamedQuery L(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/search/Query;)V ? ?
? ? context 3Lcom/groupbyinc/flux/index/query/QueryShardContext; query 7Lcom/groupbyinc/flux/common/apache/lucene/search/Query; toFilter isFilter ()Z ? ?
? ? setIsFilter (Z)V ? ?
? ? q r
? java/lang/Throwable ? result originalIsFilter Z J(Ljava/lang/String;)Lcom/groupbyinc/flux/index/query/AbstractQueryBuilder; 9(F)Lcom/groupbyinc/flux/index/query/AbstractQueryBuilder; addValidationError ?(Ljava/lang/String;Lcom/groupbyinc/flux/index/query/QueryValidationException;)Lcom/groupbyinc/flux/index/query/QueryValidationException; getName ? 4
? 8com/groupbyinc/flux/index/query/QueryValidationException ? ?(Ljava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/index/query/QueryValidationException;)Lcom/groupbyinc/flux/index/query/QueryValidationException; ? ?
? ? validationError validationException :Lcom/groupbyinc/flux/index/query/QueryValidationException; equals (Ljava/lang/Object;)Z getClass ()Ljava/lang/Class; ? ?
? java/util/Objects ? '(Ljava/lang/Object;Ljava/lang/Object;)Z ? ?
? ? java/lang/Float ? valueOf (F)Ljava/lang/Float; ? ?
? ? doEquals 9(Lcom/groupbyinc/flux/index/query/AbstractQueryBuilder;)Z ? ?
? obj Ljava/lang/Object; other TQB; hashCode ()I
doHashCode ? ?
? java/lang/Integer ? (I)Ljava/lang/Integer; ? ?
? ? hash ([Ljava/lang/Object;)I ? ?
? ? maybeConvertToBytesRef &(Ljava/lang/Object;)Ljava/lang/Object; java/lang/String ? +com/groupbyinc/flux/common/lucene/BytesRefs ?
toBytesRef L(Ljava/lang/Object;)Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; ? ?
? ? java/nio/CharBuffer ? 6com/groupbyinc/flux/common/apache/lucene/util/BytesRef ? (Ljava/lang/CharSequence;)V ! ?
? ? maybeConvertToString utf8ToString ? 4
? ? toQueries a(Ljava/util/Collection;Lcom/groupbyinc/flux/index/query/QueryShardContext;)Ljava/util/Collection; 3com/groupbyinc/flux/index/query/QueryShardException ? java/util/ArrayList ? java/util/Collection ? size ? ? ? ? (I)V ! ?
? ? iterator ()Ljava/util/Iterator; ? ? ? ? java/util/List ? java/util/Iterator ? hasNext ? ? ? next ()Ljava/lang/Object; ? ? add ? ? queryBuilder .Lcom/groupbyinc/flux/index/query/QueryBuilder;
queryBuilders FLjava/util/Collection; Ljava/util/Collection; queries ILjava/util/List; Ljava/util/List; getWriteableName 4
writeQueries F(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;Ljava/util/List;)V ? ? writeVInt ?
> ? ? writeNamedWriteable 8(Lcom/groupbyinc/flux/common/io/stream/NamedWriteable;)V
> ALjava/util/List<+Lcom/groupbyinc/flux/index/query/QueryBuilder;>; readQueries D(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Ljava/util/List; readVInt# ?
.$ readNamedWriteable H(Ljava/lang/Class;)Lcom/groupbyinc/flux/common/io/stream/NamedWriteable;&'
.( i I @Ljava/util/List; rewrite e(Lcom/groupbyinc/flux/index/query/QueryRewriteContext;)Lcom/groupbyinc/flux/index/query/QueryBuilder; doRewrite/.
0 4
2 2 B(Ljava/lang/String;)Lcom/groupbyinc/flux/index/query/QueryBuilder; 5 6 0
8 8 1(F)Lcom/groupbyinc/flux/index/query/QueryBuilder; ; < queryShardContext 5Lcom/groupbyinc/flux/index/query/QueryRewriteContext; rewritten extractInnerHitBuilders (Ljava/util/Map;)V innerHits [Ljava/util/Map; Ljava/util/Map; parseInnerQueryBuilder d(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/index/query/QueryBuilder; @com/groupbyinc/flux/common/xcontent/NamedObjectNotFoundExceptionH currentToken <()Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token;JK L START_OBJECT :Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token;NO P nextTokenRK S +com/groupbyinc/flux/common/ParsingExceptionU getTokenLocation 8()Lcom/groupbyinc/flux/common/xcontent/XContentLocation;WX Y 3[_na] query malformed, must start with start_object[ ^(Lcom/groupbyinc/flux/common/xcontent/XContentLocation;Ljava/lang/String;[Ljava/lang/Object;)V !]
V^
END_OBJECT`O a "java/lang/IllegalArgumentExceptionc java/lang/StringBuildere
f # (query malformed, empty clause found at [h append -(Ljava/lang/String;)Ljava/lang/StringBuilder;jk
fl -(Ljava/lang/Object;)Ljava/lang/StringBuilder;jn
fo ]q toStrings 4
ft ! D
dv
FIELD_NAMExO y 2[_na] query malformed, no field after start_object{ currentName} 4 ~ [? 3] query malformed, no start_object after query name? namedObject I(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;?? ? 4com/groupbyinc/flux/common/xcontent/XContentLocation?
getLineNumber? ?
I? getColumnNumber? ?
I? (II)V !?
?? no [query] registered for [? 4] malformed query, expected [END_OBJECT] but found [? e BLcom/groupbyinc/flux/common/xcontent/NamedObjectNotFoundException; parser 4Lcom/groupbyinc/flux/common/xcontent/XContentParser; requireValue 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; value TT; message %throwParsingExceptionOnMultipleFields o(Ljava/lang/String;Lcom/groupbyinc/flux/common/xcontent/XContentLocation;Ljava/lang/String;Ljava/lang/String;)V 0] query doesn't support multiple fields, found [? ] and [? contentLocation 6Lcom/groupbyinc/flux/common/xcontent/XContentLocation; processedFieldName currentFieldName declareStandardFields =(Lcom/groupbyinc/flux/common/xcontent/AbstractObjectParser;)V "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;??
??? '(Ljava/lang/Object;Ljava/lang/Object;)V? = B(Lcom/groupbyinc/flux/index/query/QueryBuilder;Ljava/lang/Float;)V? accept !()Ljava/util/function/BiConsumer;?? ? 8com/groupbyinc/flux/common/xcontent/AbstractObjectParser? declareFloat I(Ljava/util/function/BiConsumer;Lcom/groupbyinc/flux/common/ParseField;)V??
?? 7 C(Lcom/groupbyinc/flux/index/query/QueryBuilder;Ljava/lang/String;)V? ?
declareString??
?? lLcom/groupbyinc/flux/common/xcontent/AbstractObjectParser<+Lcom/groupbyinc/flux/index/query/QueryBuilder;*>; :Lcom/groupbyinc/flux/common/xcontent/AbstractObjectParser; "com/groupbyinc/flux/common/Strings? F(Lcom/groupbyinc/flux/common/xcontent/ToXContent;ZZ)Ljava/lang/String;s?
?? ?
? ?
? I(Lcom/groupbyinc/flux/index/query/QueryRewriteContext;)Ljava/lang/Object;-.
? _name? ((Ljava/lang/String;[Ljava/lang/String;)V !?
d?
ConstantValue Code LocalVariableTable LocalVariableTypeTable LineNumberTable
Exceptions
StackMapTable Signature (Ljava/lang/String;)TQB; (F)TQB; (TQB;)Z ?(Ljava/util/Collection;Lcom/groupbyinc/flux/index/query/QueryShardContext;)Ljava/util/Collection; w(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;Ljava/util/List<+Lcom/groupbyinc/flux/index/query/QueryBuilder;>;)V t(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Ljava/util/List; ^(Ljava/util/Map;)V 0(TT;Ljava/lang/String;)TT; o(Lcom/groupbyinc/flux/common/xcontent/AbstractObjectParser<+Lcom/groupbyinc/flux/index/query/QueryBuilder;*>;)V BootstrapMethods
SourceFile InnerClasses! ? % ! " ? N
*? $*? &? ?
' ) ?
' ( ? = ; ? ! * ? p *? $*? &*+? 2? &*+? 6? 8? ? ' ) 9 : ? ' ( ? A ; B C D? , ; <