com.espertech.esper.epl.spec
Class FilterStreamSpecCompiled

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

public class FilterStreamSpecCompiled
extends StreamSpecBase
implements StreamSpecCompiled

Specification for building an event stream out of a filter for events (supplying type and basic filter criteria) and views onto these events which are staggered onto each other to supply a final stream of events.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.espertech.esper.epl.spec.StreamSpecCompiled
EMPTY_STREAM_ARRAY
 
Constructor Summary
FilterStreamSpecCompiled(FilterSpecCompiled filterSpec, ViewSpec[] viewSpecs, java.lang.String optionalStreamName, StreamSpecOptions streamSpecOptions)
          Ctor.
 
Method Summary
 FilterSpecCompiled getFilterSpec()
          Returns filter specification for which events the stream will getSelectListEvents.
 void setFilterSpec(FilterSpecCompiled filterSpec)
          Sets a filter specification.
 
Methods inherited from class com.espertech.esper.epl.spec.StreamSpecBase
getOptionalStreamName, getOptions, getViewSpecs
 
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, getOptions, getViewSpecs
 

Constructor Detail

FilterStreamSpecCompiled

public FilterStreamSpecCompiled(FilterSpecCompiled filterSpec,
                                ViewSpec[] viewSpecs,
                                java.lang.String optionalStreamName,
                                StreamSpecOptions streamSpecOptions)
Ctor.

Parameters:
filterSpec - - specifies what events we are interested in.
viewSpecs - - specifies what view to use to derive data
optionalStreamName - - stream name, or null if none supplied
streamSpecOptions - - additional options such as unidirectional stream in a join
Method Detail

getFilterSpec

public FilterSpecCompiled getFilterSpec()
Returns filter specification for which events the stream will getSelectListEvents.

Returns:
filter spec

setFilterSpec

public void setFilterSpec(FilterSpecCompiled filterSpec)
Sets a filter specification.

Parameters:
filterSpec - to set

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