private void setInputSchemas(EventTypeMng streamschema, StreamingConfig config) { Map<String, IEventType> inputschemas = Maps.newHashMap(); for (OperatorTransition s : transitionIn) { IEventType iet = streamschema.getEventType(s.getSchemaName()); inputschemas.put(s.getStreamName(), iet); } config.put(StreamingConfig.OPERATOR_COMBINE_INPUTNAMES_AND_SCHEMA, inputschemas); }
private void prepare( Application vapp, Operator operator, EventTypeMng streamschema, Map<String, String> systemconfig) throws ExecutorException { this.applicationConfig = systemconfig; this.combineOperator = (CombineOperator) operator; this.transitionIn = OperatorInfoCreatorFactory.getTransitionIn(vapp, operator); this.transitionOut = OperatorInfoCreatorFactory.getTransitionOut(vapp, operator); this.outputTupleEvent = streamschema.getEventType(transitionOut.getSchemaName()); }