com.espertech.esper.epl.spec
Class SelectClauseExprCompiledSpec

java.lang.Object
  extended by com.espertech.esper.epl.spec.SelectClauseExprCompiledSpec
All Implemented Interfaces:
SelectClauseElementCompiled

public class SelectClauseExprCompiledSpec
extends Object
implements SelectClauseElementCompiled

Represents a single item in a SELECT-clause, with a name assigned either by the engine or by the user specifying an "as" tag name.


Constructor Summary
SelectClauseExprCompiledSpec(ExprNode selectExpression, String assignedName)
          Ctor.
 
Method Summary
 String getAssignedName()
          Returns the name of the item in the select clause.
 ExprNode getSelectExpression()
          Returns the expression node representing the item in the select clause.
 void setAssignedName(String assignedName)
          Sets the column name for the select expression.
 void setSelectExpression(ExprNode selectExpression)
          Sets the select expression to use.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectClauseExprCompiledSpec

public SelectClauseExprCompiledSpec(ExprNode selectExpression,
                                    String assignedName)
Ctor.

Parameters:
selectExpression - - the expression node to evaluate for matching events
assignedName - - cannot be null as a name is always assigned or system-determined
Method Detail

getSelectExpression

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

Returns:
expression node for item

getAssignedName

public String getAssignedName()
Returns the name of the item in the select clause.

Returns:
name of item

setSelectExpression

public void setSelectExpression(ExprNode selectExpression)
Sets the select expression to use.

Parameters:
selectExpression - to set

setAssignedName

public void setAssignedName(String assignedName)
Sets the column name for the select expression.

Parameters:
assignedName - is the column name

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