113114115116117118119120121122
return new TriggerDefinition(thriftDef.getName(), thriftDef.getOptions().get(CLASS)); } public TriggerDef toThrift() { TriggerDef td = new TriggerDef(); td.setName(name); td.setOptions(Collections.singletonMap(CLASS, classOption)); return td; }
110111112113114115116117118119