public static class CollectionAdminRequest.ClusterStatus extends CollectionAdminRequest<CollectionAdminResponse>
CollectionAdminRequest.AddReplica, CollectionAdminRequest.AddReplicaProp, CollectionAdminRequest.AddRole, CollectionAdminRequest.AsyncCollectionAdminRequest, CollectionAdminRequest.AsyncCollectionSpecificAdminRequest, CollectionAdminRequest.AsyncShardSpecificAdminRequest, CollectionAdminRequest.Backup, CollectionAdminRequest.BalanceShardUnique, CollectionAdminRequest.ClusterProp, CollectionAdminRequest.ClusterStatus, CollectionAdminRequest.CollectionAdminRoleRequest, CollectionAdminRequest.Create, CollectionAdminRequest.CreateAlias, CollectionAdminRequest.CreateShard, CollectionAdminRequest.CreateSnapshot, CollectionAdminRequest.Delete, CollectionAdminRequest.DeleteAlias, CollectionAdminRequest.DeleteNode, CollectionAdminRequest.DeleteReplica, CollectionAdminRequest.DeleteReplicaProp, CollectionAdminRequest.DeleteShard, CollectionAdminRequest.DeleteSnapshot, CollectionAdminRequest.DeleteStatus, CollectionAdminRequest.ForceLeader, CollectionAdminRequest.List, CollectionAdminRequest.ListAliases, CollectionAdminRequest.ListSnapshots, CollectionAdminRequest.Migrate, CollectionAdminRequest.MigrateClusterState, CollectionAdminRequest.MoveReplica, CollectionAdminRequest.OverseerStatus, CollectionAdminRequest.RebalanceLeaders, CollectionAdminRequest.Reload, CollectionAdminRequest.RemoveRole, CollectionAdminRequest.ReplaceNode, CollectionAdminRequest.RequestStatus, CollectionAdminRequest.RequestStatusResponse, CollectionAdminRequest.Restore, CollectionAdminRequest.ShardSpecificAdminRequest, CollectionAdminRequest.SplitShard
SolrRequest.METHOD
MapWriter.EntryWriter
Modifier and Type | Field and Description |
---|---|
protected String |
collection |
protected String |
routeKey |
protected String |
shardName |
action
SUPPORTED_METHODS, useBinaryV2, usev2
Constructor and Description |
---|
ClusterStatus() |
Modifier and Type | Method and Description |
---|---|
protected CollectionAdminResponse |
createResponse(SolrClient client)
Create a new SolrResponse to hold the response from the server
|
String |
getCollectionName() |
SolrParams |
getParams() |
String |
getRouteKey() |
String |
getShardName() |
CollectionAdminRequest.ClusterStatus |
setCollectionName(String collectionName) |
CollectionAdminRequest.ClusterStatus |
setRouteKey(String routeKey) |
CollectionAdminRequest.ClusterStatus |
setShardName(String shard) |
addProperties, addReplicaByRouteKey, addReplicaProperty, addReplicaToShard, addReplicaToShard, addRole, backupCollection, balanceReplicaProperty, createAlias, createCollection, createCollection, createCollection, createCollectionWithImplicitRouter, createCollectionWithImplicitRouter, createShard, deleteAlias, deleteAllAsyncIds, deleteAsyncId, deleteCollection, deleteReplica, deleteReplicaProperty, deleteReplicasFromAllShards, deleteReplicasFromShard, deleteShard, forceLeaderElection, getClusterStatus, getContentStreams, getOverseerStatus, getV2Request, listCollections, migrateCollectionFormat, migrateData, rebalanceLeaders, reloadCollection, removeRole, requestStatus, restoreCollection, setClusterProperty, splitShard, waitForAsyncRequest, writeMap
getBasicAuthPassword, getBasicAuthUser, getCollection, getMethod, getPath, getQueryParams, getResponseParser, getStreamingResponseCallback, process, process, setBasicAuthCredentials, setMethod, setPath, setQueryParams, setResponseParser, setStreamingResponseCallback, setUseBinaryV2, setUseV2
protected String shardName
protected String collection
protected String routeKey
public CollectionAdminRequest.ClusterStatus setCollectionName(String collectionName)
public String getCollectionName()
public CollectionAdminRequest.ClusterStatus setShardName(String shard)
public String getShardName()
public String getRouteKey()
public CollectionAdminRequest.ClusterStatus setRouteKey(String routeKey)
public SolrParams getParams()
getParams
in class CollectionAdminRequest<CollectionAdminResponse>
protected CollectionAdminResponse createResponse(SolrClient client)
SolrRequest
createResponse
in class SolrRequest<CollectionAdminResponse>
client
- the SolrClient
the request will be sent toCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.