Package com.espertech.esper.event.map

Examples of com.espertech.esper.event.map.MapEventBean


            return false;
        }

        Map valueTop = (Map) valueTopObj;
        // Obtains for the inner map the property value
        EventBean event = new MapEventBean(valueTop, null);
        return getter.isExistsProperty(event);
    }
View Full Code Here


    public EnumEvalBaseScalarIndex(ExprEvaluator innerExpression, int streamNumLambda, MapEventType evalEventType, String evalPropertyName, MapEventType indexEventType, String indexPropertyName) {
        this.innerExpression = innerExpression;
        this.streamNumLambda = streamNumLambda;
        this.evalPropertyName = evalPropertyName;
        this.evalEvent = new MapEventBean(new HashMap<String, Object>(), evalEventType);
        this.indexPropertyName = indexPropertyName;
        this.indexEvent = new MapEventBean(new HashMap<String, Object>(), indexEventType);
        this.eventsLambda = new EventBean[streamNumLambda + 2];
    }
View Full Code Here

    private MapEventBean evalEvent;
    private String evalPropertyName;

    public EnumEvalAggregateScalar(ExprEvaluator initialization, ExprEvaluator innerExpression, int streamNumLambda, MapEventType resultEventType, String resultPropertyName, MapEventType evalEventType, String evalPropertyName) {
        super(initialization, innerExpression, streamNumLambda, resultEventType, resultPropertyName);
        this.evalEvent = new MapEventBean(new HashMap<String, Object>(), evalEventType);
        this.evalPropertyName = evalPropertyName;
    }
View Full Code Here

    private EventBean[] eventsLambda;

    public EnumEvalTakeWhileIndexEvents(ExprEvaluator innerExpression, int streamNumLambda, MapEventType indexEventType, String indexPropertyName) {
        this.innerExpression = innerExpression;
        this.streamNumLambda = streamNumLambda;
        this.indexEvent = new MapEventBean(new HashMap<String, Object>(), indexEventType);
        this.indexPropertyName = indexPropertyName;
        this.eventsLambda = new EventBean[streamNumLambda + 2];
    }
View Full Code Here

    protected final MapEventBean evalEvent;

    public EnumEvalBaseScalar(ExprEvaluator innerExpression, int streamCountIncoming, MapEventType type, String propertyName) {
        super(innerExpression, streamCountIncoming);
        this.evalPropertyName = propertyName;
        this.evalEvent = new MapEventBean(new HashMap<String, Object>(), type);
    }
View Full Code Here

    protected EventBean[] eventsLambda;

    public EnumEvalBaseIndex(ExprEvaluator innerExpression, int streamNumLambda, MapEventType indexEventType, String indexPropertyName) {
        this.innerExpression = innerExpression;
        this.streamNumLambda = streamNumLambda;
        this.indexEvent = new MapEventBean(new HashMap<String, Object>(), indexEventType);
        this.indexPropertyName = indexPropertyName;
        this.eventsLambda = new EventBean[streamNumLambda + 2];
    }
View Full Code Here

                                 ExprEvaluator innerExpression, int streamNumLambda,
                                 MapEventType resultEventType, String resultPropertyName) {
        this.initialization = initialization;
        this.innerExpression = innerExpression;
        this.streamNumLambda = streamNumLambda;
        this.resultEvent = new MapEventBean(new HashMap<String, Object>(), resultEventType);
        this.resultPropertyName = resultPropertyName;
        this.eventsLambda = new EventBean[streamNumLambda + 2];
    }
View Full Code Here

            for (Map.Entry<String, Pair<EventType, String>> entry : arrayEventTypes.entrySet())
            {
                EventBean[] eventArray = (EventBean[]) events.getMatchingEventAsObject(entry.getKey());
                HashMap map = new HashMap();
                map.put(entry.getKey(), eventArray);
                EventBean event = new MapEventBean(map, null);
                eventsPerStream[count++] = event;
            }
        }
        return eventsPerStream;
    }
View Full Code Here

        builtinTypeDef.put(ExpressionWindowView.OLDEST_TIMESTAMP, Long.class);
        builtinTypeDef.put(ExpressionWindowView.NEWEST_TIMESTAMP, Long.class);
        builtinTypeDef.put(ExpressionWindowView.EXPIRED_COUNT, Integer.class);
        builtinTypeDef.put(ExpressionWindowView.VIEW_REFERENCE, Object.class);
        EventType builtinMapType = statementContext.getEventAdapterService().createAnonymousMapType(statementContext.getStatementId() + "_exprview", builtinTypeDef);
        builtinMapBean = new MapEventBean(new HashMap<String, Object>(), builtinMapType);
        StreamTypeService streamTypeService = new StreamTypeServiceImpl(new EventType[] {eventType, builtinMapType}, new String[2], new boolean[2], statementContext.getEngineURI(), false);

        // validate expression
        expiryExpression = ViewFactorySupport.validateExpr(statementContext, expiryExpression, streamTypeService, 0);
View Full Code Here

                                 ExprEvaluator innerExpression, int streamNumLambda,
                                 MapEventType resultEventType, String resultPropertyName) {
        this.initialization = initialization;
        this.innerExpression = innerExpression;
        this.streamNumLambda = streamNumLambda;
        this.resultEvent = new MapEventBean(new HashMap<String, Object>(), resultEventType);
        this.resultPropertyName = resultPropertyName;
        this.eventsLambda = new EventBean[streamNumLambda + 2];
    }
View Full Code Here

TOP

Related Classes of com.espertech.esper.event.map.MapEventBean

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.