net.esper.eql.spec
Class SelectExprElementNamedSpec

java.lang.Object
  extended by net.esper.eql.spec.SelectExprElementNamedSpec

public class SelectExprElementNamedSpec
extends Object

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
SelectExprElementNamedSpec(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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectExprElementNamedSpec

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