add several rs wrappers for new partition functionality