Package org.apache.solr.cluster.api
Interface Resource
- 
 public interface ResourceA binary resource. The impl is agnostic of the content type
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static interfaceResource.Consumer
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidget(Resource.Consumer resourceConsumer)read a file/resource.Stringname()This is a full path.
 
- 
- 
- 
Method Detail- 
nameString name() This is a full path. e.g schema.xml , solrconfig.xml , lang/stopwords.txt etc
 - 
getvoid get(Resource.Consumer resourceConsumer) throws SolrException read a file/resource. The caller should consume the stream completely and should not hold a reference to this stream. This method closes the stream soon after the method returns- Parameters:
- resourceConsumer- This should be a full path. e.g schema.xml, solrconfig.xml, lang/stopwords.txt etc
- Throws:
- SolrException
 
 
- 
 
-