Class UpdateCorePropertyRequest

  • All Implemented Interfaces:
    Serializable

    public class UpdateCorePropertyRequest
    extends org.apache.solr.client.solrj.SolrRequest<org.apache.solr.client.solrj.response.SolrResponseBase>
    SolrRequest to update the value of a core property
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.solr.client.solrj.SolrRequest

        org.apache.solr.client.solrj.SolrRequest.METHOD
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private String _key  
      private String _value  
      • Fields inherited from class org.apache.solr.client.solrj.SolrRequest

        SUPPORTED_METHODS, useBinaryV2, usev2
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.apache.solr.client.solrj.response.SolrResponseBase createResponse​(org.apache.solr.client.solrj.SolrClient client)  
      Collection<org.apache.solr.common.util.ContentStream> getContentStreams()  
      org.apache.solr.common.params.SolrParams getParams()  
      • Methods inherited from class org.apache.solr.client.solrj.SolrRequest

        addHeader, getBasePath, getBasicAuthPassword, getBasicAuthUser, getCollection, getContentWriter, getHeaders, getMethod, getPath, getQueryParams, getResponseParser, getStreamingResponseCallback, getUserPrincipal, process, process, setBasePath, setBasicAuthCredentials, setMethod, setPath, setQueryParams, setResponseParser, setStreamingResponseCallback, setUseBinaryV2, setUserPrincipal, setUseV2
    • Constructor Detail

      • UpdateCorePropertyRequest

        public UpdateCorePropertyRequest​(String key,
                                         String value)
        Default constructor
        Parameters:
        key - The property key to update
        value - The new value to set
    • Method Detail

      • getParams

        public org.apache.solr.common.params.SolrParams getParams()
        Specified by:
        getParams in class org.apache.solr.client.solrj.SolrRequest<org.apache.solr.client.solrj.response.SolrResponseBase>
      • getContentStreams

        public Collection<org.apache.solr.common.util.ContentStream> getContentStreams()
                                                                                throws IOException
        Overrides:
        getContentStreams in class org.apache.solr.client.solrj.SolrRequest<org.apache.solr.client.solrj.response.SolrResponseBase>
        Throws:
        IOException
      • createResponse

        protected org.apache.solr.client.solrj.response.SolrResponseBase createResponse​(org.apache.solr.client.solrj.SolrClient client)
        Specified by:
        createResponse in class org.apache.solr.client.solrj.SolrRequest<org.apache.solr.client.solrj.response.SolrResponseBase>