implement scan operator, sp_segment: add getPageIteratorStart and
getPageIteratorEnd