Package com.espertech.esper.epl.agg.access

Examples of com.espertech.esper.epl.agg.access.AggregationStateType


            }
            return new ExprNumberSetCronParam(operator);
        }
        else if (expr instanceof AccessProjectionExpressionBase) {
            AccessProjectionExpressionBase theBase = (AccessProjectionExpressionBase) expr;
            AggregationStateType type;
            if (expr instanceof FirstProjectionExpression) {
                type = AggregationStateType.FIRST;
            }
            else if (expr instanceof LastProjectionExpression) {
                type = AggregationStateType.LAST;
View Full Code Here


            }
            return new ExprNumberSetCronParam(operator);
        }
        else if (expr instanceof AccessProjectionExpressionBase) {
            AccessProjectionExpressionBase theBase = (AccessProjectionExpressionBase) expr;
            AggregationStateType type;
            if (expr instanceof FirstProjectionExpression) {
                type = AggregationStateType.FIRST;
            }
            else if (expr instanceof LastProjectionExpression) {
                type = AggregationStateType.LAST;
View Full Code Here

            }
            return new ExprNumberSetCronParam(operator);
        }
        else if (expr instanceof AccessProjectionExpressionBase) {
            AccessProjectionExpressionBase theBase = (AccessProjectionExpressionBase) expr;
            AggregationStateType type;
            if (expr instanceof FirstProjectionExpression) {
                type = AggregationStateType.FIRST;
            }
            else if (expr instanceof LastProjectionExpression) {
                type = AggregationStateType.LAST;
View Full Code Here

        boolean isWildcard = accessCtx == null || accessCtx.STAR() != null;
        String streamWildcard = null;
        if (accessCtx != null && accessCtx.propertyStreamSelector() != null) {
            streamWildcard = accessCtx.propertyStreamSelector().s.getText();
        }
        AggregationStateType stateType = ctx.firstLastAggregation().FIRST() != null ? AggregationStateType.FIRST : AggregationStateType.LAST;
        ExprNode expr = new ExprAggMultiFunctionLinearAccessNode(stateType, isWildcard, streamWildcard);
        if (ctx.firstLastAggregation().accessAggExpr() != null) {
            ASTExprHelper.exprCollectAddSubNodes(expr, ctx.firstLastAggregation().accessAggExpr(), astExprNodeMap);
        }
        if (ctx.firstLastAggregation().expression() != null) {
View Full Code Here

            }
            return new ExprNumberSetCronParam(operator);
        }
        else if (expr instanceof AccessProjectionExpressionBase) {
            AccessProjectionExpressionBase theBase = (AccessProjectionExpressionBase) expr;
            AggregationStateType type;
            if (expr instanceof FirstProjectionExpression) {
                type = AggregationStateType.FIRST;
            }
            else if (expr instanceof LastProjectionExpression) {
                type = AggregationStateType.LAST;
View Full Code Here

TOP

Related Classes of com.espertech.esper.epl.agg.access.AggregationStateType

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.