com.espertech.esper.epl.spec
Interface StreamSpec

All Known Subinterfaces:
StreamSpecCompiled, StreamSpecRaw
All Known Implementing Classes:
DBStatementStreamSpec, FilterStreamSpecCompiled, FilterStreamSpecRaw, MethodStreamSpec, NamedWindowConsumerStreamSpec, PatternStreamSpecCompiled, PatternStreamSpecRaw

public interface StreamSpec

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
 String getOptionalStreamName()
          Returns the stream name, or null if undefined.
 List<ViewSpec> getViewSpecs()
          Returns views definitions onto the stream
 boolean isUnidirectional()
          Returns true to indicate a unidirectional stream in a join, applicable for joins.
 

Method Detail

getOptionalStreamName

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

Returns:
stream name

getViewSpecs

List<ViewSpec> getViewSpecs()
Returns views definitions onto the stream

Returns:
view defs

isUnidirectional

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

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