get Limited Versions Target

@Query(value = ""SELECT DISTINCT " + APP_VERSION_KEY + " FROM " + PERFORMANCE_ANALYTICS_KEY + " WHERE " + APPLICATION_IDENTIFIER_KEY + "=:" + APPLICATION_IDENTIFIER_KEY + " AND " + PLATFORM_KEY + "=:" + PLATFORM_KEY + " AND " + PERFORMANCE_ANALYTIC_TYPE_KEY + "=:#{#" + PERFORMANCE_ANALYTIC_TYPE_KEY + ".name()}" + " LIMIT " + MAX_VERSION_SAMPLES", nativeQuery = true )
abstract fun getLimitedVersionsTarget(@Param(value = "application_id") applicationId: String, @Param(value = "platform") platform: String, @Param(value = "performance_analytic_type") type: PerformanceAnalytic.PerformanceAnalyticType): List<String>

Method to get all the available versions target for a specific analytic limited for the chart data presentation

Return

all the available versions target as List of String

Parameters

applicationId

The application identifier related to the performance data collected

platform

The platform related to the performance data collected

type

The specific performance data to retrieve