com.groupbyinc.flux.index.query.WildcardQueryBuilder.class Maven / Gradle / Ivy
???? 4? 4com/groupbyinc/flux/index/query/WildcardQueryBuilder ?Lcom/groupbyinc/flux/index/query/AbstractQueryBuilder;Lcom/groupbyinc/flux/index/query/MultiTermQueryBuilder; 4com/groupbyinc/flux/index/query/AbstractQueryBuilder 5com/groupbyinc/flux/index/query/MultiTermQueryBuilder WildcardQueryBuilder.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; wildcard WILDCARD_FIELD 'Lcom/groupbyinc/flux/common/ParseField; VALUE_FIELD
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 0 (Ljava/lang/String;)V # 2
/ 3 java/lang/String 5 value cannot be null 7 9 ! ; this 6Lcom/groupbyinc/flux/index/query/WildcardQueryBuilder; 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V java/io/IOException @ # ?
B 0com/groupbyinc/flux/common/io/stream/StreamInput D
readString ()Ljava/lang/String; F G
E H readOptionalString J G
E K " M 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 S writeString U 2
T V writeOptionalString X 2
T Y out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; J(Ljava/lang/String;)Lcom/groupbyinc/flux/index/query/WildcardQueryBuilder; getWriteableName
doXContent o(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)V 3com/groupbyinc/flux/common/xcontent/XContentBuilder a startObject I(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; c d
b e g %com/groupbyinc/flux/common/ParseField i getPreferredName k G
j l field [(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; n o
b p r printBoostAndQueryName 8(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;)V t u
v endObject 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; x y
b z builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; params 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; fromXContent l(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/index/query/WildcardQueryBuilder; nextToken <()Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token; ? ? ?
END_OBJECT :Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token; ? ? ?
FIELD_NAME ? ? ? currentName ? G ? 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 ? ?
? getDeprecationHandler :()Lcom/groupbyinc/flux/common/xcontent/DeprecationHandler; ? ? ? match M(Ljava/lang/String;Lcom/groupbyinc/flux/common/xcontent/DeprecationHandler;)Z ? ?
j ? text ? G ? ? BOOST_FIELD ? ?
floatValue ()F ? ? ?
textOrNull ? G ?
NAME_FIELD ? ? +com/groupbyinc/flux/common/ParsingException ? java/lang/StringBuilder ?
? & #[wildcard] query does not support [ ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? ] ? toString ? G
? ? 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 doToQuery l(Lcom/groupbyinc/flux/index/query/QueryShardContext;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query; 1com/groupbyinc/flux/index/query/QueryShardContext ? fieldMapper F(Ljava/lang/String;)Lcom/groupbyinc/flux/index/mapper/MappedFieldType; ? ?
? ? 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 # ?
? ? 0com/groupbyinc/flux/index/mapper/MappedFieldType ? termQuery ~(Ljava/lang/Object;Lcom/groupbyinc/flux/index/query/QueryShardContext;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query; ? ?
? ? @com/groupbyinc/flux/common/apache/lucene/search/MatchNoDocsQuery ? Acom/groupbyinc/flux/common/apache/lucene/search/MatchAllDocsQuery ? 5com/groupbyinc/flux/common/apache/lucene/search/Query ? extractTerm n(Lcom/groupbyinc/flux/common/apache/lucene/search/Query;)Lcom/groupbyinc/flux/common/apache/lucene/index/Term; ? ?
? ? =com/groupbyinc/flux/common/apache/lucene/search/WildcardQuery ? 8(Lcom/groupbyinc/flux/common/apache/lucene/index/Term;)V #
? =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;
setRewriteMethod ?(Lcom/groupbyinc/flux/common/apache/lucene/search/MultiTermQuery;Lcom/groupbyinc/flux/common/apache/lucene/search/MultiTermQuery$RewriteMethod;)V
term 5Lcom/groupbyinc/flux/common/apache/lucene/index/Term; 7Lcom/groupbyinc/flux/common/apache/lucene/search/Query; context 3Lcom/groupbyinc/flux/index/query/QueryShardContext; fieldType 2Lcom/groupbyinc/flux/index/mapper/MappedFieldType; query ?Lcom/groupbyinc/flux/common/apache/lucene/search/WildcardQuery;
rewriteMethod NLcom/groupbyinc/flux/common/apache/lucene/search/MultiTermQuery$RewriteMethod;
doHashCode ()I java/util/Objects hash ([Ljava/lang/Object;)I"#
!$ doEquals 9(Lcom/groupbyinc/flux/index/query/WildcardQueryBuilder;)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 #1
j2 ! "
ConstantValue Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions Signature
SourceFile InnerClasses ! 6 ! " # $ 7 ? .*? '+? -?
? /Y1? 4?,?
? /Y8? 4?*+? :*,?