com.espertech.esper.epl.spec
Class SelectExprElementStreamRawSpec

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

public class SelectExprElementStreamRawSpec
extends Object
implements MetaDefItem

For use in select clauses for specifying a selected stream: select a.* from MyEvent as a, MyOther as b

See Also:
Serialized Form

Constructor Summary
SelectExprElementStreamRawSpec(String streamAliasName, String optionalAsName)
          Ctor.
 
Method Summary
 String getOptionalAsName()
          Returns the column alias (e.g.
 String getStreamAliasName()
          Returns the stream alias (e.g.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectExprElementStreamRawSpec

public SelectExprElementStreamRawSpec(String streamAliasName,
                                      String optionalAsName)
Ctor.

Parameters:
streamAliasName - is the stream alias of the stream to select
optionalAsName - is the column alias
Method Detail

getStreamAliasName

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

Returns:
alias

getOptionalAsName

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

Returns:
alias

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