Package com.espertech.esper.epl.join.table

Examples of com.espertech.esper.epl.join.table.PropertyCompositeEventTable


        return new TableLookupKeyDesc(hashKeys, rangeKeyPairs);
    }

    public JoinExecTableLookupStrategy makeStrategyInternal(EventTable eventTable, EventType[] eventTypes)
    {
        PropertyCompositeEventTable index = (PropertyCompositeEventTable) eventTable;
        return new CompositeTableLookupStrategy(eventTypes[this.getLookupStream()], this.getLookupStream(), hashKeys, rangeKeyPairs, index);
    }
View Full Code Here


    {
        if (!isActiveCache)
        {
            return new UnindexedEventTableList(pollResult);
        }
        PropertyCompositeEventTable table = new PropertyCompositeEventTable(streamNum, eventType, indexPropertiesJoin, keyCoercionTypes, rangePropertiesJoin, rangeCoercionTypes);
        table.add(pollResult.toArray(new EventBean[pollResult.size()]));
        return table;
    }
View Full Code Here

        return new TableLookupKeyDesc(hashKeys, rangeKeyPairs);
    }

    public JoinExecTableLookupStrategy makeStrategyInternal(EventTable[] eventTable, EventType[] eventTypes)
    {
        PropertyCompositeEventTable index = (PropertyCompositeEventTable) eventTable[0];
        return new CompositeTableLookupStrategy(eventTypes[this.getLookupStream()], this.getLookupStream(), hashKeys, rangeKeyPairs, index);
    }
View Full Code Here

    public Iterator<EventBean> lookup(EventBean lookupEvent, EventTable[] indexTable, ExprEvaluatorContext context)
    {
        // The table may not be indexed as the cache may not actively cache, in which case indexing doesn't makes sense
        if (indexTable[0] instanceof PropertyCompositeEventTable)
        {
            PropertyCompositeEventTable table = (PropertyCompositeEventTable) indexTable[0];
            Map<Object, Object> index = table.getIndex();

            Set<EventBean> events = chain.get(lookupEvent, index, context);
            if (events != null)
            {
                return events.iterator();
View Full Code Here

    public Iterator<EventBean> lookup(EventBean lookupEvent, EventTable indexTable, ExprEvaluatorContext context)
    {
        // The table may not be indexed as the cache may not actively cache, in which case indexing doesn't makes sense
        if (indexTable instanceof PropertyCompositeEventTable)
        {
            PropertyCompositeEventTable table = (PropertyCompositeEventTable) indexTable;
            Map<Object, Object> index = table.getIndex();

            Set<EventBean> events = chain.get(lookupEvent, index, context);
            if (events != null)
            {
                return events.iterator();
View Full Code Here

        return new TableLookupKeyDesc(hashKeys, rangeKeyPairs);
    }

    public JoinExecTableLookupStrategy makeStrategyInternal(EventTable eventTable, EventType[] eventTypes)
    {
        PropertyCompositeEventTable index = (PropertyCompositeEventTable) eventTable;
        return new CompositeTableLookupStrategy(eventTypes[this.getLookupStream()], this.getLookupStream(), hashKeys, rangeKeyPairs, index);
    }
View Full Code Here

TOP

Related Classes of com.espertech.esper.epl.join.table.PropertyCompositeEventTable

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.