Class SchemaRequest.DynamicField
java.lang.Object
org.apache.solr.client.solrj.SolrRequest<SchemaResponse.DynamicFieldResponse>
org.apache.solr.client.solrj.request.CollectionRequiringSolrRequest<SchemaResponse.DynamicFieldResponse>
org.apache.solr.client.solrj.request.schema.AbstractSchemaRequest<SchemaResponse.DynamicFieldResponse>
org.apache.solr.client.solrj.request.schema.SchemaRequest.DynamicField
- All Implemented Interfaces:
Serializable
- Enclosing class:
SchemaRequest
public static class SchemaRequest.DynamicField
extends AbstractSchemaRequest<SchemaResponse.DynamicFieldResponse>
Schema API request that lists the dynamic field definition for the specified field contained in
the schema.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.solr.client.solrj.SolrRequest
SolrRequest.ApiVersion, SolrRequest.METHOD, SolrRequest.SolrClientContext, SolrRequest.SolrRequestType -
Field Summary
Fields inherited from class org.apache.solr.client.solrj.SolrRequest
SUPPORTED_METHODS -
Constructor Summary
ConstructorsConstructorDescriptionDynamicField(String dynamicFieldName) Creates a new instance of the class.DynamicField(String dynamicFieldName, SolrParams q) -
Method Summary
Modifier and TypeMethodDescriptionprotected SchemaResponse.DynamicFieldResponsecreateResponse(NamedList<Object> namedList) Create a new SolrResponse to hold the response from the server.Methods inherited from class org.apache.solr.client.solrj.request.schema.AbstractSchemaRequest
getParamsMethods inherited from class org.apache.solr.client.solrj.request.CollectionRequiringSolrRequest
requiresCollectionMethods inherited from class org.apache.solr.client.solrj.SolrRequest
addHeader, addHeaders, getApiVersion, getBasicAuthPassword, getBasicAuthUser, getCollection, getContentStreams, getContentWriter, getHeaders, getMethod, getPath, getPreferredNodes, getQueryParams, getRequestType, getResponseParser, getStreamingResponseCallback, getUserPrincipal, process, process, processWithBaseUrl, setBasicAuthCredentials, setMethod, setPath, setPreferredNodes, setQueryParams, setRequestType, setResponseParser, setStreamingResponseCallback, setUserPrincipal
-
Constructor Details
-
DynamicField
Creates a new instance of the class.- Parameters:
dynamicFieldName- the name of the dynamic field for which the definition is to be retrieved
-
DynamicField
-
-
Method Details
-
createResponse
Description copied from class:SolrRequestCreate a new SolrResponse to hold the response from the server. If the response extendsSolrResponse, then there's no need to use the arguments, asSolrResponse.setResponse(NamedList)will be called right after this method.- Specified by:
createResponsein classSolrRequest<SchemaResponse.DynamicFieldResponse>- Parameters:
namedList- fromSolrClient.request(SolrRequest, String).
-