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

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


        return new TableLookupKeyDesc(Collections.<QueryGraphValueEntryHashKeyed>emptyList(), Collections.singletonList(rangeKeyPair));
    }

    public JoinExecTableLookupStrategy makeStrategyInternal(EventTable eventTable, EventType[] eventTypes)
    {
        PropertySortedEventTable index = (PropertySortedEventTable) eventTable;
        return new SortedTableLookupStrategy(lookupStream, -1, rangeKeyPair, null, 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 PropertySortedEventTable)
        {
            PropertySortedEventTable index = (PropertySortedEventTable) indexTable[0];
            Set<EventBean> events = strategy.lookup(lookupEvent, index, context);
            if (events != null)
            {
                return events.iterator();
            }
View Full Code Here

    {
        if (!isActiveCache)
        {
            return new UnindexedEventTableList(pollResult);
        }
        PropertySortedEventTable table;
        if (coercionType == null) {
            table = new PropertySortedEventTable(streamNum, eventType, propertyName);
        }
        else {
            table = new PropertySortedEventTableCoerced(streamNum, eventType, propertyName, coercionType);
        }
        table.add(pollResult.toArray(new EventBean[pollResult.size()]));       
        return table;
    }
View Full Code Here

        return new TableLookupKeyDesc(Collections.<QueryGraphValueEntryHashKeyed>emptyList(), Collections.singletonList(rangeKeyPair));
    }

    public JoinExecTableLookupStrategy makeStrategyInternal(EventTable[] eventTable, EventType[] eventTypes)
    {
        PropertySortedEventTable index = (PropertySortedEventTable) eventTable[0];
        return new SortedTableLookupStrategy(lookupStream, -1, rangeKeyPair, null, index);
    }
View Full Code Here

        return new TableLookupKeyDesc(Collections.<QueryGraphValueEntryHashKeyed>emptyList(), Collections.singletonList(rangeKeyPair));
    }

    public JoinExecTableLookupStrategy makeStrategyInternal(EventTable eventTable, EventType[] eventTypes)
    {
        PropertySortedEventTable index = (PropertySortedEventTable) eventTable;
        return new SortedTableLookupStrategy(lookupStream, -1, rangeKeyPair, null, 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 instanceof PropertySortedEventTable)
        {
            PropertySortedEventTable index = (PropertySortedEventTable) indexTable;
            Set<EventBean> events = strategy.lookup(lookupEvent, index, context);
            if (events != null)
            {
                return events.iterator();
            }
View Full Code Here

TOP

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

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.