presto-raptor-legacy/src/main/java/io/prestosql/plugin/raptor/legacy/storage/organization/CompactionSetCreator.java/CompactionSetCreator/CompactionSetCreator
class CompactionSetCreator:    public CompactionSetCreator(TemporalFunction temporalFunction, DataSize maxShardSize, long maxShardRows)
    {
        checkArgument(maxShardRows > 0, "maxShardRows must be > 0");

        this.temporalFunction = requireNonNull(temporalFunction, "temporalFunction is null");
        this.maxShardSize = requireNonNull(maxShardSize, "maxShardSize is null");
        this.maxShardRows = maxShardRows;
    }