parallelism 是作业的并行度,priority 是作业优先级,每次 run() 相当于提交一个 job,可以参考这里的参数说明 https://docs.dolphindb.cn/zh/help/FunctionsandCommands/FunctionReferences/g/getConsoleJobs.html?highlight=parallelism
更详细的说明请参考:
https://github.com/dolphindb/api-cplusplus/blob/release200/README_CN.md#754-使用blockreadersp对象分段读取表数据
BlockReaderSP 的示例代码里,priority=4 和 parallelism=2 这两个 magic number 具体代表什么?文档里找不到。
我理解,parallelism 可能是并行读取多个分区用的?这两个参数的取值范围通常是多少?
parallelism 是作业的并行度,priority 是作业优先级,每次 run() 相当于提交一个 job,可以参考这里的参数说明 https://docs.dolphindb.cn/zh/help/FunctionsandCommands/FunctionReferences/g/getConsoleJobs.html?highlight=parallelism
更详细的说明请参考: