float function ( ) { if ( splitEnd == splitStart ) { return 0.0f ; } else { return Math . min ( 1.0f , ( getPos ( ) - splitStart ) / ( float ) splitLen ) ; } }
returns the percentage of progress in processing the file . this will be represented as a float from 0 to 1 with 1 being 100 % completed . concode_field_sep long splitLen concode_elem_sep Logger LOG concode_elem_sep byte[] MAGIC concode_elem_sep long fileLen concode_elem_sep FSDataInputStream in concode_elem_sep long pos concode_elem_sep long splitEnd concode_elem_sep Configuration conf concode_elem_sep long splitStart concode_field_sep boolean next concode_elem_sep boolean isMagic concode_elem_sep long getPos concode_elem_sep BytesWritable createValue concode_elem_sep Text createKey concode_elem_sep void close