private void writeToChunkWriter(
      ChunkWriterImpl chunkWriter, long time, Object value, TSDataType dataType) {
    switch (dataType) {
      case INT32:
      case DATE:
        chunkWriter.write(time, (int) value);
        break;
      case INT64:
      case TIMESTAMP:
        chunkWriter.write(time, (long) value);
        break;
      case FLOAT:
        chunkWriter.write(time, (float) value);
        break;
      case DOUBLE:
        chunkWriter.write(time, (double) value);
        break;
      case BOOLEAN:
        chunkWriter.write(time, (boolean) value);
        break;
      case TEXT:
      case BLOB:
      case STRING:
        chunkWriter.write(time, (Binary) value);
        break;
      default:
        throw new UnSupportedDataTypeException(
            String.format("Data type %s is not supported.", dataType));
    }
  }
If the chunk point num is lower than this threshold, it will be deserialized into points,
default is 100
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/tools/TsFileSplitTool.java