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 IndexSchemaindexSchemaprotected SolrCoresolrCore-
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 SchemaInfoResponsegetSchemaInfo()SchemaNameResponsegetSchemaName()SchemaSimilarityResponsegetSchemaSimilarity()SchemaUniqueKeyResponsegetSchemaUniqueKey()SchemaVersionResponsegetSchemaVersion()SchemaZkVersionResponsegetSchemaZkVersion(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:
getSchemaInfoin interfaceGetSchemaApi
-
getSchemaName
public SchemaNameResponse getSchemaName() throws Exception
- Specified by:
getSchemaNamein interfaceGetSchemaApi- Throws:
Exception
-
getSchemaSimilarity
public SchemaSimilarityResponse getSchemaSimilarity()
- Specified by:
getSchemaSimilarityin interfaceGetSchemaApi
-
getSchemaUniqueKey
public SchemaUniqueKeyResponse getSchemaUniqueKey()
- Specified by:
getSchemaUniqueKeyin interfaceGetSchemaApi
-
getSchemaVersion
public SchemaVersionResponse getSchemaVersion()
- Specified by:
getSchemaVersionin interfaceGetSchemaApi
-
getSchemaZkVersion
public SchemaZkVersionResponse getSchemaZkVersion(Integer refreshIfBelowVersion) throws Exception
- Specified by:
getSchemaZkVersionin interfaceGetSchemaApi- Throws:
Exception
-
-