com.espertech.esper.epl.spec
Class SelectClauseExprRawSpec

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

public class SelectClauseExprRawSpec
extends java.lang.Object
implements SelectClauseElementRaw

Represents a single item in a SELECT-clause, potentially unnamed as no "as" tag may have been supplied in the syntax.

Compare to SelectClauseExprCompiledSpec which carries a determined name.

See Also:
Serialized Form

Constructor Summary
SelectClauseExprRawSpec(ExprNode selectExpression, java.lang.String optionalAsName, boolean isEvents)
          Ctor.
 
Method Summary
 java.lang.String getOptionalAsName()
          Returns the name of the item in the select clause.
 ExprNode getSelectExpression()
          Returns the expression node representing the item in the select clause.
 boolean isEvents()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectClauseExprRawSpec

public SelectClauseExprRawSpec(ExprNode selectExpression,
                               java.lang.String optionalAsName,
                               boolean isEvents)
Ctor.

Parameters:
selectExpression - - the expression node to evaluate for matching events
optionalAsName - - the name of the item, null if not name supplied
Method Detail

getSelectExpression

public ExprNode getSelectExpression()
Returns the expression node representing the item in the select clause.

Returns:
expression node for item

getOptionalAsName

public java.lang.String getOptionalAsName()
Returns the name of the item in the select clause.

Returns:
name of item

isEvents

public boolean isEvents()

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