com.groupbyinc.flux.index.query.WrapperQueryBuilder.class Maven / Gradle / Ivy
???? 4 3com/groupbyinc/flux/index/query/WrapperQueryBuilder mLcom/groupbyinc/flux/index/query/AbstractQueryBuilder; 4com/groupbyinc/flux/index/query/AbstractQueryBuilder WrapperQueryBuilder.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; wrapper QUERY_FIELD 'Lcom/groupbyinc/flux/common/ParseField; source [B ([B)V ()V
"java/lang/IllegalArgumentException )query source text cannot be null or empty ! (Ljava/lang/String;)V #
$ & this 5Lcom/groupbyinc/flux/index/query/WrapperQueryBuilder; "com/groupbyinc/flux/common/Strings * isEmpty (Ljava/lang/CharSequence;)Z , -
+ . +query source string cannot be null or empty 0 java/lang/String 2 !java/nio/charset/StandardCharsets 4 UTF_8 Ljava/nio/charset/Charset; 6 7 5 8 getBytes (Ljava/nio/charset/Charset;)[B : ;
3 < 4(Lcom/groupbyinc/flux/common/bytes/BytesReference;)V /com/groupbyinc/flux/common/bytes/BytesReference ? length ()I A B
@ C
toBytesRef :()Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; E F
@ G 6com/groupbyinc/flux/common/apache/lucene/util/BytesRef I
deepCopyOf r(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; K L
J M bytes O J P 1Lcom/groupbyinc/flux/common/bytes/BytesReference; 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V java/io/IOException T S
V 0com/groupbyinc/flux/common/io/stream/StreamInput X
readByteArray ()[B Z [
Y \ in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; doWriteTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V 1com/groupbyinc/flux/common/io/stream/StreamOutput b writeByteArray d
c e out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; getName ()Ljava/lang/String;
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 w j
v x field K(Ljava/lang/String;[B)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; z {
n | endObject 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ~
n ? builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; params 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; fromXContent k(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/index/query/WrapperQueryBuilder; nextToken <()Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token; ? ? ?
FIELD_NAME :Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token; ? ?
? +com/groupbyinc/flux/common/ParsingException ? getTokenLocation 8()Lcom/groupbyinc/flux/common/xcontent/XContentLocation; ? ? ? [wrapper] query malformed ? java/lang/Object ? ^(Lcom/groupbyinc/flux/common/xcontent/XContentLocation;Ljava/lang/String;[Ljava/lang/Object;)V ?
? ? currentName ? j ? match (Ljava/lang/String;)Z ? ?
v ? java/lang/StringBuilder ?
? 4[wrapper] query malformed, expected `query` but was ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? toString ? j
? ? binaryValue ? [ ? &wrapper query has no [query] specified ?
? parser 4Lcom/groupbyinc/flux/common/xcontent/XContentParser; token fieldName getWriteableName doToQuery l(Lcom/groupbyinc/flux/index/query/QueryShardContext;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query; 'java/lang/UnsupportedOperationException ? "this query must be rewritten first ?
? $ context 3Lcom/groupbyinc/flux/index/query/QueryShardContext;
doHashCode java/util/Arrays ? hashCode ([B)I ? ?
? ? doEquals 8(Lcom/groupbyinc/flux/index/query/WrapperQueryBuilder;)Z equals ([B[B)Z ? ?
? ? other doRewrite e(Lcom/groupbyinc/flux/index/query/QueryRewriteContext;)Lcom/groupbyinc/flux/index/query/QueryBuilder; java/lang/Throwable ? 3com/groupbyinc/flux/common/xcontent/XContentFactory ? xContent 2([B)Lcom/groupbyinc/flux/common/xcontent/XContent; ? ?
? ? 3com/groupbyinc/flux/index/query/QueryRewriteContext ? getXContentRegistry =()Lcom/groupbyinc/flux/common/xcontent/NamedXContentRegistry; ? ?
? ? ,com/groupbyinc/flux/common/xcontent/XContent ? createParser s(Lcom/groupbyinc/flux/common/xcontent/NamedXContentRegistry;[B)Lcom/groupbyinc/flux/common/xcontent/XContentParser; ? ? ? ? parseInnerQueryBuilder d(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/index/query/QueryBuilder; ? ?
? ,com/groupbyinc/flux/index/query/QueryBuilder ? rewrite ? ? ? ? boost ()F ? ?
? queryName ? j
? 0com/groupbyinc/flux/index/query/BoolQueryBuilder ?
? must b(Lcom/groupbyinc/flux/index/query/QueryBuilder;)Lcom/groupbyinc/flux/index/query/BoolQueryBuilder; ? ?
? ? close
addSuppressed (Ljava/lang/Throwable;)V
? boolQueryBuilder 2Lcom/groupbyinc/flux/index/query/BoolQueryBuilder; queryBuilder .Lcom/groupbyinc/flux/index/query/QueryBuilder;
qSourceParser 5Lcom/groupbyinc/flux/index/query/QueryRewriteContext; 9(Lcom/groupbyinc/flux/index/query/AbstractQueryBuilder;)Z ? ?
query ((Ljava/lang/String;[Ljava/lang/String;)V
v
ConstantValue Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions Signature
SourceFile InnerClasses ! w *? +? +??
? Y"? %?*+? '? ( ) > ?
@ B C ?
# z !*? +? /?
? Y1? %?*+? 9? =? '? ! ( ) ! H I J L M ? 3 > ? (*? +?
+? D?
? Y"? %?*+? H? N? Q? '? ( ( ) ( R R S T V ' W ? @ S J *+? W*+? ]? '? ( ) ^ _ ] ^
_ U ` a A +*? '? f? ( ) g h
c d U [ / *? '? ( ) g i j - ? ( ) l k l f +? rW+? t? y*? '? }W+? ?W? ( ) ? ? ? ? q r s t U ? ? ?*? ? L+? ?? ? ?Y*? ? ?? ?? ??*? ? M? t,? ?? (? ?Y*? ? ? ?Y? ??? ?,? ?? ?? ?? ??*? ? W*? ? N*? ? W-? ? ?Y*? ? ?? ?? ??? Y-? ?? * ? ? ? ? ? ? ) e ? f ( 2 w x y " { ) | 3 } X _ ? f ? m ? q ? ? ? ? "
? 5 3? , U ? j - ? ( ) ? ? ? >
? ?Y?? ¿
( )
? ? ? U ? B 2 *? '? ˬ ( ) ? ? ? @ *? '+? '? Ѭ ( ) ? ) ? ? ?
?*? '? ?+? ?*? '? ? MN,? ?+? ? :*? ???
*? ?? =? ?Y? ?:? ?W:,? !-? ,? ? :-?? ,? ?:,? !-? ,? ? :-?? ,? ?:N?:,? !-? ,? ? : - ?? ,? ? P V Y ? y ? ? H ? ? m q ? ? H ? m q ? ? ? ? ? ? ? ? 4 <