com.espertech.esper.epl.spec
Class SelectExprElementStreamCompiledSpec

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

public class SelectExprElementStreamCompiledSpec
extends Object
implements MetaDefItem

Mirror class to SelectExprElementStreamRawSpec but added the stream number for the alias.

See Also:
Serialized Form

Constructor Summary
SelectExprElementStreamCompiledSpec(String streamAliasName, String optionalAliasName, int streamNumber, boolean isTaggedEvent)
          Ctor.
 
Method Summary
 String getOptionalAliasName()
          Returns the column alias (e.g.
 String getStreamAliasName()
          Returns the stream alias (e.g.
 int getStreamNumber()
          Returns the stream number of the stream for the stream alias.
 boolean isTaggedEvent()
          Returns true to indicate that we are meaning to select a tagged event in a pattern, or false if selecting an event from a stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectExprElementStreamCompiledSpec

public SelectExprElementStreamCompiledSpec(String streamAliasName,
                                           String optionalAliasName,
                                           int streamNumber,
                                           boolean isTaggedEvent)
Ctor.

Parameters:
streamAliasName - is the stream alias of the stream to select
optionalAliasName - is the column alias
streamNumber - is the number of the stream
isTaggedEvent - is true to indicate that we are meaning to select a tagged event in a pattern
Method Detail

getStreamAliasName

public String getStreamAliasName()
Returns the stream alias (e.g. select streamAlias from MyEvent as streamAlias).

Returns:
alias

getOptionalAliasName

public String getOptionalAliasName()
Returns the column alias (e.g. select streamAlias as mycol from MyEvent as streamAlias).

Returns:
alias

getStreamNumber

public int getStreamNumber()
Returns the stream number of the stream for the stream alias.

Returns:
stream number

isTaggedEvent

public boolean isTaggedEvent()
Returns true to indicate that we are meaning to select a tagged event in a pattern, or false if selecting an event from a stream.

Returns:
true for tagged event in pattern, false for stream

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