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