Package com.espertech.esper.collection

Examples of com.espertech.esper.collection.SingleEventIterator


    {
        Object value = reader.getValue();
        Map<String, Object> values = new HashMap<String, Object>();
        values.put(variableName, value);
        EventBean theEvent = eventAdapterService.adapterForTypedMap(values, eventType);
        return new SingleEventIterator(theEvent);
    }
View Full Code Here


    public Iterator<EventBean> iterator()
    {
        Map<String, Object> values = factory.getVariableReadWritePackage().iterate(exprEvaluatorContext.getAgentInstanceId());
        EventBean theEvent = factory.getEventAdapterService().adapterForTypedMap(values, factory.getEventType());
        return new SingleEventIterator(theEvent);
    }
View Full Code Here

        if (statementContext.getContextDescriptor() != null) {
            return statementContext.getContextDescriptor().iterator(statementContext.getStatementId());
        }
        if (isPattern)
        {
            return new SingleEventIterator(statementContext.getStatementResultService().getLastIterableEvent());
        }
        else
        {
            return parentView.iterator();
        }
View Full Code Here

    {
        Object value = reader.getValue();
        Map<String, Object> values = new HashMap<String, Object>();
        values.put(variableName, value);
        EventBean theEvent = eventAdapterService.adapterForTypedMap(values, eventType);
        return new SingleEventIterator(theEvent);
    }
View Full Code Here

    public Iterator<EventBean> iterator()
    {
        Map<String, Object> values = factory.getVariableReadWritePackage().iterate();
        EventBean theEvent = factory.getEventAdapterService().adapterForTypedMap(values, factory.getEventType());
        return new SingleEventIterator(theEvent);
    }
View Full Code Here

    {
        if (lastInsertedEvents != null)
        {
            return new ArrayEventIterator(lastInsertedEvents);
        }
        return new SingleEventIterator(lastInsertedEvent);
    }
View Full Code Here

    public final Iterator<EventBean> iterator()
    {
        Map<String, Object> newDataMap = new HashMap<String, Object>();
        newDataMap.put(ViewFieldEnum.WEIGHTED_AVERAGE__AVERAGE.getName(), currentValue);
        addProperties(newDataMap);
        return new SingleEventIterator(agentInstanceContext.getStatementContext().getEventAdapterService().adapterForTypedMap(newDataMap, eventType));
    }
View Full Code Here

        return eventType;
    }

    public final Iterator<EventBean> iterator()
    {
        return new SingleEventIterator(populateMap(baseStatisticsBean,
                agentInstanceContext.getStatementContext().getEventAdapterService(),
                eventType,
                additionalProps, lastValuesEventNew));
    }
View Full Code Here

        }
    }

    public final Iterator<EventBean> iterator()
    {
        return new SingleEventIterator(populateMap(statisticsBean,
                agentInstanceContext.getStatementContext().getEventAdapterService(),
                eventType, additionalProps, lastValuesEventNew));
    }
View Full Code Here

        if (statementContext.getContextDescriptor() != null) {
            return statementContext.getContextDescriptor().iterator(statementContext.getStatementId());
        }
        if (isPattern)
        {
            return new SingleEventIterator(statementContext.getStatementResultService().getLastIterableEvent());
        }
        else
        {
            return parentView.iterator();
        }
View Full Code Here

TOP

Related Classes of com.espertech.esper.collection.SingleEventIterator

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.