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 StringCATEGORYstatic StringDATASOURCEstatic StringGROUP_IDstatic StringIDstatic StringINTERVALstatic StringPARTITIONstatic StringPARTITIONING_TYPEstatic StringSTATUSstatic StringSTREAMstatic StringTAGSstatic StringTASK_IDstatic StringTASK_INGESTION_MODEstatic StringTASK_STATUSstatic StringTASK_TYPEstatic StringTYPEstatic StringWORKER_VERSION
-
Constructor Summary
Constructors Constructor Description DruidMetrics()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intfindNumComplexAggs(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)
-
-