class ELFunction implements PartitionFunction {

    public Integer execute(String columnValue, Map<String, Object> extension) {
        Map<String, Object> vrs = new HashMap<String, Object>();
        //, Map<String, ElFunction<?,?>> functionMap
        //vrs.putAll(functionMap);// 拓展函数
        Map<String, Object> params = new HashMap<String, Object>();
        params.put("value", columnValue);
        vrs.put("$ROOT", params);
        VariableResolverFactory vrfactory = new MapVariableResolverFactory(vrs);
        return MVEL.eval(expression, params, vrfactory, Integer.class);
    }

}