com.groupbyinc.flux.index.query.PrefixQueryBuilder.class Maven / Gradle / Ivy
???? 42 2com/groupbyinc/flux/index/query/PrefixQueryBuilder ?Lcom/groupbyinc/flux/index/query/AbstractQueryBuilder;Lcom/groupbyinc/flux/index/query/MultiTermQueryBuilder; 4com/groupbyinc/flux/index/query/AbstractQueryBuilder 5com/groupbyinc/flux/index/query/MultiTermQueryBuilder PrefixQueryBuilder.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 Lcom/groupbyinc/flux/common/apache/lucene/search/MultiTermQuery$RewriteMethod >com/groupbyinc/flux/common/apache/lucene/search/MultiTermQuery
RewriteMethod NAME Ljava/lang/String; prefix PREFIX_FIELD 'Lcom/groupbyinc/flux/common/ParseField;
REWRITE_FIELD fieldName value rewrite '(Ljava/lang/String;Ljava/lang/String;)V ()V " $
% "com/groupbyinc/flux/common/Strings ' isEmpty (Ljava/lang/CharSequence;)Z ) *
( + "java/lang/IllegalArgumentException - field name is null or empty / (Ljava/lang/String;)V " 1
. 2 java/lang/String 4 value cannot be null 6 8 : this 4Lcom/groupbyinc/flux/index/query/PrefixQueryBuilder; 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V java/io/IOException ? " >
A 0com/groupbyinc/flux/common/io/stream/StreamInput C
readString ()Ljava/lang/String; E F
D G readOptionalString I F
D J ! L 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 R writeString T 1
S U writeOptionalString W 1
S X out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; H(Ljava/lang/String;)Lcom/groupbyinc/flux/index/query/PrefixQueryBuilder;
doXContent o(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)V 3com/groupbyinc/flux/common/xcontent/XContentBuilder _ startObject I(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; a b
` c e %com/groupbyinc/flux/common/ParseField g getPreferredName i F
h j field [(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; l m
` n p printBoostAndQueryName 8(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;)V r s
t endObject 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; v w
` x 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/PrefixQueryBuilder; nextToken <()Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token; ? ? ?
END_OBJECT :Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token; ? ? ?
FIELD_NAME ? ? ? currentName ? F ? START_OBJECT ? ? ? getTokenLocation 8()Lcom/groupbyinc/flux/common/xcontent/XContentLocation; ? ? ? %throwParsingExceptionOnMultipleFields o(Ljava/lang/String;Lcom/groupbyinc/flux/common/xcontent/XContentLocation;Ljava/lang/String;Ljava/lang/String;)V ? ?
?
NAME_FIELD ? ? getDeprecationHandler :()Lcom/groupbyinc/flux/common/xcontent/DeprecationHandler; ? ? ? match M(Ljava/lang/String;Lcom/groupbyinc/flux/common/xcontent/DeprecationHandler;)Z ? ?
h ? text ? F ?
textOrNull ? F ? BOOST_FIELD ? ?
floatValue ()F ? ? ? +com/groupbyinc/flux/common/ParsingException ? java/lang/StringBuilder ?
? % ![prefix] query does not support [ ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? ] ? toString ? F
? ? java/lang/Object ? ^(Lcom/groupbyinc/flux/common/xcontent/XContentLocation;Ljava/lang/String;[Ljava/lang/Object;)V " ?
? ? " #
? ! \
? boost 9(F)Lcom/groupbyinc/flux/index/query/AbstractQueryBuilder; ? ?
? queryName J(Ljava/lang/String;)Lcom/groupbyinc/flux/index/query/AbstractQueryBuilder; ? ?
? parser 4Lcom/groupbyinc/flux/common/xcontent/XContentParser; F currentFieldName token getWriteableName doToQuery l(Lcom/groupbyinc/flux/index/query/QueryShardContext;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query; =com/groupbyinc/flux/common/xcontent/LoggingDeprecationHandler ? INSTANCE ?Lcom/groupbyinc/flux/common/xcontent/LoggingDeprecationHandler; ? ? ? ? 4com/groupbyinc/flux/index/query/support/QueryParsers ? parseRewriteMethod ?(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/search/MultiTermQuery$RewriteMethod;Lcom/groupbyinc/flux/common/xcontent/DeprecationHandler;)Lcom/groupbyinc/flux/common/apache/lucene/search/MultiTermQuery$RewriteMethod; ? ?
? ? 1com/groupbyinc/flux/index/query/QueryShardContext ? fieldMapper F(Ljava/lang/String;)Lcom/groupbyinc/flux/index/mapper/MappedFieldType; ? ?
? ? 0com/groupbyinc/flux/index/mapper/MappedFieldType ? prefixQuery ?(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/search/MultiTermQuery$RewriteMethod;Lcom/groupbyinc/flux/index/query/QueryShardContext;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query; ? ?
? ? 5com/groupbyinc/flux/common/apache/lucene/search/Query ? ;com/groupbyinc/flux/common/apache/lucene/search/PrefixQuery ? 3com/groupbyinc/flux/common/apache/lucene/index/Term ? +com/groupbyinc/flux/common/lucene/BytesRefs ?
toBytesRef L(Ljava/lang/Object;)Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; ? ?
? ? M(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)V " ?
? ? 8(Lcom/groupbyinc/flux/common/apache/lucene/index/Term;)V "
? setRewriteMethod Q(Lcom/groupbyinc/flux/common/apache/lucene/search/MultiTermQuery$RewriteMethod;)V
? =Lcom/groupbyinc/flux/common/apache/lucene/search/PrefixQuery; context 3Lcom/groupbyinc/flux/index/query/QueryShardContext; method NLcom/groupbyinc/flux/common/apache/lucene/search/MultiTermQuery$RewriteMethod; query 7Lcom/groupbyinc/flux/common/apache/lucene/search/Query; fieldType 2Lcom/groupbyinc/flux/index/mapper/MappedFieldType;
doHashCode ()I java/util/Objects hash ([Ljava/lang/Object;)I
doEquals 7(Lcom/groupbyinc/flux/index/query/PrefixQueryBuilder;)Z equals '(Ljava/lang/Object;Ljava/lang/Object;)Z
other 9(Lcom/groupbyinc/flux/index/query/AbstractQueryBuilder;)Z
! ((Ljava/lang/String;[Ljava/lang/String;)V "%
h& !
ConstantValue Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions Signature
SourceFile InnerClasses ! ) ! " # * ? .*? &+? ,?
? .Y0? 3?,?
? .Y7? 3?*+? 9*,? ;? + . <