Package com.espertech.esper.collection

Examples of com.espertech.esper.collection.SingleEventIterator


    }

    @Override
    public Iterator<EventBean> iterator()
    {
        return new SingleEventIterator(getDataEvent());
    }
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(statementContext.getEventAdapterService().adaptorForTypedMap(newDataMap, eventType));
    }
View Full Code Here

        return eventType;
    }

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

    public final Iterator<EventBean> iterator()
    {
        HashMap<String, Object> current = new HashMap<String, Object>();
        current.put(ViewFieldEnum.SIZE_VIEW__SIZE.getName(), size);
        addProperties(current);
        return new SingleEventIterator(statementContext.getEventAdapterService().adaptorForTypedMap(current, eventType));
    }
View Full Code Here

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

    public Iterator<EventBean> iterator()
    {
        Map<String, Object> values = variableReadWritePackage.iterate();
        EventBean event = eventAdapterService.adaptorForTypedMap(values, eventType);
        return new SingleEventIterator(event);
    }
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

    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

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.