Class ServiceImpl
java.lang.Object
org.apache.drill.exec.store.openTSDB.client.services.ServiceImpl
- All Implemented Interfaces:
Service
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionUsed for getting all metrics names from openTSDBgetAllMetrics
(Map<String, String> queryParams) Used for getting all Metrics from openTSDB.getUnfixedColumns
(Map<String, String> queryParam) Used for getting all non fixed columns based on tags from openTSDB Must be present required params: metric, start, aggregator
-
Constructor Details
-
ServiceImpl
-
-
Method Details
-
getAllMetrics
Description copied from interface:Service
Used for getting all Metrics from openTSDB. Must be present required params: metric, start, aggregator- Specified by:
getAllMetrics
in interfaceService
- Parameters:
queryParams
- parameters for the API request- Returns:
- Set
all metrics
-
getAllMetricNames
Description copied from interface:Service
Used for getting all metrics names from openTSDB- Specified by:
getAllMetricNames
in interfaceService
- Returns:
- Set
metric names
-
getUnfixedColumns
Description copied from interface:Service
Used for getting all non fixed columns based on tags from openTSDB Must be present required params: metric, start, aggregator- Specified by:
getUnfixedColumns
in interfaceService
- Parameters:
queryParam
- parameters for the API request- Returns:
- List
columns based on tags
-