returns the estimated number of blocks in the materialized table . it does not include the one-time cost of materializing the records . concode_field_sep Plan srcplan concode_elem_sep Transaction tx concode_field_sep Schema schema concode_elem_sep int distinctValues concode_elem_sep int recordsOutput concode_elem_sep Scan open
int function ( ) { TableInfo loc0 = new TableInfo ( "srini_string" , srcplan . schema ( ) ) ; double loc1 = ( double ) ( BLOCK_SIZE / loc0 . recordLength ( ) ) ; return ( int ) Math . ceil ( srcplan . recordsOutput ( ) / loc1 ) ; }