com.groupbyinc.flux.search.slice.SliceBuilder.class Maven / Gradle / Ivy
???? 4? -com/groupbyinc/flux/search/slice/SliceBuilder 4com/groupbyinc/flux/action/support/ToXContentToBytes .com/groupbyinc/flux/common/io/stream/Writeable SliceBuilder.java 5com/groupbyinc/flux/common/xcontent/ToXContent$Params .com/groupbyinc/flux/common/xcontent/ToXContent
Params %java/lang/invoke/MethodHandles$Lookup
java/lang/invoke/MethodHandles Lookup FIELD_FIELD 'Lcom/groupbyinc/flux/common/ParseField; ID_FIELD MAX_FIELD PARSER 2Lcom/groupbyinc/flux/common/xcontent/ObjectParser; sLcom/groupbyinc/flux/common/xcontent/ObjectParser; field Ljava/lang/String; id I max ()V
_uid " $ & ( this /Lcom/groupbyinc/flux/search/slice/SliceBuilder; (II)V (Ljava/lang/String;II)V -
. setField C(Ljava/lang/String;)Lcom/groupbyinc/flux/search/slice/SliceBuilder; 0 1
2 setId 2(I)Lcom/groupbyinc/flux/search/slice/SliceBuilder; 4 5
6 setMax 8 5
9 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V java/io/IOException < 0com/groupbyinc/flux/common/io/stream/StreamInput >
readString ()Ljava/lang/String; @ A
? B readVInt ()I D E
? F 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 L writeString (Ljava/lang/String;)V N O
M P writeVInt (I)V R S
M T out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; "com/groupbyinc/flux/common/Strings X isEmpty (Ljava/lang/CharSequence;)Z Z [
Y \ "java/lang/IllegalArgumentException ^ field name is null or empty ` O
_ b getField %id must be greater than or equal to 0 e max must be greater than id g getId max must be greater than 1 j getMax
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 o startObject 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; q r
p s innerToXContent 8(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;)V u v
w endObject y r
p z builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; params 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; ? %com/groupbyinc/flux/common/ParseField ? getPreferredName ? A
? ? [(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ?
p ? ? J(Ljava/lang/String;I)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ?
p ? ? fromXContent e(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/search/slice/SliceBuilder; ?
0com/groupbyinc/flux/common/xcontent/ObjectParser ? parse l(Lcom/groupbyinc/flux/common/xcontent/XContentParser;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; ? ?
? ? parser 4Lcom/groupbyinc/flux/common/xcontent/XContentParser; equals (Ljava/lang/Object;)Z java/lang/String ? ? ?
? ? other Ljava/lang/Object; o hashCode java/lang/Object ? java/lang/Integer ? valueOf (I)Ljava/lang/Integer; ? ?
? ? java/util/Objects ? hash ([Ljava/lang/Object;)I ? ?
? ? toFilter n(Lcom/groupbyinc/flux/index/query/QueryShardContext;II)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; ? ?
? ? java/lang/StringBuilder ?
? field ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ?
not found ? toString ? A
? ? 0com/groupbyinc/flux/index/mapper/MappedFieldType ? getIndexSettings +()Lcom/groupbyinc/flux/index/IndexSettings; ? ?
? ? 'com/groupbyinc/flux/index/IndexSettings ? isSingleType ()Z ? ?
? ? _id ? hasDocValues ? ?
? ? "cannot load numeric doc values on ? getForField h(Lcom/groupbyinc/flux/index/mapper/MappedFieldType;)Lcom/groupbyinc/flux/index/fielddata/IndexFieldData; ? ?
? ? 9com/groupbyinc/flux/index/fielddata/IndexNumericFieldData ? 0com/groupbyinc/flux/search/slice/TermsSliceQuery ?
? . 4com/groupbyinc/flux/search/slice/DocValuesSliceQuery ?
? . 5com/groupbyinc/flux/common/apache/lucene/search/Query ? @com/groupbyinc/flux/common/apache/lucene/search/MatchNoDocsQuery ? #this shard is not part of the slice ?
? b Acom/groupbyinc/flux/common/apache/lucene/search/MatchAllDocsQuery ?
? ifm 4Lcom/groupbyinc/flux/index/fielddata/IndexFieldData; targetShard numSlicesInShard rest
shardSlice context 3Lcom/groupbyinc/flux/index/query/QueryShardContext; shardId numShards type 2Lcom/groupbyinc/flux/index/mapper/MappedFieldType; useTermQuery Z targetSlice ((Ljava/lang/String;[Ljava/lang/String;)V
? slice "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; ? 1()Lcom/groupbyinc/flux/search/slice/SliceBuilder; get ()Ljava/util/function/Supplier; 2(Ljava/lang/String;Ljava/util/function/Supplier;)V
? '(Ljava/lang/Object;Ljava/lang/Object;)V 3 D(Lcom/groupbyinc/flux/search/slice/SliceBuilder;Ljava/lang/String;)V# accept !()Ljava/util/function/BiConsumer;%& '
declareString I(Ljava/util/function/BiConsumer;Lcom/groupbyinc/flux/common/ParseField;)V)*
?+ 7 E(Lcom/groupbyinc/flux/search/slice/SliceBuilder;Ljava/lang/Integer;)V. '
declareInt1*
?2 : ' Signature Code LocalVariableTable LineNumberTable
Exceptions
StackMapTable BootstrapMethods
SourceFile InnerClasses ! 6 7 O *? !*#? %*? '*? )? 8 * + 9 K E
G I K , 7 K *#? /? 8 * + 9
N O - 7 ? '*? !*#? %*? '*? )*+? 3W*? 7W*? :W? 8 * ' * + ' ' ' 9 " W E
G I X Y Z &