public abstract class AbstractBulkIndexByScrollRequest<Self extends AbstractBulkIndexByScrollRequest<Self>> extends AbstractBulkByScrollRequest<Self>
TransportRequest.EmptySIZE_ALL_MATCHESheaders| Constructor and Description |
|---|
AbstractBulkIndexByScrollRequest() |
AbstractBulkIndexByScrollRequest(SearchRequest source) |
| Modifier and Type | Method and Description |
|---|---|
Script |
getScript()
Script to modify the documents before they are processed.
|
void |
readFrom(StreamInput in) |
protected void |
searchToString(StringBuilder b)
Append a short description of the search request to a StringBuilder.
|
Self |
setScript(Script script)
Script to modify the documents before they are processed.
|
void |
writeTo(StreamOutput out) |
createTask, getConsistency, getMaxRetries, getRequestsPerSecond, getRetryBackoffInitialTime, getSearchRequest, getSize, getTimeout, isAbortOnVersionConflict, isRefresh, self, setAbortOnVersionConflict, setConflicts, setConsistency, setMaxRetries, setRefresh, setRequestsPerSecond, setRetryBackoffInitialTime, setSize, setTimeout, validategetDescriptionremoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic AbstractBulkIndexByScrollRequest()
public AbstractBulkIndexByScrollRequest(SearchRequest source)
public Script getScript()
public Self setScript(@Nullable Script script)
public void readFrom(StreamInput in) throws IOException
readFrom in interface StreamablereadFrom in class AbstractBulkByScrollRequest<Self extends AbstractBulkIndexByScrollRequest<Self>>IOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamablewriteTo in class AbstractBulkByScrollRequest<Self extends AbstractBulkIndexByScrollRequest<Self>>IOExceptionprotected void searchToString(StringBuilder b)
AbstractBulkByScrollRequestsearchToString in class AbstractBulkByScrollRequest<Self extends AbstractBulkIndexByScrollRequest<Self>>Copyright © 2009–2017. All rights reserved.