Class DeleteCollectionSnapshot
- java.lang.Object
-
- org.apache.solr.api.JerseyResource
-
- org.apache.solr.handler.admin.api.AdminAPIBase
-
- org.apache.solr.handler.admin.api.DeleteCollectionSnapshot
-
- All Implemented Interfaces:
DeleteCollectionSnapshotApi
public class DeleteCollectionSnapshot extends AdminAPIBase implements DeleteCollectionSnapshotApi
V2 API impl for Deleting Collection Snapshots.
-
-
Field Summary
-
Fields inherited from class org.apache.solr.handler.admin.api.AdminAPIBase
coreContainer, solrQueryRequest, solrQueryResponse
-
Fields inherited from class org.apache.solr.api.JerseyResource
containerRequestContext
-
-
Constructor Summary
Constructors Constructor Description DeleteCollectionSnapshot(CoreContainer coreContainer, SolrQueryRequest solrQueryRequest, SolrQueryResponse solrQueryResponse)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.apache.solr.common.cloud.ZkNodeProps
createRemoteMessage(String collectionName, boolean followAliases, String snapshotName, String asyncId)
DeleteCollectionSnapshotResponse
deleteSnapshot(String collName, String snapshotName, boolean followAliases, String asyncId)
-
Methods inherited from class org.apache.solr.handler.admin.api.AdminAPIBase
disableResponseCaching, fetchAndValidateZooKeeperAwareCoreContainer, insertIfNotNull, recordCollectionForLogAndTracing, resolveAndValidateAliasIfEnabled, resolveCollectionName, submitRemoteMessageAndHandleResponse, validateZooKeeperAwareCoreContainer
-
Methods inherited from class org.apache.solr.api.JerseyResource
ensureRequiredParameterProvided, ensureRequiredRequestBodyProvided, instantiateJerseyResponse, instantiateJerseyResponse
-
-
-
-
Constructor Detail
-
DeleteCollectionSnapshot
@Inject public DeleteCollectionSnapshot(CoreContainer coreContainer, SolrQueryRequest solrQueryRequest, SolrQueryResponse solrQueryResponse)
-
-
Method Detail
-
deleteSnapshot
public DeleteCollectionSnapshotResponse deleteSnapshot(String collName, String snapshotName, boolean followAliases, String asyncId) throws Exception
- Specified by:
deleteSnapshot
in interfaceDeleteCollectionSnapshotApi
- Throws:
Exception
-
-