com.espertech.esper.epl.spec
Interface StreamSpec

All Superinterfaces:
MetaDefItem, java.io.Serializable
All Known Subinterfaces:
StreamSpecCompiled, StreamSpecRaw
All Known Implementing Classes:
DBStatementStreamSpec, FilterStreamSpecCompiled, FilterStreamSpecRaw, MethodStreamSpec, NamedWindowConsumerStreamSpec, PatternStreamSpecCompiled, PatternStreamSpecRaw, TableQueryStreamSpec

public interface StreamSpec
extends MetaDefItem, java.io.Serializable

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.


Method Summary
 java.lang.String getOptionalStreamName()
          Returns the stream name, or null if undefined.
 StreamSpecOptions getOptions()
          Returns the options for the stream such as unidirectional, retain-union etc.
 ViewSpec[] getViewSpecs()
          Returns views definitions onto the stream
 

Method Detail

getOptionalStreamName

java.lang.String getOptionalStreamName()
Returns the stream name, or null if undefined.

Returns:
stream name

getViewSpecs

ViewSpec[] getViewSpecs()
Returns views definitions onto the stream

Returns:
view defs

getOptions

StreamSpecOptions getOptions()
Returns the options for the stream such as unidirectional, retain-union etc.

Returns:
stream options

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