com.espertech.esper.epl.spec
Class CreateVariableDesc

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

public class CreateVariableDesc
extends java.lang.Object
implements MetaDefItem, java.io.Serializable

Descriptor for create-variable statements.

See Also:
Serialized Form

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

Constructor Detail

CreateVariableDesc

public CreateVariableDesc(java.lang.String variableType,
                          java.lang.String variableName,
                          ExprNode assignment,
                          boolean constant,
                          boolean array,
                          boolean arrayOfPrimitive)
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 java.lang.String getVariableType()
Returns the variable type.

Returns:
type of variable

getVariableName

public java.lang.String getVariableName()
Returns the variable name

Returns:
name

getAssignment

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

Returns:
expression or null

isConstant

public boolean isConstant()

isArray

public boolean isArray()

isArrayOfPrimitive

public boolean isArrayOfPrimitive()

setArrayOfPrimitive

public void setArrayOfPrimitive(boolean arrayOfPrimitive)

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