for (Map.Entry<Integer, DataFlowOpInputPort> entry : context.getInputPorts().entrySet()) {
EPLSelectViewable viewable = new EPLSelectViewable(entry.getValue().getTypeDesc().getEventType());
viewables[entry.getKey()] = viewable;
}
ViewableActivatorFactory activatorFactory = new ViewableActivatorFactory() {
public ViewableActivator createActivator(FilterStreamSpecCompiled filterStreamSpec) {
EPLSelectViewable found = null;
for (EPLSelectViewable viewable : viewables) {
if (viewable.getEventType() == filterStreamSpec.getFilterSpec().getFilterForEventType()) {