java.lang.Object
org.apache.drill.exec.store.openTSDB.client.services.ServiceImpl
All Implemented Interfaces:
Service

public class ServiceImpl extends Object implements Service
  • Constructor Details

    • ServiceImpl

      public ServiceImpl(String connectionURL)
  • Method Details

    • getAllMetrics

      public Set<MetricDTO> getAllMetrics(Map<String,String> queryParams)
      Description copied from interface: Service
      Used for getting all Metrics from openTSDB. Must be present required params: metric, start, aggregator
      Specified by:
      getAllMetrics in interface Service
      Parameters:
      queryParams - parameters for the API request
      Returns:
      Set all metrics
    • getAllMetricNames

      public Set<String> getAllMetricNames()
      Description copied from interface: Service
      Used for getting all metrics names from openTSDB
      Specified by:
      getAllMetricNames in interface Service
      Returns:
      Set metric names
    • getUnfixedColumns

      public List<ColumnDTO> getUnfixedColumns(Map<String,String> queryParam)
      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 interface Service
      Parameters:
      queryParam - parameters for the API request
      Returns:
      List columns based on tags