
com.groupbyinc.flux.rest.action.cat.RestIndicesAction.class Maven / Gradle / Ivy
???? 3a 5com/groupbyinc/flux/rest/action/cat/RestIndicesAction 5com/groupbyinc/flux/rest/action/cat/AbstractCatAction RestIndicesAction.java 7com/groupbyinc/flux/rest/action/cat/RestIndicesAction$1 8com/groupbyinc/flux/cluster/metadata/IndexMetaData$State 2com/groupbyinc/flux/cluster/metadata/IndexMetaData
State +com/groupbyinc/flux/rest/RestRequest$Method
$com/groupbyinc/flux/rest/RestRequest Method 6com/groupbyinc/flux/index/indexing/IndexingStats$Stats 0com/groupbyinc/flux/index/indexing/IndexingStats Stats 8com/groupbyinc/flux/index/search/stats/SearchStats$Stats 2com/groupbyinc/flux/index/search/stats/SearchStats indexNameExpressionResolver BLcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver; ?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/rest/RestController;Lcom/groupbyinc/flux/client/Client;Lcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver;)V *Lcom/groupbyinc/flux/common/inject/Inject; }(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/rest/RestController;Lcom/groupbyinc/flux/client/Client;)V
! # GET -Lcom/groupbyinc/flux/rest/RestRequest$Method; % & '
/_cat/indices ) 'com/groupbyinc/flux/rest/RestController + registerHandler h(Lcom/groupbyinc/flux/rest/RestRequest$Method;Ljava/lang/String;Lcom/groupbyinc/flux/rest/RestHandler;)V - .
, / /_cat/indices/{index} 1 this 7Lcom/groupbyinc/flux/rest/action/cat/RestIndicesAction; settings .Lcom/groupbyinc/flux/common/settings/Settings;
controller )Lcom/groupbyinc/flux/rest/RestController; client #Lcom/groupbyinc/flux/client/Client;
documentation (Ljava/lang/StringBuilder;)V /_cat/indices
= java/lang/StringBuilder ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; A B
@ C /_cat/indices/{index}
E sb Ljava/lang/StringBuilder; doRequest r(Lcom/groupbyinc/flux/rest/RestRequest;Lcom/groupbyinc/flux/rest/RestChannel;Lcom/groupbyinc/flux/client/Client;)V index K param &(Ljava/lang/String;)Ljava/lang/String; M N
O "com/groupbyinc/flux/common/Strings Q splitStringByCommaToArray '(Ljava/lang/String;)[Ljava/lang/String; S T
R U Bcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateRequest W ()V Y
X Z clear F()Lcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateRequest; \ ]
X ^ indices Y([Ljava/lang/String;)Lcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateRequest; ` a
X b metaData G(Z)Lcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateRequest; d e
X f local h ()Z h j
X k paramAsBoolean (Ljava/lang/String;Z)Z m n
o D(Z)Lcom/groupbyinc/flux/action/support/master/MasterNodeReadRequest; h q
X r master_timeout t masterNodeTimeout -()Lcom/groupbyinc/flux/common/unit/TimeValue; v w
X x paramAsTime j(Ljava/lang/String;Lcom/groupbyinc/flux/common/unit/TimeValue;)Lcom/groupbyinc/flux/common/unit/TimeValue; z {
| j(Lcom/groupbyinc/flux/common/unit/TimeValue;)Lcom/groupbyinc/flux/action/support/master/MasterNodeRequest; v ~
X !com/groupbyinc/flux/client/Client ? admin *()Lcom/groupbyinc/flux/client/AdminClient; ? ? ? ? &com/groupbyinc/flux/client/AdminClient ? cluster 1()Lcom/groupbyinc/flux/client/ClusterAdminClient; ? ? ? ? ?(Lcom/groupbyinc/flux/rest/action/cat/RestIndicesAction;Lcom/groupbyinc/flux/rest/RestChannel;[Ljava/lang/String;Lcom/groupbyinc/flux/rest/RestRequest;Lcom/groupbyinc/flux/client/Client;)V ?
? -com/groupbyinc/flux/client/ClusterAdminClient ? state r(Lcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateRequest;Lcom/groupbyinc/flux/action/ActionListener;)V ? ? ? ? request &Lcom/groupbyinc/flux/rest/RestRequest; channel &Lcom/groupbyinc/flux/rest/RestChannel; [Ljava/lang/String; clusterStateRequest DLcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateRequest; getTableWithHeader J(Lcom/groupbyinc/flux/rest/RestRequest;)Lcom/groupbyinc/flux/common/Table; com/groupbyinc/flux/common/Table ?
? Z startHeaders $()Lcom/groupbyinc/flux/common/Table; ? ?
? ? health ? "alias:h;desc:current health status ? addCell H(Ljava/lang/Object;Ljava/lang/String;)Lcom/groupbyinc/flux/common/Table; ? ?
? ? status ? alias:s;desc:open/close status ? alias:i,idx;desc:index name ? pri ? Salias:p,shards.primary,shardsPrimary;text-align:right;desc:number of primary shards ? rep ? Salias:r,shards.replica,shardsReplica;text-align:right;desc:number of replica shards ?
docs.count ? 7alias:dc,docsCount;text-align:right;desc:available docs ? docs.deleted ? 7alias:dd,docsDeleted;text-align:right;desc:deleted docs ?
creation.date ? Calias:cd;default:false;desc:index creation date (millisecond value) ? creation.date.string ?