public class UpdateByQueryDocumentRequest extends CrossClusterRequest implements DocumentRequest<UpdateByQueryDocumentResponse>
| Constructor and Description |
|---|
UpdateByQueryDocumentRequest(Query query,
JSONObject scriptJSONObject,
java.lang.String... indexNames) |
| Modifier and Type | Method and Description |
|---|---|
UpdateByQueryDocumentResponse |
accept(DocumentRequestExecutor documentRequestExecutor) |
java.lang.String[] |
getIndexNames() |
Query |
getQuery() |
JSONObject |
getScriptJSONObject() |
boolean |
isRefresh() |
boolean |
isWaitForCompletion() |
void |
setRefresh(boolean refresh) |
void |
setWaitForCompletion(boolean waitForCompletion) |
getConnectionId, isPreferLocalCluster, setConnectionId, setPreferLocalClusterpublic UpdateByQueryDocumentRequest(Query query, JSONObject scriptJSONObject, java.lang.String... indexNames)
public UpdateByQueryDocumentResponse accept(DocumentRequestExecutor documentRequestExecutor)
accept in interface DocumentRequest<UpdateByQueryDocumentResponse>public java.lang.String[] getIndexNames()
public Query getQuery()
public JSONObject getScriptJSONObject()
public boolean isRefresh()
public boolean isWaitForCompletion()
public void setRefresh(boolean refresh)
public void setWaitForCompletion(boolean waitForCompletion)