public final class DeleteStream extends UpdateStream implements Expressible
TupleStream.IgnoreExceptionMapWriter.EntryWriterBATCH_INDEXED_FIELD_NAME| 构造器和说明 |
|---|
DeleteStream(StreamExpression expression,
StreamFactory factory) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected boolean |
defaultPruneVersionField()
DeleteStream returns false so that Optimistic Concurrency Constraints are
respected by default when using this stream to wrap a SearchStream query. |
Explanation |
toExplanation(StreamFactory factory)
Returns an explanation about the stream object
|
protected void |
uploadBatchToCollection(List<SolrInputDocument> documentBatch)
Overrides implementation to extract the
"id" and "_version_"
(if included) from each document and use that information to construct a "Delete By Id" request. |
children, close, getCloudSolrClient, getCollectionName, getStreamSort, open, read, setStreamContext, toExpressiongetCost, getShards, getShards, getStreamNodeId, writeMapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoExpression_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr, _sizepublic DeleteStream(StreamExpression expression, StreamFactory factory) throws IOException
IOExceptionpublic Explanation toExplanation(StreamFactory factory) throws IOException
ExpressibletoExplanation 在接口中 ExpressibletoExplanation 在类中 UpdateStreamfactory - Stream factory for this, contains information about the function nameIOException - throw on any errorprotected boolean defaultPruneVersionField()
DeleteStream returns false so that Optimistic Concurrency Constraints are
respected by default when using this stream to wrap a SearchStream query.defaultPruneVersionField 在类中 UpdateStreamprotected void uploadBatchToCollection(List<SolrInputDocument> documentBatch) throws IOException
"id" and "_version_"
(if included) from each document and use that information to construct a "Delete By Id" request.
Any other fields (ie: Tuple values) are ignored.uploadBatchToCollection 在类中 UpdateStreamIOExceptionCopyright © 2006–2022 The Apache Software Foundation. All rights reserved.