如何设置每个分区缓存的行数

How to set rows per partition cache

Phantom DSL 中有没有办法指定每个分区缓存的行数?我能做到:

.create.ifNotExists().with(caching eqs Cache.RowsOnly())

但我找不到指定缓存条件的方法,例如:所有键 + 每个分区 500 行。

table
  .create.ifNotExists()
  .with(
    caching eqs Cache.RowsOnly().rows_per_partition(CacheStrategies.ALL)
  )