Class GetSchemaZkVersionAPI
- java.lang.Object
-
- org.apache.solr.api.JerseyResource
-
- org.apache.solr.handler.admin.api.GetSchemaZkVersionAPI
-
@Path("/{a:cores|collections}/{collectionName}/schema") public class GetSchemaZkVersionAPI extends JerseyResource
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetSchemaZkVersionAPI.SchemaZkVersionResponse
-
Field Summary
-
Fields inherited from class org.apache.solr.api.JerseyResource
containerRequestContext
-
-
Constructor Summary
Constructors Constructor Description GetSchemaZkVersionAPI(SolrCore solrCore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetSchemaZkVersionAPI.SchemaZkVersionResponse
getSchemaZkVersion(Integer refreshIfBelowVersion)
-
Methods inherited from class org.apache.solr.api.JerseyResource
ensureRequiredParameterProvided, ensureRequiredRequestBodyProvided, instantiateJerseyResponse, instantiateJerseyResponse
-
-
-
-
Constructor Detail
-
GetSchemaZkVersionAPI
@Inject public GetSchemaZkVersionAPI(SolrCore solrCore)
-
-
Method Detail
-
getSchemaZkVersion
@GET @Path("/zkversion") @Produces({"application/json","application/atom+xml","application/vnd.apache.solr.javabin"}) public GetSchemaZkVersionAPI.SchemaZkVersionResponse getSchemaZkVersion(@DefaultValue("-1") @QueryParam("refreshIfBelowVersion") Integer refreshIfBelowVersion) throws Exception
- Throws:
Exception
-
-