net.esper.eql.spec
Class StreamSpecBase

java.lang.Object
  extended by net.esper.eql.spec.StreamSpecBase
All Implemented Interfaces:
Serializable, MetaDefItem
Direct Known Subclasses:
DBStatementStreamSpec, FilterStreamSpecCompiled, FilterStreamSpecRaw, MethodStreamSpec, NamedWindowConsumerStreamSpec, PatternStreamSpecCompiled, PatternStreamSpecRaw

public abstract class StreamSpecBase
extends Object
implements MetaDefItem

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
StreamSpecBase()
          Default ctor.
StreamSpecBase(String optionalStreamName, List<ViewSpec> viewSpecs)
          Ctor.
 
Method Summary
 String getOptionalStreamName()
          Returns the name assigned.
 List<ViewSpec> getViewSpecs()
          Returns view definitions to use to construct views to derive data on stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamSpecBase

public StreamSpecBase(String optionalStreamName,
                      List<ViewSpec> viewSpecs)
Ctor.

Parameters:
optionalStreamName - - stream name, or null if none supplied
viewSpecs - - specifies what view to use to derive data

StreamSpecBase

public StreamSpecBase()
Default ctor.

Method Detail

getOptionalStreamName

public String getOptionalStreamName()
Returns the name assigned.

Returns:
stream name or null if not assigned

getViewSpecs

public List<ViewSpec> getViewSpecs()
Returns view definitions to use to construct views to derive data on stream.

Returns:
view defs

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