ContentStreamLoader (Solr 3.6.2 API)
Keywords: org.apache.solr.handler.ContentStreamLoader class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.solr.handler
Class ContentStreamLoader

    java.lang.Object
      org.apache.solr.handler.ContentStreamLoader

Direct Known Subclasses:
  ExtractingDocumentLoader

    public abstract class ContentStreamLoader

extends Object

Load a `ContentStream` into Solr

Field Summary
`protected String` | `errHeader`

Constructor Summary
`ContentStreamLoader()`

Method Summary
`String` | `getErrHeader()`
`abstract void` | `load(SolrQueryRequest req, SolrQueryResponse rsp, ContentStream stream)` Loaders are responsible for closing the stream
`void` | `setErrHeader(String errHeader)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### errHeader

    protected String errHeader

Constructor Detail

### ContentStreamLoader

    public ContentStreamLoader()

Method Detail

### getErrHeader

    public String getErrHeader()

### setErrHeader

    public void setErrHeader(String errHeader)

### load

    public abstract void load(SolrQueryRequest req,
                              SolrQueryResponse rsp,
                              ContentStream stream)
                       throws Exception

  Loaders are responsible for closing the stream

  Parameters:
    `req` - The input `SolrQueryRequest`
    `rsp` - The response, in case the Loader wishes to add anything
    `stream` - The `ContentStream` to add
  Throws:
    `Exception`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD