java.lang.Object
org.apache.drill.exec.store.openTSDB.Util

public class Util extends Object
  • Constructor Details

    • Util

      public Util()
  • Method Details

    • fromRowData

      public static Map<String,String> fromRowData(String rowData)
      Parse FROM parameters to Map representation
      Parameters:
      rowData - with this syntax (metric=warp.speed.test)
      Returns:
      Map with params key: metric, value: warp.speed.test
    • getValidTableName

      public static String getValidTableName(String name)
      Parameters:
      name - Metric name
      Returns:
      Valid metric name
    • isTableNameValid

      public static boolean isTableNameValid(String name)
      Parameters:
      name - Metric name
      Returns:
      true if name is valid