Package org.apache.druid.query
Class DruidMetrics
- java.lang.Object
-
- org.apache.druid.query.DruidMetrics
-
public class DruidMetrics extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
CATEGORY
static String
DATASOURCE
static String
GROUP_ID
static String
ID
static String
INTERVAL
static String
PARTITION
static String
PARTITIONING_TYPE
static String
STATUS
static String
STREAM
static String
TAGS
static String
TASK_ID
static String
TASK_INGESTION_MODE
static String
TASK_STATUS
static String
TASK_TYPE
static String
TYPE
static String
WORKER_VERSION
-
Constructor Summary
Constructors Constructor Description DruidMetrics()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
findNumComplexAggs(List<AggregatorFactory> aggs)
static <T> QueryMetrics<?>
makeRequestMetrics(GenericQueryMetricsFactory queryMetricsFactory, QueryToolChest<T,Query<T>> toolChest, Query<T> query, String remoteAddr)
-
-
-
Field Detail
-
DATASOURCE
public static final String DATASOURCE
- See Also:
- Constant Field Values
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
INTERVAL
public static final String INTERVAL
- See Also:
- Constant Field Values
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
TASK_ID
public static final String TASK_ID
- See Also:
- Constant Field Values
-
GROUP_ID
public static final String GROUP_ID
- See Also:
- Constant Field Values
-
STATUS
public static final String STATUS
- See Also:
- Constant Field Values
-
TASK_INGESTION_MODE
public static final String TASK_INGESTION_MODE
- See Also:
- Constant Field Values
-
PARTITIONING_TYPE
public static final String PARTITIONING_TYPE
- See Also:
- Constant Field Values
-
TASK_TYPE
public static final String TASK_TYPE
- See Also:
- Constant Field Values
-
TASK_STATUS
public static final String TASK_STATUS
- See Also:
- Constant Field Values
-
STREAM
public static final String STREAM
- See Also:
- Constant Field Values
-
PARTITION
public static final String PARTITION
- See Also:
- Constant Field Values
-
TAGS
public static final String TAGS
- See Also:
- Constant Field Values
-
CATEGORY
public static final String CATEGORY
- See Also:
- Constant Field Values
-
WORKER_VERSION
public static final String WORKER_VERSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
findNumComplexAggs
public static int findNumComplexAggs(List<AggregatorFactory> aggs)
-
makeRequestMetrics
public static <T> QueryMetrics<?> makeRequestMetrics(GenericQueryMetricsFactory queryMetricsFactory, QueryToolChest<T,Query<T>> toolChest, Query<T> query, String remoteAddr)
-
-