Package | Description |
---|---|
org.apache.solr.client.solrj |
Primary APIs for communicating with a Solr Server from a Java client.
|
org.apache.solr.client.solrj.impl |
Concrete implementations of client API classes.
|
org.apache.solr.client.solrj.request |
Convenience classes for dealing with various types of Solr requests.
|
org.apache.solr.client.solrj.util |
Utilities for Solr client applications.
|
org.apache.solr.common.util |
Common utility classes reused on both clients & server.
|
Modifier and Type | Method and Description |
---|---|
Collection<ContentStream> |
SolrRequest.getContentStreams()
Deprecated.
Please use
SolrRequest.getContentWriter(String) instead. |
Modifier and Type | Method and Description |
---|---|
Collection<ContentStream> |
BinaryRequestWriter.getContentStreams(SolrRequest req) |
Modifier and Type | Field and Description |
---|---|
protected ContentStream |
ConfigSetAdminRequest.Upload.stream |
Modifier and Type | Method and Description |
---|---|
Collection<ContentStream> |
UpdateRequest.getContentStreams() |
Collection<ContentStream> |
ConfigSetAdminRequest.Upload.getContentStreams() |
Collection<ContentStream> |
ContentStreamUpdateRequest.getContentStreams() |
Collection<ContentStream> |
RequestWriter.getContentStreams(SolrRequest req)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
ContentStreamUpdateRequest.addContentStream(ContentStream contentStream)
|
ConfigSetAdminRequest.Upload |
ConfigSetAdminRequest.Upload.setUploadStream(ContentStream stream)
Specify the ContentStream to upload.
|
Modifier and Type | Method and Description |
---|---|
static Collection<ContentStream> |
ClientUtils.toContentStreams(String str,
String contentType)
Take a string and make it an iterable ContentStream
|
Modifier and Type | Class and Description |
---|---|
class |
ContentStreamBase
Three concrete implementations for ContentStream - one for File/URL/String
|
static class |
ContentStreamBase.ByteArrayStream
Construct a
ContentStream from a File |
static class |
ContentStreamBase.FileStream
Construct a
ContentStream from a File |
static class |
ContentStreamBase.StringStream
Construct a
ContentStream from a String |
static class |
ContentStreamBase.URLStream
Construct a
ContentStream from a URL
This uses a URLConnection to get the content stream |
Modifier and Type | Method and Description |
---|---|
static ContentStream |
ContentStreamBase.create(RequestWriter requestWriter,
SolrRequest req) |
Modifier and Type | Method and Description |
---|---|
static List<CommandOperation> |
CommandOperation.readCommands(Iterable<ContentStream> streams,
NamedList resp) |
static List<CommandOperation> |
CommandOperation.readCommands(Iterable<ContentStream> streams,
NamedList resp,
Set<String> singletonCommands)
Read commands from request streams
|
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.