com.espertech.esper.epl.spec
Class NamedWindowConsumerStreamSpec

java.lang.Object
  extended by com.espertech.esper.epl.spec.StreamSpecBase
      extended by com.espertech.esper.epl.spec.NamedWindowConsumerStreamSpec
All Implemented Interfaces:
StreamSpec, StreamSpecCompiled, MetaDefItem, Serializable

public class NamedWindowConsumerStreamSpec
extends StreamSpecBase
implements StreamSpecCompiled

Specification for use of an existing named window.

See Also:
Serialized Form

Constructor Summary
NamedWindowConsumerStreamSpec(String windowName, String optionalAsName, List<ViewSpec> viewSpecs, List<ExprNode> filterExpressions, boolean isUnidirectional)
          Ctor.
 
Method Summary
 List<ExprNode> getFilterExpressions()
          Returns list of filter expressions onto the named window, or no filter expressions if none defined.
 String getWindowName()
          Returns the window name.
 
Methods inherited from class com.espertech.esper.epl.spec.StreamSpecBase
getOptionalStreamName, getViewSpecs, isUnidirectional
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.espertech.esper.epl.spec.StreamSpec
getOptionalStreamName, getViewSpecs, isUnidirectional
 

Constructor Detail

NamedWindowConsumerStreamSpec

public NamedWindowConsumerStreamSpec(String windowName,
                                     String optionalAsName,
                                     List<ViewSpec> viewSpecs,
                                     List<ExprNode> filterExpressions,
                                     boolean isUnidirectional)
Ctor.

Parameters:
windowName - - specifies the name of the named window
optionalAsName - - an alias or null if none defined
viewSpecs - - is the view specifications
filterExpressions - - the named window filters
isUnidirectional - - true to indicate a unidirectional stream in a join, applicable for joins
Method Detail

getWindowName

public String getWindowName()
Returns the window name.

Returns:
window name

getFilterExpressions

public List<ExprNode> getFilterExpressions()
Returns list of filter expressions onto the named window, or no filter expressions if none defined.

Returns:
list of filter expressions

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com