public class ContentStreamUpdateRequest extends AbstractUpdateRequest
ContentStream to a Solr Cell or some
other handler that takes ContentStreams (CSV)
See http://wiki.apache.org/solr/ExtractingRequestHandlerAbstractUpdateRequest.ACTIONSolrRequest.METHOD| Modifier and Type | Field and Description |
|---|---|
(package private) java.util.List<ContentStream> |
contentStreams |
commitWithin, params| Constructor and Description |
|---|
ContentStreamUpdateRequest(java.lang.String url) |
| Modifier and Type | Method and Description |
|---|---|
void |
addContentStream(ContentStream contentStream)
Add a
ContentStream to getContentStreams() |
void |
addFile(java.io.File file)
Add a File to the
ContentStreams. |
java.util.Collection<ContentStream> |
getContentStreams() |
getAction, getCommitWithin, getParams, isWaitFlush, isWaitSearcher, process, rollback, setAction, setAction, setAction, setCommitWithin, setParam, setParams, setWaitFlush, setWaitSearchergetMethod, getPath, getResponseParser, setMethod, setPath, setResponseParserjava.util.List<ContentStream> contentStreams
public ContentStreamUpdateRequest(java.lang.String url)
url - The URL to send the ContentStream to in Solr.public java.util.Collection<ContentStream> getContentStreams() throws java.io.IOException
getContentStreams in class SolrRequestjava.io.IOExceptionpublic void addFile(java.io.File file)
throws java.io.IOException
ContentStreams.file - The File to add.java.io.IOException - if there was an error with the file.getContentStreams(),
ContentStreamBase.FileStreampublic void addContentStream(ContentStream contentStream)
ContentStream to getContentStreams()contentStream - The ContentStream