Class DashboardReaderES
java.lang.Object
io.camunda.optimize.service.db.es.reader.DashboardReaderES
- All Implemented Interfaces:
DashboardReader
@Component
@Conditional(io.camunda.optimize.service.util.configuration.condition.ElasticSearchCondition.class)
public class DashboardReaderES
extends Object
implements DashboardReader
-
Constructor Summary
ConstructorsConstructorDescriptionDashboardReaderES(OptimizeElasticsearchClient esClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptiongetDashboard(String dashboardId) longgetDashboards(Set<String> dashboardIds) getDashboardsForCollection(String collectionId) getDashboardsForReport(String reportId)
-
Constructor Details
-
DashboardReaderES
public DashboardReaderES(OptimizeElasticsearchClient esClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
getDashboardCount
public long getDashboardCount()- Specified by:
getDashboardCountin interfaceDashboardReader
-
getDashboard
- Specified by:
getDashboardin interfaceDashboardReader
-
getDashboards
- Specified by:
getDashboardsin interfaceDashboardReader
-
getDashboardsForCollection
- Specified by:
getDashboardsForCollectionin interfaceDashboardReader
-
getDashboardsForReport
- Specified by:
getDashboardsForReportin interfaceDashboardReader
-