Class AssigneeAndCandidateGroupsReaderES
java.lang.Object
io.camunda.optimize.service.db.es.reader.AssigneeAndCandidateGroupsReaderES
- All Implemented Interfaces:
AssigneeAndCandidateGroupsReader
@Component
@Conditional(io.camunda.optimize.service.util.configuration.condition.ElasticSearchCondition.class)
public class AssigneeAndCandidateGroupsReaderES
extends Object
implements AssigneeAndCandidateGroupsReader
-
Field Summary
Fields inherited from interface io.camunda.optimize.service.db.reader.AssigneeAndCandidateGroupsReader
COMPOSITE_AGG, NESTED_USER_TASKS_AGG, TERMS_AGG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconsumeAssigneesInBatches(String engineAlias, Consumer<List<String>> assigneeBatchConsumer, int batchSize) voidconsumeCandidateGroupsInBatches(String engineAlias, Consumer<List<String>> candidateGroupBatchConsumer, int batchSize) voidconsumeUserTaskFieldTermsInBatches(String indexName, co.elastic.clients.elasticsearch._types.query_dsl.Query filterQuery, String fieldName, Consumer<List<String>> termBatchConsumer, int batchSize) voidconsumeUserTaskFieldTermsInBatches(String indexName, String termField, String termValue, String userTaskFieldName, Consumer<List<String>> termBatchConsumer, int batchSize) getAssigneeIdsForProcess(Map<String, Set<String>> definitionKeyToTenantsMap) getCandidateGroupIdsForProcess(Map<String, Set<String>> definitionKeyToTenantsMap) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.camunda.optimize.service.db.reader.AssigneeAndCandidateGroupsReader
consumeUserTaskFieldTermsInBatches, getUserTaskFieldPath
-
Constructor Details
-
AssigneeAndCandidateGroupsReaderES
-
-
Method Details
-
consumeAssigneesInBatches
public void consumeAssigneesInBatches(String engineAlias, Consumer<List<String>> assigneeBatchConsumer, int batchSize) - Specified by:
consumeAssigneesInBatchesin interfaceAssigneeAndCandidateGroupsReader
-
consumeCandidateGroupsInBatches
public void consumeCandidateGroupsInBatches(String engineAlias, Consumer<List<String>> candidateGroupBatchConsumer, int batchSize) - Specified by:
consumeCandidateGroupsInBatchesin interfaceAssigneeAndCandidateGroupsReader
-
getAssigneeIdsForProcess
- Specified by:
getAssigneeIdsForProcessin interfaceAssigneeAndCandidateGroupsReader
-
getCandidateGroupIdsForProcess
public Set<String> getCandidateGroupIdsForProcess(Map<String, Set<String>> definitionKeyToTenantsMap) - Specified by:
getCandidateGroupIdsForProcessin interfaceAssigneeAndCandidateGroupsReader
-
getUserTaskFieldTerms
public Set<String> getUserTaskFieldTerms(String userTaskFieldName, Map<String, Set<String>> definitionKeyToTenantsMap) - Specified by:
getUserTaskFieldTermsin interfaceAssigneeAndCandidateGroupsReader
-
consumeUserTaskFieldTermsInBatches
public void consumeUserTaskFieldTermsInBatches(String indexName, String termField, String termValue, String userTaskFieldName, Consumer<List<String>> termBatchConsumer, int batchSize) - Specified by:
consumeUserTaskFieldTermsInBatchesin interfaceAssigneeAndCandidateGroupsReader
-
consumeUserTaskFieldTermsInBatches
-