Class GetSchema
- java.lang.Object
-
- org.apache.solr.api.JerseyResource
-
- org.apache.solr.handler.admin.api.GetSchema
-
- All Implemented Interfaces:
GetSchemaApi
public class GetSchema extends JerseyResource implements GetSchemaApi
-
-
Field Summary
Fields Modifier and Type Field Description protected IndexSchema
indexSchema
protected SolrCore
solrCore
-
Fields inherited from class org.apache.solr.api.JerseyResource
containerRequestContext
-
-
Constructor Summary
Constructors Constructor Description GetSchema(SolrCore solrCore, IndexSchema indexSchema)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SchemaInfoResponse
getSchemaInfo()
SchemaNameResponse
getSchemaName()
SchemaSimilarityResponse
getSchemaSimilarity()
SchemaUniqueKeyResponse
getSchemaUniqueKey()
SchemaVersionResponse
getSchemaVersion()
SchemaZkVersionResponse
getSchemaZkVersion(Integer refreshIfBelowVersion)
-
Methods inherited from class org.apache.solr.api.JerseyResource
ensureRequiredParameterProvided, ensureRequiredRequestBodyProvided, instantiateJerseyResponse, instantiateJerseyResponse
-
-
-
-
Field Detail
-
indexSchema
protected final IndexSchema indexSchema
-
solrCore
protected final SolrCore solrCore
-
-
Constructor Detail
-
GetSchema
@Inject public GetSchema(SolrCore solrCore, IndexSchema indexSchema)
-
-
Method Detail
-
getSchemaInfo
public SchemaInfoResponse getSchemaInfo()
- Specified by:
getSchemaInfo
in interfaceGetSchemaApi
-
getSchemaName
public SchemaNameResponse getSchemaName() throws Exception
- Specified by:
getSchemaName
in interfaceGetSchemaApi
- Throws:
Exception
-
getSchemaSimilarity
public SchemaSimilarityResponse getSchemaSimilarity()
- Specified by:
getSchemaSimilarity
in interfaceGetSchemaApi
-
getSchemaUniqueKey
public SchemaUniqueKeyResponse getSchemaUniqueKey()
- Specified by:
getSchemaUniqueKey
in interfaceGetSchemaApi
-
getSchemaVersion
public SchemaVersionResponse getSchemaVersion()
- Specified by:
getSchemaVersion
in interfaceGetSchemaApi
-
getSchemaZkVersion
public SchemaZkVersionResponse getSchemaZkVersion(Integer refreshIfBelowVersion) throws Exception
- Specified by:
getSchemaZkVersion
in interfaceGetSchemaApi
- Throws:
Exception
-
-