How taskQuery paging exclude some taskId?

 TaskQuery taskQuery = taskService.createTaskQuery()
                    .processDefinitionId("test_model:123")
                    .taskIdNotIn() // like this ???
                    .listPage(1,100)

my flowable version:

<dependency>
    <groupId>org.flowable</groupId>
    <artifactId>flowable-spring-boot-starter</artifactId>
    <version>6.8.0</version>
</dependency>

One of the possibilities:

taskService.createNativeTaskQuery().sql("...").listPage(1,100)

What’s the use case for such a query? It could be a slow query, if your table has hundred of thousands of tasks.