Package com.espertech.esper.client

Examples of com.espertech.esper.client.EventBeanFactory


    public void setProvideCapability(ViewCapability viewCapability, ViewResourceCallback resourceCallback) {
    }

    public View makeView(StatementContext statementContext) {
        EventBeanFactory factory = EventAdapterServiceHelper.getFactoryForType(parentEventType, statementContext.getEventAdapterService());
        VirtualDataWindowOutStreamImpl outputStream = new VirtualDataWindowOutStreamImpl();
        VirtualDataWindowContext context = new VirtualDataWindowContext(statementContext, parentEventType, viewParameterArr, factory, outputStream, namedWindowName);
        VirtualDataWindow window = virtualDataWindowFactory.create(context);
        VirtualDWViewImpl view = new VirtualDWViewImpl(window, parentEventType, namedWindowName);
        outputStream.setView(view);
View Full Code Here


        viewParameterExp = ViewFactorySupport.validate(viewFactoryContext.getViewName(), parentEventType, viewFactoryContext.getStatementContext(), viewParameters, true);
    }

    public View makeView(AgentInstanceViewFactoryChainContext agentInstanceViewFactoryContext)
    {
        EventBeanFactory factory = EventAdapterServiceHelper.getFactoryForType(parentEventType, agentInstanceViewFactoryContext.getAgentInstanceContext().getStatementContext().getEventAdapterService());
        VirtualDataWindowOutStreamImpl outputStream = new VirtualDataWindowOutStreamImpl();
        VirtualDataWindowContext context = new VirtualDataWindowContext(agentInstanceViewFactoryContext.getAgentInstanceContext(), parentEventType, viewParameterArr, viewParameterExp, factory, outputStream, namedWindowName, viewFactoryContext, customConfiguration);
        VirtualDataWindow window;
        try {
            window = virtualDataWindowFactory.create(context);
View Full Code Here

                }
                streamEventType = eventAdapterService.getExistsTypeByName(atom.getOptionalResultEventType());
                if (streamEventType == null) {
                    throw new ExprValidationException("Event type by name '" + atom.getOptionalResultEventType() + "' could not be found");
                }
                EventBeanFactory eventBeanFactory = EventAdapterServiceHelper.getFactoryForType(streamEventType, eventAdapterService);

                // check expression result type against eventtype expected underlying type
                Class returnType = evaluator.getType();
                if (returnType.isArray()) {
                    if ((!JavaClassHelper.isSubclassOrImplementsInterface(returnType.getComponentType(), streamEventType.getUnderlyingType()))) {
View Full Code Here

    public void setProvideCapability(ViewCapability viewCapability, ViewResourceCallback resourceCallback) {
    }

    public View makeView(StatementContext statementContext) {
        EventBeanFactory factory = EventAdapterServiceHelper.getFactoryForType(parentEventType, statementContext.getEventAdapterService());
        VirtualDataWindowOutStreamImpl outputStream = new VirtualDataWindowOutStreamImpl();
        VirtualDataWindowContext context = new VirtualDataWindowContext(statementContext, parentEventType, viewParameterArr, viewParameterExp, factory, outputStream, namedWindowName, viewFactoryContext, customConfiguration);
        VirtualDataWindow window = virtualDataWindowFactory.create(context);
        VirtualDWViewImpl view = new VirtualDWViewImpl(window, parentEventType, namedWindowName);
        outputStream.setView(view);
View Full Code Here

TOP

Related Classes of com.espertech.esper.client.EventBeanFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.