long function ( byte [ ] arg0 ) { if ( sizeMap == null ) { return ( long ) avgRowSizeInBytes * DEFAULT_ROW_COUNT ; } else { Long loc0 = sizeMap . get ( arg0 ) ; if ( loc0 == null ) { logger . debug ( "srini_string" + Arrays . toString ( arg0 ) ) ; return 0 ; } else { return loc0 ; } } }
returns size of given region in bytes . returns 0 if region was not found . concode_field_sep long DEFAULT_ROW_COUNT concode_elem_sep int DEFAULT_SAMPLE_SIZE concode_elem_sep Map<byte[],Long> sizeMap concode_elem_sep int avgRowSizeInBytes concode_elem_sep int colsPerRow concode_elem_sep org.slf4j.Logger logger concode_elem_sep String DRILL_EXEC_HBASE_SCAN_SAMPLE_ROWS_COUNT concode_field_sep int getColsPerRow concode_elem_sep int getAvgRowSizeInBytes concode_elem_sep int rowsToSample concode_elem_sep boolean enabled