/************************************************************************************** * 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.view.window; import com.espertech.esper.client.EventBean; import com.espertech.esper.client.EventType; import com.espertech.esper.collection.OneEventCollection; import com.espertech.esper.collection.ViewUpdatedCollection; import com.espertech.esper.core.context.util.AgentInstanceViewFactoryChainContext; import com.espertech.esper.core.service.EPStatementHandleCallback; import com.espertech.esper.core.service.ExtensionServicesContext; import com.espertech.esper.epl.expression.ExprEvaluator; import com.espertech.esper.epl.variable.VariableChangeCallback; import com.espertech.esper.epl.variable.VariableReader; import com.espertech.esper.epl.variable.VariableService; import com.espertech.esper.event.map.MapEventBean; import com.espertech.esper.schedule.ScheduleHandleCallback; import com.espertech.esper.schedule.ScheduleSlot; import com.espertech.esper.util.StopCallback; import com.espertech.esper.view.*; import java.util.ArrayDeque; import java.util.Iterator; import java.util.Set; /** * This view is a moving window extending the into the past until the expression passed to it returns false. */ public final class ExpressionViewUtil { public final static String CURRENT_COUNT = "current_count"; public final static String OLDEST_TIMESTAMP = "oldest_timestamp"; public final static String NEWEST_TIMESTAMP = "newest_timestamp"; public final static String EXPIRED_COUNT = "expired_count"; public final static String VIEW_REFERENCE = "view_reference"; }