ResultSetProcessor resultSetProcessor = ResultSetProcessorFactory.getProcessor(
statementSpec, statementContext, typeService, null, new boolean[0], true);
// Attach output view
OutputProcessView outputView = OutputProcessViewFactory.makeView(resultSetProcessor, statementSpec, statementContext, services.getInternalEventRouter());
createView.addView(outputView);
services.getStatementVariableRefService().addReferences(statementContext.getStatementName(), Collections.singleton(createDesc.getVariableName()));
EPStatementDestroyMethod destroyMethod = new EPStatementDestroyMethod() {
public void destroy() {
try {