Interface DeleteReplicaApi
-
@Path("/collections/{collectionName}") public interface DeleteReplicaApiV2 API definition for deleting one or more existing replicas from one or more shards.These APIs are analogous to the v1 /admin/collections?action=DELETEREPLICA command.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SubResponseAccumulatingJerseyResponsedeleteReplicaByName(String collectionName, String shardName, String replicaName, Boolean followAliases, Boolean deleteInstanceDir, Boolean deleteDataDir, Boolean deleteIndex, Boolean onlyIfDown, String async)SubResponseAccumulatingJerseyResponsedeleteReplicasByCount(String collectionName, String shardName, Integer numToDelete, Boolean followAliases, Boolean deleteInstanceDir, Boolean deleteDataDir, Boolean deleteIndex, Boolean onlyIfDown, String async)SubResponseAccumulatingJerseyResponsedeleteReplicasByCountAllShards(String collectionName, ScaleCollectionRequestBody requestBody)
-
-
-
Method Detail
-
deleteReplicaByName
@DELETE @Path("/shards/{shardName}/replicas/{replicaName}") SubResponseAccumulatingJerseyResponse deleteReplicaByName(@PathParam("collectionName") String collectionName, @PathParam("shardName") String shardName, @PathParam("replicaName") String replicaName, @QueryParam("followAliases") Boolean followAliases, @QueryParam("deleteInstanceDir") Boolean deleteInstanceDir, @QueryParam("deleteDataDir") Boolean deleteDataDir, @QueryParam("deleteIndex") Boolean deleteIndex, @QueryParam("onlyIfDown") Boolean onlyIfDown, @QueryParam("async") String async) throws Exception- Throws:
Exception
-
deleteReplicasByCount
@DELETE @Path("/shards/{shardName}/replicas") SubResponseAccumulatingJerseyResponse deleteReplicasByCount(@PathParam("collectionName") String collectionName, @PathParam("shardName") String shardName, @QueryParam("count") Integer numToDelete, @QueryParam("followAliases") Boolean followAliases, @QueryParam("deleteInstanceDir") Boolean deleteInstanceDir, @QueryParam("deleteDataDir") Boolean deleteDataDir, @QueryParam("deleteIndex") Boolean deleteIndex, @QueryParam("onlyIfDown") Boolean onlyIfDown, @QueryParam("async") String async) throws Exception- Throws:
Exception
-
deleteReplicasByCountAllShards
@PUT @Path("/scale") SubResponseAccumulatingJerseyResponse deleteReplicasByCountAllShards(@PathParam("collectionName") String collectionName, ScaleCollectionRequestBody requestBody) throws Exception- Throws:
Exception
-
-