Class Util
java.lang.Object
org.apache.drill.exec.store.openTSDB.Util
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfromRowData
(String rowData) Parse FROM parameters to Map representationstatic String
getValidTableName
(String name) static boolean
isTableNameValid
(String name)
-
Constructor Details
-
Util
public Util()
-
-
Method Details
-
fromRowData
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
- Parameters:
name
- Metric name- Returns:
- Valid metric name
-
isTableNameValid
- Parameters:
name
- Metric name- Returns:
- true if name is valid
-