@Override public Object writeValue(long value) throws HiveException { ((SettableIntObjectInspector) this.objectInspector).set(this.obj, (int) value); return this.obj; }
@Override public Object writeValue(long value) throws HiveException { ((SettableIntObjectInspector) this.objectInspector).set(this.obj, (int) value); return this.obj; }
@Override public Object setValue(Object field, long value) throws HiveException { if (null == field) { field = initValue(null); } ((SettableIntObjectInspector) this.objectInspector).set(field, (int) value); return field; }
@Override public Object convert(Object input) { if (input == null) { return null; } try { return outputOI.set(r, PrimitiveObjectInspectorUtils.getInt(input, inputOI)); } catch (NumberFormatException e) { return null; } } }
@Override public Object setValue(Object field, long value) throws HiveException { if (null == field) { field = initValue(null); } ((SettableIntObjectInspector) this.objectInspector).set(field, (int) value); return field; }
@Override public Object writeValue(long value) throws HiveException { ((SettableIntObjectInspector) this.objectInspector).set(this.obj, (int) value); return this.obj; }
@Override public Object setValue(Object field, long value) throws HiveException { if (null == field) { field = initValue(null); } ((SettableIntObjectInspector) this.objectInspector).set(field, (int) value); return field; }
@Override public Object convert(Object input) { if (input == null) { return null; } try { return outputOI.set(r, PrimitiveObjectInspectorUtils.getInt(input, inputOI)); } catch (NumberFormatException e) { return null; } } }
@Override public Object convert(Object input) { if (input == null) { return null; } try { return outputOI.set(r, PrimitiveObjectInspectorUtils.getInt(input, inputOI)); } catch (NumberFormatException e) { return null; } } }
@Override public Object convert(Object input) { if (input == null) { return null; } try { return outputOI.set(r, PrimitiveObjectInspectorUtils.getInt(input, inputOI)); } catch (NumberFormatException e) { return null; } } }
@Override public Object convert(Object input) { if (input == null) { return null; } try { return outputOI.set(r, PrimitiveObjectInspectorUtils.getInt(input, inputOI)); } catch (NumberFormatException e) { return null; } } }
@Override public Object convert(Object input) { if (input == null) { return null; } try { return outputOI.set(r, PrimitiveObjectInspectorUtils.getInt(input, inputOI)); } catch (NumberFormatException e) { return null; } } }
@Override public Object convert(Object input) { if (input == null) { return null; } Object r = outputOI.create(0); try { return outputOI.set(r, PrimitiveObjectInspectorUtils.getInt(input, inputOI)); } catch (NumberFormatException e) { return null; } } }
@Override public Object convert(Object input) { if (input == null) { return null; } Object r = outputOI.create(0); try { return outputOI.set(r, PrimitiveObjectInspectorUtils.getInt(input, inputOI)); } catch (NumberFormatException e) { return null; } } }