
com.groupbyinc.flux.search.slice.SliceBuilder.class Maven / Gradle / Ivy
???? 4? -com/groupbyinc/flux/search/slice/SliceBuilder java/lang/Object .com/groupbyinc/flux/common/io/stream/Writeable 4com/groupbyinc/flux/common/xcontent/ToXContentObject 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 DEPRECATION_LOG 6Lcom/groupbyinc/flux/common/logging/DeprecationLogger; 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 $assertionsDisabled Z ()V $ %
& _id ( * , ! . this /Lcom/groupbyinc/flux/search/slice/SliceBuilder; (II)V (Ljava/lang/String;II)V $ 3
4 setField C(Ljava/lang/String;)Lcom/groupbyinc/flux/search/slice/SliceBuilder; 6 7
8 setId 2(I)Lcom/groupbyinc/flux/search/slice/SliceBuilder; : ;
< setMax > ;
? 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 _uid J java/lang/String L equals (Ljava/lang/Object;)Z N O
M P
getVersion ()Lcom/groupbyinc/flux/Version; R S
E T com/groupbyinc/flux/Version V V_6_3_0 Lcom/groupbyinc/flux/Version; X Y W Z before (Lcom/groupbyinc/flux/Version;)Z \ ]
W ^ readVInt ()I ` a
E b 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 h
i T writeString (Ljava/lang/String;)V k l
i m writeVInt (I)V o p
i q out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; "com/groupbyinc/flux/common/Strings u isEmpty (Ljava/lang/CharSequence;)Z w x
v y "java/lang/IllegalArgumentException { field name is null or empty } $ l
| getField %id must be greater than or equal to 0 ? max must be greater than id ? getId max must be greater than 1 ? 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 ? startObject 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
? ? innerToXContent 8(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;)V ? ?
? endObject ? ?
? ? builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; params 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; ? %com/groupbyinc/flux/common/ParseField ? getPreferredName ? G
? ? [(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ?
? ? ? J(Ljava/lang/String;I)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ?
? ? ? 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; other Ljava/lang/Object; o hashCode java/lang/Integer ? valueOf (I)Ljava/lang/Integer; ? ?
? ? java/util/Objects ? hash ([Ljava/lang/Object;)I ? ?
? ? toFilter ?(Lcom/groupbyinc/flux/cluster/service/ClusterService;Lcom/groupbyinc/flux/search/internal/ShardSearchRequest;Lcom/groupbyinc/flux/index/query/QueryShardContext;Lcom/groupbyinc/flux/Version;)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 ? G
? ? 0com/groupbyinc/flux/index/mapper/MappedFieldType ? 6com/groupbyinc/flux/search/internal/ShardSearchRequest ? shardId +()Lcom/groupbyinc/flux/index/shard/ShardId; ? ? ? ? 'com/groupbyinc/flux/index/shard/ShardId ? a
? ? getIndexSettings +()Lcom/groupbyinc/flux/index/IndexSettings; ? ?
? ? 'com/groupbyinc/flux/index/IndexSettings ? getNumberOfShards ? a
? ? V_6_4_0 ? Y W ? onOrAfter ? ]
W ?
preference ? G ? ?
indexRoutings ()[Ljava/lang/String; ? ? buildShardIterator ?(Lcom/groupbyinc/flux/cluster/service/ClusterService;Lcom/groupbyinc/flux/search/internal/ShardSearchRequest;)Lcom/groupbyinc/flux/cluster/routing/GroupShardsIterator;
" # 7com/groupbyinc/flux/cluster/routing/GroupShardsIterator size a
java/lang/AssertionError index routing shards: (I)Ljava/lang/StringBuilder; ?
? 0 cannot be greater than total number of shards: (Ljava/lang/Object;)V $
iterator ()Ljava/util/Iterator;
java/util/Iterator hasNext ()Z !" next ()Ljava/lang/Object;$%& 1com/groupbyinc/flux/cluster/routing/ShardIterator() ? getIndex #()Lcom/groupbyinc/flux/index/Index;+,
?- com/groupbyinc/flux/index/Index/
0 P
&
? P
shard id: 4 ? a
?6 ! not found in index shard routing8 isSingleType:!
?; = UComputing slices on the [_uid] field is deprecated for 6.x indices, use [_id] instead? 4com/groupbyinc/flux/common/logging/DeprecationLoggerA
deprecated ((Ljava/lang/String;[Ljava/lang/Object;)VCD
BE hasDocValuesG!
?H "cannot load numeric doc values on J getForField h(Lcom/groupbyinc/flux/index/mapper/MappedFieldType;)Lcom/groupbyinc/flux/index/fielddata/IndexFieldData;LM
?N 9com/groupbyinc/flux/index/fielddata/IndexNumericFieldDataP 0com/groupbyinc/flux/search/slice/TermsSliceQueryR
S 4 4com/groupbyinc/flux/search/slice/DocValuesSliceQueryU
V 4 5com/groupbyinc/flux/common/apache/lucene/search/QueryX @com/groupbyinc/flux/common/apache/lucene/search/MatchNoDocsQueryZ #this shard is not part of the slice\
[ Acom/groupbyinc/flux/common/apache/lucene/search/MatchAllDocsQuery_
` & 2com/groupbyinc/flux/cluster/service/ClusterServiceb it 3Lcom/groupbyinc/flux/cluster/routing/ShardIterator; ord group nLcom/groupbyinc/flux/cluster/routing/GroupShardsIterator; 9Lcom/groupbyinc/flux/cluster/routing/GroupShardsIterator; ifm 4Lcom/groupbyinc/flux/index/fielddata/IndexFieldData; targetShard numSlicesInShard rest
shardSlice clusterService 4Lcom/groupbyinc/flux/cluster/service/ClusterService; request 8Lcom/groupbyinc/flux/search/internal/ShardSearchRequest; context 3Lcom/groupbyinc/flux/index/query/QueryShardContext; minNodeVersion type 2Lcom/groupbyinc/flux/index/mapper/MappedFieldType; numShards useTermQuery targetSlice state ,()Lcom/groupbyinc/flux/cluster/ClusterState;|}
c~ getName? G
0? (com/groupbyinc/flux/common/util/set/Sets?
newHashSet (([Ljava/lang/Object;)Ljava/util/HashSet;??
?? java/util/Collections? singletonMap 5(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Map;??
?? (com/groupbyinc/flux/cluster/ClusterState? [Ljava/lang/String;?
java/util/Map? operationRouting 8()Lcom/groupbyinc/flux/cluster/routing/OperationRouting;??
c? 4com/groupbyinc/flux/cluster/routing/OperationRouting? searchShards ?(Lcom/groupbyinc/flux/cluster/ClusterState;[Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/routing/GroupShardsIterator;??
?? *Lcom/groupbyinc/flux/cluster/ClusterState; indices
routingMap FLjava/util/Map;>; Ljava/util/Map; F(Lcom/groupbyinc/flux/common/xcontent/ToXContent;ZZ)Ljava/lang/String; ??
v? java/lang/Class? desiredAssertionStatus?!
?? *com/groupbyinc/flux/common/logging/Loggers? getLogger 4(Ljava/lang/Class;)Lorg/apache/logging/log4j/Logger;??
?? $(Lorg/apache/logging/log4j/Logger;)V $?
B? ((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;??
???% ? 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? 9 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??
?? = E(Lcom/groupbyinc/flux/search/slice/SliceBuilder;Ljava/lang/Integer;)V? ?
declareInt??
?? @ ? Signature Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions LocalVariableTypeTable ?(Lcom/groupbyinc/flux/cluster/service/ClusterService;Lcom/groupbyinc/flux/search/internal/ShardSearchRequest;)Lcom/groupbyinc/flux/cluster/routing/GroupShardsIterator; BootstrapMethods
SourceFile InnerClasses ! ? ! " # $ % ? O *? '*)? +*? -*? /? ? 0 1 ? Z T
V X Z $ 2 ? K *)? 5? ? 0 1 ! ?
] ^ $ 3 ? ? '*? '*)? +*? -*? /*+? 9W*? =W*? @W? ? * ' 0 1 ' ' ' ! ? " f T
V X g h i &