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 java.lang.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, java.lang.String assignedName, java.lang.String providedName, boolean isEvents)
          Ctor.
 
Method Summary
 java.lang.String getAssignedName()
          Returns the name of the item in the select clause.
 java.lang.String getProvidedName()
           
 ExprNode getSelectExpression()
          Returns the expression node representing the item in the select clause.
 boolean isEvents()
           
 void setAssignedName(java.lang.String assignedName)
          Sets the column name for the select expression.
 void setEvents(boolean events)
           
 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,
                                    java.lang.String assignedName,
                                    java.lang.String providedName,
                                    boolean isEvents)
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 java.lang.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(java.lang.String assignedName)
Sets the column name for the select expression.

Parameters:
assignedName - is the column name

getProvidedName

public java.lang.String getProvidedName()

isEvents

public boolean isEvents()

setEvents

public void setEvents(boolean events)

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