public final class JexlCategoryMetricUtils extends Object
EL.DefaultFunctions is used.| Modifier and Type | Field and Description |
|---|---|
static String |
JEXL_CATEGORY_ENTITY_TYPE |
static int |
JEXL_CATEGORY_METRIC_COUNT |
static String |
JEXL_CATEGORY_METRIC_NAME |
| Constructor and Description |
|---|
JexlCategoryMetricUtils() |
| Modifier and Type | Method and Description |
|---|---|
static EntityCountMetric |
getJexlCategoryMetric(String jexlScript)
This method parses the JEXL function category from the given JEXL script and returns the metric if the category is
present in
EL.DefaultFunctions |
public static final String JEXL_CATEGORY_METRIC_NAME
public static final int JEXL_CATEGORY_METRIC_COUNT
public static final String JEXL_CATEGORY_ENTITY_TYPE
@Nullable public static EntityCountMetric getJexlCategoryMetric(String jexlScript)
EL.DefaultFunctionsjexlScript - the JEXL script from which the JEXL function category will be parsedEntityCountMetric with the metric name and necessary tags representing a JEXL category metricCopyright © 2024 CDAP Licensed under the Apache License, Version 2.0.