com.groupbyinc.flux.action.fieldcaps.TransportFieldCapabilitiesIndexAction.class Maven / Gradle / Ivy
???? 4 Jcom/groupbyinc/flux/action/fieldcaps/TransportFieldCapabilitiesIndexAction ?Lcom/groupbyinc/flux/action/support/single/shard/TransportSingleShardAction; Jcom/groupbyinc/flux/action/support/single/shard/TransportSingleShardAction *TransportFieldCapabilitiesIndexAction.java Zcom/groupbyinc/flux/action/support/single/shard/TransportSingleShardAction$InternalRequest InternalRequest /com/groupbyinc/flux/threadpool/ThreadPool$Names
)com/groupbyinc/flux/threadpool/ThreadPool Names %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup ACTION_NAME Ljava/lang/String; #indices:data/read/field_caps[index] indicesService ,Lcom/groupbyinc/flux/indices/IndicesService; `(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/cluster/service/ClusterService;Lcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/indices/IndicesService;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/action/support/ActionFilters;Lcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver;)V *Lcom/groupbyinc/flux/common/inject/Inject; "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; $ Bcom/groupbyinc/flux/action/fieldcaps/FieldCapabilitiesIndexRequest & ()V (
' ) * F()Lcom/groupbyinc/flux/action/fieldcaps/FieldCapabilitiesIndexRequest; , get ()Ljava/util/function/Supplier; . / 0
management 2u(Lcom/groupbyinc/flux/common/settings/Settings;Ljava/lang/String;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/cluster/service/ClusterService;Lcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/action/support/ActionFilters;Lcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver;Ljava/util/function/Supplier;Ljava/lang/String;)V 4
5 7 this LLcom/groupbyinc/flux/action/fieldcaps/TransportFieldCapabilitiesIndexAction; settings .Lcom/groupbyinc/flux/common/settings/Settings; clusterService 4Lcom/groupbyinc/flux/cluster/service/ClusterService; transportService 0Lcom/groupbyinc/flux/transport/TransportService;
threadPool +Lcom/groupbyinc/flux/threadpool/ThreadPool;
actionFilters 2Lcom/groupbyinc/flux/action/support/ActionFilters; indexNameExpressionResolver BLcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver; resolveIndex G(Lcom/groupbyinc/flux/action/fieldcaps/FieldCapabilitiesIndexRequest;)Z request DLcom/groupbyinc/flux/action/fieldcaps/FieldCapabilitiesIndexRequest; shards ?(Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/action/support/single/shard/TransportSingleShardAction$InternalRequest;)Lcom/groupbyinc/flux/cluster/routing/ShardsIterator; (com/groupbyinc/flux/cluster/ClusterState M routingTable 4()Lcom/groupbyinc/flux/cluster/routing/RoutingTable; O P
N Q
concreteIndex ()Ljava/lang/String; S T
U 0com/groupbyinc/flux/cluster/routing/RoutingTable W index K(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/routing/IndexRoutingTable; Y Z
X [ 5com/groupbyinc/flux/cluster/routing/IndexRoutingTable ] randomAllActiveShardsIt 6()Lcom/groupbyinc/flux/cluster/routing/ShardsIterator; _ `
^ a state *Lcom/groupbyinc/flux/cluster/ClusterState; ?Lcom/groupbyinc/flux/action/support/single/shard/TransportSingleShardAction.InternalRequest; \Lcom/groupbyinc/flux/action/support/single/shard/TransportSingleShardAction$InternalRequest; shardOperation ?(Lcom/groupbyinc/flux/action/fieldcaps/FieldCapabilitiesIndexRequest;Lcom/groupbyinc/flux/index/shard/ShardId;)Lcom/groupbyinc/flux/action/fieldcaps/FieldCapabilitiesIndexResponse; 'com/groupbyinc/flux/index/shard/ShardId i getIndex #()Lcom/groupbyinc/flux/index/Index; k l
j m *com/groupbyinc/flux/indices/IndicesService o indexServiceSafe K(Lcom/groupbyinc/flux/index/Index;)Lcom/groupbyinc/flux/index/IndexService; q r
p s &com/groupbyinc/flux/index/IndexService u
mapperService 2()Lcom/groupbyinc/flux/index/mapper/MapperService; w x
v y java/util/HashSet {
| ) fields ()[Ljava/lang/String; ~
' ? .com/groupbyinc/flux/index/mapper/MapperService ?
java/util/Set ? [Ljava/lang/String; ? simpleMatchToIndexNames *(Ljava/lang/String;)Ljava/util/Collection; ? ?
? ? addAll (Ljava/util/Collection;)Z ? ? ? ? java/util/HashMap ?
? ) iterator ()Ljava/util/Iterator; ? ? ? ?
java/util/Map ? java/util/Iterator ? hasNext ()Z ? ? ? ? next ? $ ? ? java/lang/String ? fullName F(Ljava/lang/String;)Lcom/groupbyinc/flux/index/mapper/MappedFieldType; ? ?
? ? 6com/groupbyinc/flux/action/fieldcaps/FieldCapabilities ? 0com/groupbyinc/flux/index/mapper/MappedFieldType ? typeName ? T
? ? isSearchable ? ?
? ? isAggregatable ? ?
? ? )(Ljava/lang/String;Ljava/lang/String;ZZ)V ?
? ? put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; ? ? ? ? Ccom/groupbyinc/flux/action/fieldcaps/FieldCapabilitiesIndexResponse ? getIndexName ? T
j ? $(Ljava/lang/String;Ljava/util/Map;)V ?
? ? field fieldCap 8Lcom/groupbyinc/flux/action/fieldcaps/FieldCapabilities; ft 2Lcom/groupbyinc/flux/index/mapper/MappedFieldType; shardId )Lcom/groupbyinc/flux/index/shard/ShardId; 0Lcom/groupbyinc/flux/index/mapper/MapperService;
fieldNames #Ljava/util/Set; Ljava/util/Set; responseMap [Ljava/util/Map; Ljava/util/Map; newResponse G()Lcom/groupbyinc/flux/action/fieldcaps/FieldCapabilitiesIndexResponse;
? ) checkRequestBlock ?(Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/action/support/single/shard/TransportSingleShardAction$InternalRequest;)Lcom/groupbyinc/flux/cluster/block/ClusterBlockException; blocks 3()Lcom/groupbyinc/flux/cluster/block/ClusterBlocks; ? ?
N ? 3com/groupbyinc/flux/cluster/block/ClusterBlockLevel ?
METADATA_READ 5Lcom/groupbyinc/flux/cluster/block/ClusterBlockLevel; ? ? ? ? /com/groupbyinc/flux/cluster/block/ClusterBlocks ? indexBlockedException ?(Lcom/groupbyinc/flux/cluster/block/ClusterBlockLevel;Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/block/ClusterBlockException; ? ?
? ? G(Lcom/groupbyinc/flux/action/support/single/shard/SingleShardRequest;)Z G H
? -()Lcom/groupbyinc/flux/action/ActionResponse; ? ?
? ?(Lcom/groupbyinc/flux/action/support/single/shard/SingleShardRequest;Lcom/groupbyinc/flux/index/shard/ShardId;)Lcom/groupbyinc/flux/action/ActionResponse; java/io/IOException ? g h
?
ConstantValue Code LocalVariableTable LineNumberTable RuntimeVisibleAnnotations LocalVariableTypeTable SignatureG(Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/action/support/single/shard/TransportSingleShardAction.InternalRequest;)Lcom/groupbyinc/flux/cluster/routing/ShardsIterator;
StackMapTableL(Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/action/support/single/shard/TransportSingleShardAction.InternalRequest;)Lcom/groupbyinc/flux/cluster/block/ClusterBlockException;
Exceptions BootstrapMethods
SourceFile InnerClasses ! ? ? ?
*+,-? 1 3? 6*? 8? ? R 9 : ; <