Class SchemaRequest.Field
- java.lang.Object
- 
- org.apache.solr.client.solrj.SolrRequest<T>
- 
- org.apache.solr.client.solrj.request.schema.AbstractSchemaRequest<SchemaResponse.FieldResponse>
- 
- org.apache.solr.client.solrj.request.schema.SchemaRequest.Field
 
 
 
- 
- All Implemented Interfaces:
- Serializable
 - Enclosing class:
- SchemaRequest
 
 public static class SchemaRequest.Field extends AbstractSchemaRequest<SchemaResponse.FieldResponse> Schema API request that lists the field definition for the specified field contained in the schema.- See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class org.apache.solr.client.solrj.SolrRequestSolrRequest.METHOD, SolrRequest.SolrClientContext, SolrRequest.SolrRequestType
 
- 
 - 
Field Summary- 
Fields inherited from class org.apache.solr.client.solrj.SolrRequestSUPPORTED_METHODS, useBinaryV2, usev2
 
- 
 - 
Constructor SummaryConstructors Constructor Description Field(String fieldName)Creates a new instance of the request.Field(String fieldName, SolrParams q)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SchemaResponse.FieldResponsecreateResponse(SolrClient client)Create a new SolrResponse to hold the response from the server- 
Methods inherited from class org.apache.solr.client.solrj.request.schema.AbstractSchemaRequestgetParams, getRequestType
 - 
Methods inherited from class org.apache.solr.client.solrj.SolrRequestaddHeader, getBasePath, getBasicAuthPassword, getBasicAuthUser, getCollection, getContentStreams, getContentWriter, getHeaders, getMethod, getPath, getPreferredNodes, getQueryParams, getResponseParser, getStreamingResponseCallback, getUserPrincipal, process, process, setBasePath, setBasicAuthCredentials, setMethod, setPath, setPreferredNodes, setQueryParams, setResponseParser, setStreamingResponseCallback, setUseBinaryV2, setUserPrincipal, setUseV2
 
- 
 
- 
- 
- 
Constructor Detail- 
Fieldpublic Field(String fieldName) Creates a new instance of the request.- Parameters:
- fieldName- the name of the field for which the definition is to be retrieved
 
 - 
Fieldpublic Field(String fieldName, SolrParams q) 
 
- 
 - 
Method Detail- 
createResponseprotected SchemaResponse.FieldResponse createResponse(SolrClient client) Description copied from class:SolrRequestCreate a new SolrResponse to hold the response from the server- Specified by:
- createResponsein class- SolrRequest<SchemaResponse.FieldResponse>
- Parameters:
- client- the- SolrClientthe request will be sent to
 
 
- 
 
-