net.esper.eql.spec
Class SelectClauseSpec

java.lang.Object
  extended by net.esper.eql.spec.SelectClauseSpec
All Implemented Interfaces:
Serializable, MetaDefItem

public class SelectClauseSpec
extends Object
implements MetaDefItem

Encapsulates the parsed select expressions in a select-clause in an EQL statement.

See Also:
Serialized Form

Constructor Summary
SelectClauseSpec()
          Ctor.
SelectClauseSpec(List<SelectExprElementRawSpec> selectList)
          Ctor.
 
Method Summary
 void add(SelectExprElementRawSpec element)
          Adds an select expression within the select clause.
 void add(SelectExprElementStreamRawSpec spec)
          Adds a stream wildcard selection element.
 List<SelectExprElementRawSpec> getSelectExprList()
          Returns the list of select expressions.
 List<SelectExprElementStreamRawSpec> getSelectStreamsList()
          Returns the list of stream wildcard selection elements.
 boolean isUsingWildcard()
          Returns true if a wildcard was found in the select clause, or false if not
 void setIsUsingWildcard(boolean isUsingWildcard)
          To indicate that a wildcard is one of the values in the list of expressions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectClauseSpec

public SelectClauseSpec()
Ctor.


SelectClauseSpec

public SelectClauseSpec(List<SelectExprElementRawSpec> selectList)
Ctor.

Parameters:
selectList - for a populates list of select expressions
Method Detail

setIsUsingWildcard

public void setIsUsingWildcard(boolean isUsingWildcard)
To indicate that a wildcard is one of the values in the list of expressions.

Parameters:
isUsingWildcard - true if a wildcard is encountered

add

public void add(SelectExprElementRawSpec element)
Adds an select expression within the select clause.

Parameters:
element - is the expression to add

getSelectExprList

public List<SelectExprElementRawSpec> getSelectExprList()
Returns the list of select expressions.

Returns:
list of expressions

isUsingWildcard

public boolean isUsingWildcard()
Returns true if a wildcard was found in the select clause, or false if not

Returns:
true for wildcard found

add

public void add(SelectExprElementStreamRawSpec spec)
Adds a stream wildcard selection element.

Parameters:
spec - describes the stream alias name and column alias

getSelectStreamsList

public List<SelectExprElementStreamRawSpec> getSelectStreamsList()
Returns the list of stream wildcard selection elements.

Returns:
stream wildcard selection elements

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