@Override public String process(GenericRecord input, Context context) { return "value-" + input.getField("value"); } }
/** * Retrieve the value of the provided <tt>field</tt>. * * @param field the field to retrieve the value * @return the value object */ default Object getField(Field field) { return getField(field.getName()); }
@Override public String process(GenericRecord input, Context context) { return "value-" + input.getField("value"); } }
/** * Retrieve the value of the provided <tt>field</tt>. * * @param field the field to retrieve the value * @return the value object */ default Object getField(Field field) { return getField(field.getName()); }