com.espertech.esper.epl.spec
Class SelectClauseStreamRawSpec

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

public class SelectClauseStreamRawSpec
extends Object
implements SelectClauseElementRaw

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
SelectClauseStreamRawSpec(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

SelectClauseStreamRawSpec

public SelectClauseStreamRawSpec(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