Package com.espertech.esper.collection

Examples of com.espertech.esper.collection.MultiKeyUntyped


        Object[] values = new Object[criteriaEvaluators.length];
        for (int i = 0; i < criteriaEvaluators.length; i++)
        {
            values[i] = criteriaEvaluators[i].evaluate(eventsPerStream, true, agentInstanceContext);
        }
        return new MultiKeyUntyped(values);
    }
View Full Code Here


            else {
                Object[] keys = new Object[groupDeliveryExpressions.length];
                for (int i = 0; i < groupDeliveryExpressions.length; i++) {
                    keys[i] = groupDeliveryExpressions[i].evaluate(eventsPerStream, true, exprEvaluatorContext);
                }
                key = new MultiKeyUntyped(keys);
            }

            UniformPair<EventBean[]> groupEntry = groups.get(key);
            if (groupEntry == null) {
                if (insertStream) {
View Full Code Here

        while (sourceIterator.hasNext())
        {
            EventBean candidate = sourceIterator.next();
            eventsPerStream[0] = candidate;

            MultiKeyUntyped groupKey = resultSetProcessor.generateGroupKey(eventsPerStream, true);
            aggregationService.setCurrentAccess(groupKey, exprEvaluatorContext.getAgentInstanceIds());

            Boolean pass = true;
            if (resultSetProcessor.getOptionalHavingNode() != null)
            {
View Full Code Here

        for (OrderByElement sortPair : factory.getOrderBy())
        {
            values[count++] = sortPair.getExpr().evaluate(eventsPerStream, isNewData, exprEvaluatorContext);
        }

        return new MultiKeyUntyped(values);
    }
View Full Code Here

            for (OrderByElement sortPair : factory.getOrderBy())
            {
                values[countTwo++] = sortPair.getExpr().evaluate(evalEventsPerStream, isNewData, exprEvaluatorContext);
            }

            sortProperties[count] = new MultiKeyUntyped(values);
            count++;
        }

        return sortProperties;
    }
View Full Code Here

      for (OrderByElement sortPair : factory.getOrderBy())
      {
        values[countTwo++] = sortPair.getExpr().evaluate(eventsPerStream, isNewData, exprEvaluatorContext);
      }

      sortProperties[count] = new MultiKeyUntyped(values);
      count++;
    }
    return Arrays.asList(sortProperties);
  }
View Full Code Here

    {
      keys[count] = exprNode.evaluate(eventsPerStream, isNewData, exprEvaluatorContext);
      count++;
    }

    return new MultiKeyUntyped(keys);
  }
View Full Code Here

        return result;
    }

    private MultiKeyUntyped[] generateGroupKeys(EventBean[][] generatingEvents, boolean isNewData, ExprEvaluatorContext exprEvaluatorContext)
  {
    MultiKeyUntyped keys[] = new MultiKeyUntyped[generatingEvents.length];

    int count = 0;
    for (EventBean[] eventsPerStream : generatingEvents)
    {
      keys[count++] = generateGroupKey(eventsPerStream, isNewData, exprEvaluatorContext);
View Full Code Here

        {
            return null;
        }

        EventBean[] eventsPerStream = new EventBean[1];
        MultiKeyUntyped keys[] = new MultiKeyUntyped[events.length];

        for (int i = 0; i < events.length; i++)
        {
            eventsPerStream[0] = events[i];
            keys[i] = generateGroupKey(eventsPerStream, isNewData);
View Full Code Here

        {
            return null;
        }

        EventBean[] eventsPerStream = new EventBean[1];
        MultiKeyUntyped keys[] = new MultiKeyUntyped[events.length];

        for (int i = 0; i < events.length; i++)
        {
            eventsPerStream[0] = events[i];
            keys[i] = generateGroupKey(eventsPerStream, isNewData);
View Full Code Here

TOP

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

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.