@Internal public class ESDeleteAllChangesTask extends AbstractESDeleteByQueryTask
SCROLL_KEEP_ALIVE, SCROLL_SIZE
Constructor and Description |
---|
ESDeleteAllChangesTask(HibernateHandle handle,
org.elasticsearch.client.Client client) |
Modifier and Type | Method and Description |
---|---|
Optional<JournalEntry> |
convertToJournalEntry(JournalIdentifier journalId)
Convert to journal entry.
|
protected void |
delete(ESIndexRequestProcessor processor,
org.elasticsearch.search.SearchHit hit,
long order) |
protected org.elasticsearch.client.Client |
getClient() |
String |
getDescription()
A description of the task that can be presented to the user via the UI.
|
protected org.elasticsearch.index.query.QueryBuilder |
getQuery() |
protected String[] |
getTypes() |
getOrder, perform, setOrder
public ESDeleteAllChangesTask(HibernateHandle handle, org.elasticsearch.client.Client client)
public Optional<JournalEntry> convertToJournalEntry(JournalIdentifier journalId)
ConvertibleToJournalEntry
journalId
- journal identifierpublic String getDescription()
IndexTask
protected org.elasticsearch.client.Client getClient()
getClient
in class AbstractESDeleteByQueryTask
protected org.elasticsearch.index.query.QueryBuilder getQuery()
getQuery
in class AbstractESDeleteByQueryTask
protected String[] getTypes()
getTypes
in class AbstractESDeleteByQueryTask
protected void delete(ESIndexRequestProcessor processor, org.elasticsearch.search.SearchHit hit, long order)
delete
in class AbstractESDeleteByQueryTask
Copyright © 2003–2016 Atlassian. All rights reserved.