com.espertech.esper.epl.spec
Class SelectClauseSpecRaw

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

public class SelectClauseSpecRaw
extends java.lang.Object
implements MetaDefItem, java.io.Serializable

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

See Also:
Serialized Form

Constructor Summary
SelectClauseSpecRaw()
          Ctor.
 
Method Summary
 void add(SelectClauseElementRaw element)
          Adds an select expression within the select clause.
 void addAll(java.util.Collection<SelectClauseElementRaw> elements)
          Adds select expressions within the select clause.
 java.util.List<SelectClauseElementRaw> getSelectExprList()
          Returns the list of select expressions.
 boolean isDistinct()
          Returns indictor whether distinct or not.
 boolean isOnlyWildcard()
           
 boolean isUsingWildcard()
          Returns true if the select clause contains at least one wildcard.
 void setDistinct(boolean distinct)
          Sets the indictor whether distinct or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectClauseSpecRaw

public SelectClauseSpecRaw()
Ctor.

Method Detail

add

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

Parameters:
element - is the expression to add

addAll

public void addAll(java.util.Collection<SelectClauseElementRaw> elements)
Adds select expressions within the select clause.

Parameters:
elements - is the expressions to add

getSelectExprList

public java.util.List<SelectClauseElementRaw> getSelectExprList()
Returns the list of select expressions.

Returns:
list of expressions

isOnlyWildcard

public boolean isOnlyWildcard()

isUsingWildcard

public boolean isUsingWildcard()
Returns true if the select clause contains at least one wildcard.

Returns:
true if clause contains wildcard, false if not

isDistinct

public boolean isDistinct()
Returns indictor whether distinct or not.

Returns:
distinct indicator

setDistinct

public void setDistinct(boolean distinct)
Sets the indictor whether distinct or not.

Parameters:
distinct - indicator

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com