private Pair<TSDataType, Object> analyticValue(String value) {
    if (value.startsWith("\"") && value.endsWith("\"")) {
      // String
      return new Pair<>(
          TSDataType.TEXT,
          new Binary[] {
            new Binary(value.substring(1, value.length() - 1).getBytes(StandardCharsets.UTF_8))
          });
    } else if (value.equalsIgnoreCase("t")
        || value.equalsIgnoreCase("true")
        || value.equalsIgnoreCase("f")
        || value.equalsIgnoreCase("false")) {
      // boolean
      return new Pair<>(
          TSDataType.BOOLEAN,
          new boolean[] {value.equalsIgnoreCase("t") || value.equalsIgnoreCase("true")});
    } else if (value.endsWith("f")) {
      // float
      return new Pair<>(
          TSDataType.FLOAT, new float[] {Float.parseFloat(value.substring(0, value.length() - 1))});
    } else if (value.endsWith("i32")) {
      // int
      return new Pair<>(
          TSDataType.INT32, new int[] {Integer.parseInt(value.substring(0, value.length() - 3))});
    } else if (value.endsWith("u") || value.endsWith("i")) {
      // long
      return new Pair<>(
          TSDataType.INT64, new long[] {Long.parseLong(value.substring(0, value.length() - 1))});
    } else {
      // double
      return new Pair<>(TSDataType.DOUBLE, new double[] {Double.parseDouble(value)});
    }
  }
The Line payload formatter. myTable,tag1=value1,tag2=value2 attr1=value1,attr2=value2
fieldKey="fieldValue" 1740109006000 \n myTable,tag1=value1,tag2=value2 fieldKey="fieldValue"
1740109006000
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/protocol/mqtt/LinePayloadFormatter.java