get Performance Analytic By Date

@Query(value = ""SELECT * FROM " + PERFORMANCE_ANALYTICS_KEY + " WHERE " + APPLICATION_IDENTIFIER_KEY + "=:" + APPLICATION_IDENTIFIER_KEY + " AND " + APP_VERSION_KEY + "=:" + APP_VERSION_KEY + " AND " + PLATFORM_KEY + "=:#{#" + PLATFORM_KEY + ".name()}" + " AND " + PERFORMANCE_ANALYTIC_TYPE_KEY + "=:#{#" + PERFORMANCE_ANALYTIC_TYPE_KEY + ".name()}" + " AND " + CREATION_DATE_KEY + "=:" + CREATION_DATE_KEY", nativeQuery = true )
abstract fun getPerformanceAnalyticByDate(@Param(value = "application_id") applicationId: String, @Param(value = "app_version") appVersion: String, @Param(value = "platform") platform: Platform, @Param(value = "performance_analytic_type") type: PerformanceAnalytic.PerformanceAnalyticType, @Param(value = "creation_date") creationDate: Long): PerformanceAnalytic

Method to retrieve an analytic by date

Return

analytic as PerformanceAnalytic

Parameters

applicationId

The application identifier related to the performance data collected

appVersion

The application version related to the performance data collected

platform

The platform related to the performance data collected

type

The specific performance data to retrieve

creationDate

The filter date to retrieve the analytic