Class SchemaRequest.UniqueKey
- java.lang.Object
-
- org.apache.solr.client.solrj.SolrRequest<T>
-
- org.apache.solr.client.solrj.request.schema.AbstractSchemaRequest<SchemaResponse.UniqueKeyResponse>
-
- org.apache.solr.client.solrj.request.schema.SchemaRequest.UniqueKey
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- SchemaRequest
public static class SchemaRequest.UniqueKey extends AbstractSchemaRequest<SchemaResponse.UniqueKeyResponse>
Schema API request that retrieves the field name that is defined as the uniqueKey for the index of the specified collection.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.solr.client.solrj.SolrRequest
SolrRequest.METHOD
-
-
Field Summary
-
Fields inherited from class org.apache.solr.client.solrj.SolrRequest
SUPPORTED_METHODS, useBinaryV2, usev2
-
-
Constructor Summary
Constructors Constructor Description UniqueKey()
UniqueKey(SolrParams q)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SchemaResponse.UniqueKeyResponse
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
-
Methods inherited from class org.apache.solr.client.solrj.SolrRequest
getBasePath, getBasicAuthPassword, getBasicAuthUser, getCollection, getContentStreams, getContentWriter, getMethod, getPath, getQueryParams, getResponseParser, getStreamingResponseCallback, getUserPrincipal, process, process, setBasePath, setBasicAuthCredentials, setMethod, setPath, setQueryParams, setResponseParser, setStreamingResponseCallback, setUseBinaryV2, setUserPrincipal, setUseV2
-
-
-
-
Constructor Detail
-
UniqueKey
public UniqueKey()
-
UniqueKey
public UniqueKey(SolrParams q)
-
-
Method Detail
-
createResponse
protected SchemaResponse.UniqueKeyResponse 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.UniqueKeyResponse>
- Parameters:
client
- theSolrClient
the request will be sent to
-
-