Class SchemaRequest.DynamicField
- java.lang.Object
-
- org.apache.solr.client.solrj.SolrRequest<T>
-
- 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:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.solr.client.solrj.SolrRequest
SolrRequest.METHOD, SolrRequest.SolrClientContext, SolrRequest.SolrRequestType
-
-
Field Summary
-
Fields inherited from class org.apache.solr.client.solrj.SolrRequest
SUPPORTED_METHODS, useBinaryV2, usev2
-
-
Constructor Summary
Constructors Constructor Description DynamicField(String dynamicFieldName)
Creates a new instance of the class.DynamicField(String dynamicFieldName, SolrParams q)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SchemaResponse.DynamicFieldResponse
createResponse(SolrClient client)
Create a new SolrResponse to hold the response from the server-
Methods inherited from class org.apache.solr.client.solrj.request.schema.AbstractSchemaRequest
getParams, getRequestType
-
Methods inherited from class org.apache.solr.client.solrj.SolrRequest
addHeader, getBasePath, getBasicAuthPassword, getBasicAuthUser, getCollection, getContentStreams, getContentWriter, getHeaders, getMethod, getPath, getQueryParams, getResponseParser, getStreamingResponseCallback, getUserPrincipal, process, process, setBasePath, setBasicAuthCredentials, setMethod, setPath, setQueryParams, setResponseParser, setStreamingResponseCallback, setUseBinaryV2, setUserPrincipal, setUseV2
-
-
-
-
Constructor Detail
-
DynamicField
public DynamicField(String dynamicFieldName)
Creates a new instance of the class.- Parameters:
dynamicFieldName
- the name of the dynamic field for which the definition is to be retrieved
-
DynamicField
public DynamicField(String dynamicFieldName, SolrParams q)
-
-
Method Detail
-
createResponse
protected SchemaResponse.DynamicFieldResponse createResponse(SolrClient client)
Description copied from class:SolrRequest
Create a new SolrResponse to hold the response from the server- Specified by:
createResponse
in classSolrRequest<SchemaResponse.DynamicFieldResponse>
- Parameters:
client
- theSolrClient
the request will be sent to
-
-