com.groupbyinc.flux.index.query.RangeQueryBuilder.class Maven / Gradle / Ivy
???? 4G 1com/groupbyinc/flux/index/query/RangeQueryBuilder ?Lcom/groupbyinc/flux/index/query/AbstractQueryBuilder;Lcom/groupbyinc/flux/index/query/MultiTermQueryBuilder; 4com/groupbyinc/flux/index/query/AbstractQueryBuilder 5com/groupbyinc/flux/index/query/MultiTermQueryBuilder RangeQueryBuilder.java 3com/groupbyinc/flux/index/query/RangeQueryBuilder$1 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 9com/groupbyinc/flux/index/mapper/MappedFieldType$Relation 0com/groupbyinc/flux/index/mapper/MappedFieldType Relation Jcom/groupbyinc/flux/index/mapper/FieldNamesFieldMapper$FieldNamesFieldType 6com/groupbyinc/flux/index/mapper/FieldNamesFieldMapper FieldNamesFieldType NAME Ljava/lang/String; range ! DEFAULT_INCLUDE_UPPER Z DEFAULT_INCLUDE_LOWER LTE_FIELD 'Lcom/groupbyinc/flux/common/ParseField; GTE_FIELD
FROM_FIELD TO_FIELD INCLUDE_LOWER_FIELD INCLUDE_UPPER_FIELD GT_FIELD LT_FIELD TIME_ZONE_FIELD FORMAT_FIELD RELATION_FIELD fieldName from Ljava/lang/Object; to timeZone 3Lcom/groupbyinc/flux/common/joda/time/DateTimeZone; includeLower includeUpper format 9Lcom/groupbyinc/flux/common/joda/FormatDateTimeFormatter; relation .Lcom/groupbyinc/flux/common/geo/ShapeRelation; (Ljava/lang/String;)V ()V ? A
B 9 $ D : $ F "com/groupbyinc/flux/common/Strings H isEmpty (Ljava/lang/CharSequence;)Z J K
I L "java/lang/IllegalArgumentException N field name is null or empty P ? @
O R java/lang/String T 3 V this 3Lcom/groupbyinc/flux/index/query/RangeQueryBuilder; 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V java/io/IOException [ ? Z
] 0com/groupbyinc/flux/common/io/stream/StreamInput _
readString ()Ljava/lang/String; a b
` c readGenericValue ()Ljava/lang/Object; e f
` g 4 5 i 6 5 k readBoolean ()Z m n
` o readOptionalTimeZone 5()Lcom/groupbyinc/flux/common/joda/time/DateTimeZone; q r
` s 7 8 u readOptionalString w b
` x $com/groupbyinc/flux/common/joda/Joda z
forPattern M(Ljava/lang/String;)Lcom/groupbyinc/flux/common/joda/FormatDateTimeFormatter; | }
{ ~ ; < ?
getVersion ()Lcom/groupbyinc/flux/Version; ? ?
` ? com/groupbyinc/flux/Version ? V_5_2_0 Lcom/groupbyinc/flux/Version; ? ? ? ? onOrAfter (Lcom/groupbyinc/flux/Version;)Z ? ?
? ? ,com/groupbyinc/flux/common/geo/ShapeRelation ? getRelationByName B(Ljava/lang/String;)Lcom/groupbyinc/flux/common/geo/ShapeRelation; ? ?
? ? = > ? isRelationAllowed 1(Lcom/groupbyinc/flux/common/geo/ShapeRelation;)Z ? ?
? java/lang/StringBuilder ?
? B )[range] query does not support relation [ ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? ] ? toString ? b
? ? relationString in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; formatString
INTERSECTS ? > ? ? CONTAINS ? > ? ? WITHIN ? > ? ? doWriteTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V 1com/groupbyinc/flux/common/io/stream/StreamOutput ? writeString ? @
? ? writeGenericValue (Ljava/lang/Object;)V ? ?
? ? writeBoolean (Z)V ? ?
? ? writeOptionalTimeZone 6(Lcom/groupbyinc/flux/common/joda/time/DateTimeZone;)V ? ?
? ? 7com/groupbyinc/flux/common/joda/FormatDateTimeFormatter ? ; b
? ? writeOptionalString ? @
? ?
? ? getRelationName ? b
? ? out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; H(Ljava/lang/Object;Z)Lcom/groupbyinc/flux/index/query/RangeQueryBuilder; maybeConvertToBytesRef &(Ljava/lang/Object;)Ljava/lang/Object; ? ?
? G(Ljava/lang/Object;)Lcom/groupbyinc/flux/index/query/RangeQueryBuilder; 4 ?
? maybeConvertToString ? ?
? gt gte 6 ?
? lt lte 6(Z)Lcom/groupbyinc/flux/index/query/RangeQueryBuilder; G(Ljava/lang/String;)Lcom/groupbyinc/flux/index/query/RangeQueryBuilder; timezone cannot be null ? 1com/groupbyinc/flux/common/joda/time/DateTimeZone ? forID G(Ljava/lang/String;)Lcom/groupbyinc/flux/common/joda/time/DateTimeZone; ? ?
? ? getID ? b
? ? getDateTimeZone format cannot be null ? getForceDateParser 2()Lcom/groupbyinc/flux/common/joda/DateMathParser; .com/groupbyinc/flux/common/joda/DateMathParser ? <(Lcom/groupbyinc/flux/common/joda/FormatDateTimeFormatter;)V ? ?
? ? 0()Lcom/groupbyinc/flux/common/geo/ShapeRelation; relation cannot be null is not a valid relation
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;
* ( %com/groupbyinc/flux/common/ParseField getPreferredName b
field [(Ljava/lang/String;Ljava/lang/Object;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;
+ ( , ( J(Ljava/lang/String;Z)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;
- ( 0 ( [(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;"
# 1 ( % 2 ( ' printBoostAndQueryName 8(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;)V)*
+ endObject 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;-.
/ builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; params 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; fromXContent i(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/index/query/RangeQueryBuilder; java/lang/Object7 nextToken <()Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token;9: ;
END_OBJECT :Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token;=> ?
FIELD_NAMEA> B currentNameD b E START_OBJECTG> H getTokenLocation 8()Lcom/groupbyinc/flux/common/xcontent/XContentLocation;JK L %throwParsingExceptionOnMultipleFields o(Ljava/lang/String;Lcom/groupbyinc/flux/common/xcontent/XContentLocation;Ljava/lang/String;Ljava/lang/String;)VNO
P getDeprecationHandler :()Lcom/groupbyinc/flux/common/xcontent/DeprecationHandler;RS T match M(Ljava/lang/String;Lcom/groupbyinc/flux/common/xcontent/DeprecationHandler;)ZVW
X objectBytesZ f [ booleanValue] n ^ BOOST_FIELD` ( a
floatValue ()Fcd e . ( g ) ( i / ( k ' ( m texto b p
NAME_FIELDr ( s +com/groupbyinc/flux/common/ParsingExceptionu [range] query does not support [w ^(Lcom/groupbyinc/flux/common/xcontent/XContentLocation;Ljava/lang/String;[Ljava/lang/Object;)V ?y
vz isValue| n
}
R 4 ?
? 6 ?
? 9 ?
? : ?
? 7 ?
? 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
rangeQuery getWriteableName getRelation r(Lcom/groupbyinc/flux/index/query/QueryRewriteContext;)Lcom/groupbyinc/flux/index/mapper/MappedFieldType$Relation; 3com/groupbyinc/flux/index/query/QueryRewriteContext? convertToShardContext 5()Lcom/groupbyinc/flux/index/query/QueryShardContext;??
?? 1com/groupbyinc/flux/index/query/QueryShardContext? getIndexReader >()Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader;??
?? ;Lcom/groupbyinc/flux/index/mapper/MappedFieldType$Relation; ?? ? getMapperService 2()Lcom/groupbyinc/flux/index/mapper/MapperService;??
?? .com/groupbyinc/flux/index/mapper/MapperService? fullName F(Ljava/lang/String;)Lcom/groupbyinc/flux/index/mapper/MappedFieldType;??
?? DISJOINT?? ? ? ?
? isFieldWithinQuery7(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader;Ljava/lang/Object;Ljava/lang/Object;ZZLcom/groupbyinc/flux/common/joda/time/DateTimeZone;Lcom/groupbyinc/flux/common/joda/DateMathParser;Lcom/groupbyinc/flux/index/query/QueryRewriteContext;)Lcom/groupbyinc/flux/index/mapper/MappedFieldType$Relation;??
? dateMathParser 0Lcom/groupbyinc/flux/common/joda/DateMathParser; queryRewriteContext 5Lcom/groupbyinc/flux/index/query/QueryRewriteContext; shardContext 3Lcom/groupbyinc/flux/index/query/QueryShardContext;
mapperService 0Lcom/groupbyinc/flux/index/mapper/MapperService; fieldType 2Lcom/groupbyinc/flux/index/mapper/MappedFieldType; doRewrite e(Lcom/groupbyinc/flux/index/query/QueryRewriteContext;)Lcom/groupbyinc/flux/index/query/QueryBuilder;??
? B$SwitchMap$org$elasticsearch$index$mapper$MappedFieldType$Relation [I??
? ordinal ()I??
? 5com/groupbyinc/flux/index/query/MatchNoneQueryBuilder?
? B java/lang/AssertionError?
? B
newRangeQuery doToQuery l(Lcom/groupbyinc/flux/index/query/QueryShardContext;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query; _field_names? @com/groupbyinc/flux/common/apache/lucene/search/MatchNoDocsQuery? No mappings yet?
? R isEnabled? n
? 2com/groupbyinc/flux/index/query/ExistsQueryBuilder? newFilter ~(Lcom/groupbyinc/flux/index/query/QueryShardContext;Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query;??
?? fieldMapper??
??#(Ljava/lang/Object;Ljava/lang/Object;ZZLcom/groupbyinc/flux/common/geo/ShapeRelation;Lcom/groupbyinc/flux/common/joda/time/DateTimeZone;Lcom/groupbyinc/flux/common/joda/DateMathParser;Lcom/groupbyinc/flux/index/query/QueryShardContext;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query;??
? 5com/groupbyinc/flux/common/apache/lucene/search/Query? 3com/groupbyinc/flux/index/query/QueryShardException? <[range] time_zone can not be applied to non unmapped field [? [(Lcom/groupbyinc/flux/index/query/QueryShardContext;Ljava/lang/String;[Ljava/lang/Object;)V ??
?? >com/groupbyinc/flux/common/apache/lucene/search/TermRangeQuery? +com/groupbyinc/flux/common/lucene/BytesRefs
toBytesRef L(Ljava/lang/Object;)Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;
?(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;ZZ)V ?
fieldNamesFieldType LLcom/groupbyinc/flux/index/mapper/FieldNamesFieldMapper$FieldNamesFieldType; forcedDateParser context query 7Lcom/groupbyinc/flux/common/apache/lucene/search/Query; mapper
doHashCode java/lang/Boolean valueOf (Z)Ljava/lang/Boolean;
java/util/Objects hash ([Ljava/lang/Object;)I
timeZoneId doEquals 6(Lcom/groupbyinc/flux/index/query/RangeQueryBuilder;)Z equals '(Ljava/lang/Object;Ljava/lang/Object;)Z!"
# 7 b
%
? other 9(Lcom/groupbyinc/flux/index/query/AbstractQueryBuilder;)Z
* ? ((Ljava/lang/String;[Ljava/lang/String;)V ?.
/ ? 4 6
include_lower4
include_upper6 ? ? time_zone: ; =
ConstantValue Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions Signature
SourceFile InnerClasses ! > " # $ > % &