@Override public Map<String, Object> process(Map<String, Object> record) { Object val = ObjectInspector.get(record.get(srcField), attrChain); if (ZorkaLogger.isLogLevel(ZorkaLogger.ZSP_ARGPROC)) { log.debug(ZorkaLogger.ZSP_ARGPROC, "Final result: '" + val + "' stored to slot " + dstField); } record.put(dstField, val); return record; }
@Override public Map<String, Object> process(Map<String, Object> record) { record.put(dstField, ObjectInspector.substitute(expr, record)); return record; }