Where will you be getting the category from?
Take a look at the Insert function, which does just that
http://www.cascading.org/userguide/html/ch07s04.html
Fields.ALL will append the results of your operation to the values/fields in the incoming Tuple stream.
Fields.REPLACE will replace the values in the fields that were arguments in the incoming Tuple stream.
REPLACE is useful if you want to make a String into a Long and re-use the field name and keep the other fields.
RESULTS when used with the declared fields Field.ARGS behaves like REPLACE by keeping the field names of the args, but all the incoming values are discarded.
what you use is a matter of what you want to get back and the level of coupling your operation has to the tuple stream etc...
ckw
> --
> You received this message because you are subscribed to the Google Groups "cascading-user" group.
> To post to this group, send email to cascadi...@googlegroups.com.
> To unsubscribe from this group, send email to cascading-use...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/cascading-user?hl=en.
>
--
Chris K Wensel
ch...@concurrentinc.com
http://concurrentinc.com