com.espertech.esper.epl.spec
Class CreateVariableDesc

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

public class CreateVariableDesc
extends Object
implements MetaDefItem

Descriptor for create-variable statements.

See Also:
Serialized Form

Constructor Summary
CreateVariableDesc(String variableType, String variableName, ExprNode assignment)
          Ctor.
 
Method Summary
 ExprNode getAssignment()
          Returns the assignment expression, or null if none
 String getVariableName()
          Returns the variable name
 String getVariableType()
          Returns the variable type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateVariableDesc

public CreateVariableDesc(String variableType,
                          String variableName,
                          ExprNode assignment)
Ctor.

Parameters:
variableType - type of the variable
variableName - name of the variable
assignment - expression assigning the initial value, or null if none
Method Detail

getVariableType

public String getVariableType()
Returns the variable type.

Returns:
type of variable

getVariableName

public String getVariableName()
Returns the variable name

Returns:
name

getAssignment

public ExprNode getAssignment()
Returns the assignment expression, or null if none

Returns:
expression or null

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