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