com.espertech.esper.epl.spec
Class StreamSpecOptions

java.lang.Object
  extended by com.espertech.esper.epl.spec.StreamSpecOptions
All Implemented Interfaces:
MetaDefItem, java.io.Serializable

public class StreamSpecOptions
extends java.lang.Object
implements MetaDefItem, java.io.Serializable

Abstract base specification for a stream, consists simply of an optional stream name and a list of views on to of the stream.

Implementation classes for views and patterns add additional information defining the stream of events.

See Also:
Serialized Form

Constructor Summary
StreamSpecOptions()
          Ctor, sets all options off.
StreamSpecOptions(boolean isUnidirectional, boolean isRetainUnion, boolean isRetainIntersection)
          Ctor.
 
Method Summary
 boolean isRetainIntersection()
          Indicator for retaining the intersection of multiple expiry policies.
 boolean isRetainUnion()
          Indicator for retaining the union of multiple expiry policies.
 boolean isUnidirectional()
          Returns true to indicate a unidirectional stream in a join, applicable for joins.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamSpecOptions

public StreamSpecOptions()
Ctor, sets all options off.


StreamSpecOptions

public StreamSpecOptions(boolean isUnidirectional,
                         boolean isRetainUnion,
                         boolean isRetainIntersection)
Ctor.

Parameters:
isUnidirectional - - true to indicate a unidirectional stream in a join, applicable for joins
isRetainUnion - - for retaining the union of multiple data windows
isRetainIntersection - - for retaining the intersection of multiple data windows
Method Detail

isRetainUnion

public boolean isRetainUnion()
Indicator for retaining the union of multiple expiry policies.

Returns:
true for retain union

isRetainIntersection

public boolean isRetainIntersection()
Indicator for retaining the intersection of multiple expiry policies.

Returns:
true for retain intersection

isUnidirectional

public boolean isUnidirectional()
Returns true to indicate a unidirectional stream in a join, applicable for joins.

Returns:
indicator whether the stream is unidirectional in a join

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com