All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.rest.action.cat.RestSegmentsAction.class Maven / Gradle / Ivy

????4?6com/groupbyinc/flux/rest/action/cat/RestSegmentsAction5com/groupbyinc/flux/rest/action/cat/AbstractCatActionRestSegmentsAction.java8com/groupbyinc/flux/rest/action/cat/RestSegmentsAction$1Z(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/rest/RestController;)V1(Lcom/groupbyinc/flux/common/settings/Settings;)V
GET-Lcom/groupbyinc/flux/rest/RestRequest$Method;	/_cat/segments 'com/groupbyinc/flux/rest/RestController"registerHandlerh(Lcom/groupbyinc/flux/rest/RestRequest$Method;Ljava/lang/String;Lcom/groupbyinc/flux/rest/RestHandler;)V$%
#&/_cat/segments/{index}(this8Lcom/groupbyinc/flux/rest/action/cat/RestSegmentsAction;settings.Lcom/groupbyinc/flux/common/settings/Settings;
controller)Lcom/groupbyinc/flux/rest/RestController;getName()Ljava/lang/String;cat_segments_action2doCatRequest?(Lcom/groupbyinc/flux/rest/RestRequest;Lcom/groupbyinc/flux/client/node/NodeClient;)Lcom/groupbyinc/flux/rest/BaseRestHandler$RestChannelConsumer;index6param&(Ljava/lang/String;)Ljava/lang/String;89
:"com/groupbyinc/flux/common/Strings<splitStringByCommaToArray'(Ljava/lang/String;)[Ljava/lang/String;>?
=@Bcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateRequestB()VD
CElocalG()ZGI
CJparamAsBoolean(Ljava/lang/String;Z)ZLM
ND(Z)Lcom/groupbyinc/flux/action/support/master/MasterNodeReadRequest;GP
CQmaster_timeoutSmasterNodeTimeout-()Lcom/groupbyinc/flux/common/unit/TimeValue;UV
CWparamAsTimej(Ljava/lang/String;Lcom/groupbyinc/flux/common/unit/TimeValue;)Lcom/groupbyinc/flux/common/unit/TimeValue;YZ
[j(Lcom/groupbyinc/flux/common/unit/TimeValue;)Lcom/groupbyinc/flux/action/support/master/MasterNodeRequest;U]
C^clearF()Lcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateRequest;`a
CbnodesG(Z)Lcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateRequest;de
CfroutingTablehe
CiindicesY([Ljava/lang/String;)Lcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateRequest;kl
Cm"java/lang/invoke/LambdaMetafactoryometafactory?(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;qr
pst(Ljava/lang/Object;)Vvlambda$doCatRequest$0?(Lcom/groupbyinc/flux/client/node/NodeClient;Lcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateRequest;[Ljava/lang/String;Lcom/groupbyinc/flux/rest/RestRequest;Lcom/groupbyinc/flux/rest/RestChannel;)Vxy
z{)(Lcom/groupbyinc/flux/rest/RestChannel;)V}accept!(Lcom/groupbyinc/flux/rest/action/cat/RestSegmentsAction;Lcom/groupbyinc/flux/client/node/NodeClient;Lcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateRequest;[Ljava/lang/String;Lcom/groupbyinc/flux/rest/RestRequest;)Lcom/groupbyinc/flux/rest/BaseRestHandler$RestChannelConsumer;??request&Lcom/groupbyinc/flux/rest/RestRequest;client,Lcom/groupbyinc/flux/client/node/NodeClient;[Ljava/lang/String;clusterStateRequestDLcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateRequest;
documentation(Ljava/lang/StringBuilder;)V/_cat/segments
?java/lang/StringBuilder?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??/_cat/segments/{index}
?sbLjava/lang/StringBuilder;getTableWithHeaderJ(Lcom/groupbyinc/flux/rest/RestRequest;)Lcom/groupbyinc/flux/common/Table; com/groupbyinc/flux/common/Table?
?EstartHeaders$()Lcom/groupbyinc/flux/common/Table;??
??(default:true;alias:i,idx;desc:index name?addCellH(Ljava/lang/Object;Ljava/lang/String;)Lcom/groupbyinc/flux/common/Table;??
??shard?'default:true;alias:s,sh;desc:shard name?prirep?@alias:p,pr,primaryOrReplica;default:true;desc:primary or replica?ip?+default:true;desc:ip of node where it lives?id?3default:false;desc:unique id of node where it lives?segment?(default:true;alias:seg;desc:segment name?
generation?Adefault:true;alias:g,gen;text-align:right;desc:segment generation?
docs.count?Odefault:true;alias:dc,docsCount;text-align:right;desc:number of docs in segment?docs.deleted?Ydefault:true;alias:dd,docsDeleted;text-align:right;desc:number of deleted docs in segment?size?Adefault:true;alias:si;text-align:right;desc:segment size in bytes?size.memory?Ndefault:true;alias:sm,sizeMemory;text-align:right;desc:segment memory in bytes?	committed?;default:true;alias:ic,isCommitted;desc:is segment committed?
searchable?;default:true;alias:is,isSearchable;desc:is segment searched?version?%default:true;alias:v,ver;desc:version?compound?:default:true;alias:ico,isCompound;desc:is segment compound?
endHeaders??
??table"Lcom/groupbyinc/flux/common/Table;
buildTable?(Lcom/groupbyinc/flux/rest/RestRequest;Lcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateResponse;Ljava/util/Map;)Lcom/groupbyinc/flux/common/Table;??
?Ccom/groupbyinc/flux/action/admin/cluster/state/ClusterStateResponse?getState,()Lcom/groupbyinc/flux/cluster/ClusterState;??
??(com/groupbyinc/flux/cluster/ClusterState?3()Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;d?
??
java/util/Map?values()Ljava/util/Collection;????java/util/Collection?iterator()Ljava/util/Iterator;????/com/groupbyinc/flux/cluster/node/DiscoveryNodes?java/util/IteratorhasNextInext()Ljava/lang/Object;?com/groupbyinc/flux/action/admin/indices/segments/IndexSegments
	getShards()Ljava/util/Map;
Dcom/groupbyinc/flux/action/admin/indices/segments/IndexShardSegmentsD()[Lcom/groupbyinc/flux/action/admin/indices/segments/ShardSegments;
B[Lcom/groupbyinc/flux/action/admin/indices/segments/ShardSegments;?com/groupbyinc/flux/action/admin/indices/segments/ShardSegmentsgetSegments()Ljava/util/List;
java/util/List?(com/groupbyinc/flux/index/engine/Segment startRow"?
?#getShardRouting4()Lcom/groupbyinc/flux/cluster/routing/ShardRouting;%&
'0com/groupbyinc/flux/cluster/routing/ShardRouting)getIndexName+1
*,6(Ljava/lang/Object;)Lcom/groupbyinc/flux/common/Table;?.
?/getId()I12
*3java/lang/Integer5valueOf(I)Ljava/lang/Integer;78
69primary;I
*<p>r@java/lang/ObjectB
currentNodeIdD1
*EgetD(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;GH
I.com/groupbyinc/flux/cluster/node/DiscoveryNodeKgetHostAddressM1
LN01
!P
getGeneration()JRS
!Tjava/lang/LongV(J)Ljava/lang/Long;7X
WY
getNumDocs[2
!\getDeletedDocs^2
!_getSize1()Lcom/groupbyinc/flux/common/unit/ByteSizeValue;ab
!cgetMemoryInByteseS
!fisCommittedhI
!ijava/lang/Booleank(Z)Ljava/lang/Boolean;7m
lnisSearchpI
!q
getVersion9()Lcom/groupbyinc/flux/common/apache/lucene/util/Version;st
!u
isCompound()Ljava/lang/Boolean;wx
!yendRow{?
?|*Lcom/groupbyinc/flux/index/engine/Segment;segments;Ljava/util/List;shardSegmentALcom/groupbyinc/flux/action/admin/indices/segments/ShardSegments;
shardSegmentsindexShardSegmentsFLcom/groupbyinc/flux/action/admin/indices/segments/IndexShardSegments;shardsjLjava/util/Map;Ljava/util/Map;
indexSegmentsALcom/groupbyinc/flux/action/admin/indices/segments/IndexSegments;stateELcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateResponse;indicesSegmentsdLjava/util/Map;1Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;java/lang/Exception?*com/groupbyinc/flux/client/node/NodeClient?admin*()Lcom/groupbyinc/flux/client/AdminClient;??
??&com/groupbyinc/flux/client/AdminClient?cluster1()Lcom/groupbyinc/flux/client/ClusterAdminClient;?????(Lcom/groupbyinc/flux/rest/action/cat/RestSegmentsAction;Lcom/groupbyinc/flux/rest/RestChannel;[Ljava/lang/String;Lcom/groupbyinc/flux/client/node/NodeClient;Lcom/groupbyinc/flux/rest/RestRequest;)V?
?-com/groupbyinc/flux/client/ClusterAdminClient?r(Lcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateRequest;Lcom/groupbyinc/flux/action/ActionListener;)V????channel&Lcom/groupbyinc/flux/rest/RestChannel;
access$000?(Lcom/groupbyinc/flux/rest/action/cat/RestSegmentsAction;Lcom/groupbyinc/flux/rest/RestRequest;Lcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateResponse;Ljava/util/Map;)Lcom/groupbyinc/flux/common/Table;??
?x0x1x2x3CodeLocalVariableTableLineNumberTableLocalVariableTypeTable
StackMapTable	Signature?(Lcom/groupbyinc/flux/rest/RestRequest;Lcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateResponse;Ljava/util/Map;)Lcom/groupbyinc/flux/common/Table;
ExceptionsBootstrapMethods
SourceFileInnerClasses!?d*+?,?!*?',?)*?'?? *+,-./?012301?-3??*+?745??S+7?;?AN?CY?F:+H?K?O?RW+T?X?\?_W?c?g?j-?nW*,-+????4S*+S??S??
Ik?@???<
>?$@5AGC???K+???W+???W??*+???VWX???!???Y??M,??W,7???W,????W,????W,????W,????W,????W,????W,?¶?W,?ƶ?W,?ʶ?W,?ζ?W,?Ҷ?W,?ֶ?W,?ڶ?W,?޶?W,??W,?? ?*+???????N\]
^_`(a1b:cCdLeUf^gghpiyj?k?l?m?n????*+??:,????:-????:??y?	?:?:????:		??K	?	?:

?::?6
6
?"2:?:?:????	?!:?$W?(?-?0W?(?4?:?0W?(?=?	??A?0W?(?F?J?O?0W?(?F?0W?Q?0W?U?Z?0W?]?:?0W?`?:?0W?d?0W?g?Z?0W?j?o?0W?r?o?0W?v?0W?z?0W?}W?????ݧ????????
???~????e2?^9??
:`??3g???*+?????????????d?? ??:`??????~rtv3w:y^ze|}???????????????!?/?=?H?V?d?r?}??????|???????2
???*??(??????M????!??????!?C???????
????????xy?z	+????,?Y*-+??????>*+????k??????C?????P*+,-????*?+???????.?uw|~??"	@




© 2015 - 2025 Weber Informatics LLC | Privacy Policy