Class ListCollectionSnapshots
java.lang.Object
org.apache.solr.api.JerseyResource
org.apache.solr.handler.admin.api.AdminAPIBase
org.apache.solr.handler.admin.api.ListCollectionSnapshots
- All Implemented Interfaces:
CollectionSnapshotApis.List
V2 API implementation for Listing Collection Snapshots.
-
Field Summary
Fields inherited from class org.apache.solr.handler.admin.api.AdminAPIBase
coreContainer, solrQueryRequest, solrQueryResponseFields inherited from class org.apache.solr.api.JerseyResource
containerRequestContext -
Constructor Summary
ConstructorsConstructorDescriptionListCollectionSnapshots(CoreContainer coreContainer, SolrQueryRequest solrQueryRequest, SolrQueryResponse solrQueryResponse) -
Method Summary
Modifier and TypeMethodDescriptionlistSnapshots(String collName) This API is analogous to V1's (POST /solr/admin/collections?action=LISTSNAPSHOTS)Methods inherited from class org.apache.solr.handler.admin.api.AdminAPIBase
disableResponseCaching, fetchAndValidateZooKeeperAwareCoreContainer, insertIfNotNull, recordCollectionForLogAndTracing, resolveAndValidateAliasIfEnabled, resolveCollectionName, submitRemoteMessageAndHandleResponse, validateZooKeeperAwareCoreContainerMethods inherited from class org.apache.solr.api.JerseyResource
ensureRequiredParameterProvided, ensureRequiredRequestBodyProvided, instantiateJerseyResponse, instantiateJerseyResponse
-
Constructor Details
-
ListCollectionSnapshots
@Inject public ListCollectionSnapshots(CoreContainer coreContainer, SolrQueryRequest solrQueryRequest, SolrQueryResponse solrQueryResponse)
-
-
Method Details
-
listSnapshots
This API is analogous to V1's (POST /solr/admin/collections?action=LISTSNAPSHOTS)- Specified by:
listSnapshotsin interfaceCollectionSnapshotApis.List- Throws:
Exception
-