110111112113114115116117
} catch (ExecException ee) { throw ee; } catch (Exception e) { int errCode = 2106; String msg = "Error while computing min in " + this.getClass().getSimpleName(); throw new ExecException(msg, errCode, PigException.BUG, e); } }
245246247248249250251252253254255
sawNonNull = true; sum += d; }catch(RuntimeException exp) { int errCode = 2103; String msg = "Problem while computing sum of doubles."; throw new ExecException(msg, errCode, PigException.BUG, exp); } } if(sawNonNull) { return new Double(sum);
304305306307308309310311
} catch (ExecException ee) { throw ee; } catch (Exception e) { int errCode = 2106; String msg = "Error while computing average in " + this.getClass().getSimpleName(); throw new ExecException(msg, errCode, PigException.BUG, e); } }
123124125126127128129130131
140141142143144145146147148
169170171172173174175176
4344454647484950
} catch (ExecException ee) { throw ee; } catch (Exception e) { int errCode = 2106; String msg = "Error while computing sum in " + this.getClass().getSimpleName(); throw new ExecException(msg, errCode, PigException.BUG, e); } }
145146147148149150151152153154155
sawNonNull = true; sum += l; }catch(RuntimeException exp) { int errCode = 2103; String msg = "Problem while computing sum of longs."; throw new ExecException(msg, errCode, PigException.BUG, exp); } } if(sawNonNull) {
178179180181182183184185186187188
sawNonNull = true; sum += i; }catch(RuntimeException exp) { int errCode = 2103; String msg = "Problem while computing sum of ints."; throw new ExecException(msg, errCode, PigException.BUG, exp); } } if(sawNonNull) {
212213214215216217218219