private void check_Min_Value ( long l , int cIdx , int rowNumber , ParseWriter dout ) { if ( l <= Long . MIN_VALUE ) { String warning = "Orc Parser: Long.MIN_VALUE: " + l + " is found in column " + cIdx + " row " + rowNumber + " of stripe " + _cidx + ". This value is used for sentinel and will not be parsed correctly." ; dout . addError ( new ParseWriter . ParseErr ( warning , _cidx , rowNumber , - 2L ) ) ; } }
This method is written to check and make sure any value written to a column of type long is more than Long . MIN_VALUE . If this is not true a warning will be passed to the user .