/************************************************************************************** * Copyright (C) 2008 EsperTech, Inc. All rights reserved. * * http://esper.codehaus.org * * http://www.espertech.com * * ---------------------------------------------------------------------------------- * * The software in this package is published under the terms of the GPL license * * a copy of which has been included with this distribution in the license.txt file. * **************************************************************************************/ package com.espertech.esper.epl.join.table; import com.espertech.esper.client.EventBean; import java.util.Arrays; import java.util.Iterator; import java.util.LinkedHashSet; import java.util.Set; /** * Factory for simple table of events without an index. */ public class UnindexedEventTableFactory implements EventTableFactory { private final int streamNum; public UnindexedEventTableFactory(int streamNum) { this.streamNum = streamNum; } public EventTable makeEventTable() { return new UnindexedEventTable(streamNum); } public Class getEventTableClass() { return UnindexedEventTable.class; } public String toQueryPlan() { return this.getClass().getSimpleName() + " streamNum=" + streamNum; } }