this method opens a sort plan for the specified plan . the sort plan ensures that the underlying records will be appropriately grouped . concode_field_sep Plan p concode_elem_sep Collection<String> groupfields concode_elem_sep Collection<AggregationFn> aggfns concode_elem_sep Schema sch concode_field_sep Schema schema concode_elem_sep Iterator<Plan> iterator concode_elem_sep long blocksAccessed concode_elem_sep long distinctValues concode_elem_sep long recordsOutput
Scan function ( ) { Scan loc0 = p . open ( ) ; return new GroupByScan ( loc0 , groupfields , aggfns ) ; }