public class BinaryRequestWriter extends RequestWriter
RequestWriter
Modifier and Type | Class and Description |
---|---|
static class |
BinaryRequestWriter.BAOS |
RequestWriter.ContentWriter, RequestWriter.StringPayloadContentWriter
Constructor and Description |
---|
BinaryRequestWriter() |
Modifier and Type | Method and Description |
---|---|
Collection<ContentStream> |
getContentStreams(SolrRequest req) |
RequestWriter.ContentWriter |
getContentWriter(SolrRequest req)
Use this to do a push writing instead of pull.
|
String |
getUpdateContentType() |
void |
write(SolrRequest request,
OutputStream os) |
getPath, isEmpty, isNull, isNull
public RequestWriter.ContentWriter getContentWriter(SolrRequest req)
RequestWriter
RequestWriter.getContentStreams(SolrRequest)
is
invoked to do a pull write.getContentWriter
in class RequestWriter
public Collection<ContentStream> getContentStreams(SolrRequest req) throws IOException
getContentStreams
in class RequestWriter
IOException
public String getUpdateContentType()
getUpdateContentType
in class RequestWriter
public void write(SolrRequest request, OutputStream os) throws IOException
write
in class RequestWriter
IOException
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.