protected static TSDataType getType(String typeStr) {
    try {
      return TSDataType.valueOf(typeStr);
    } catch (Exception e) {
      return null;
    }
  }
return the TSDataType

@param typeStr
@return
iotdb-client/cli/src/main/java/org/apache/iotdb/tool/data/AbstractDataTool.java