com.alibaba.druid.sql.ast.expr
Class SQLVariantRefExpr

java.lang.Object
  extended by com.alibaba.druid.sql.ast.SQLObjectImpl
      extended by com.alibaba.druid.sql.ast.SQLExprImpl
          extended by com.alibaba.druid.sql.ast.expr.SQLVariantRefExpr
All Implemented Interfaces:
SQLExpr, SQLObject, Serializable

public class SQLVariantRefExpr
extends SQLExprImpl

See Also:
Serialized Form

Constructor Summary
SQLVariantRefExpr()
           
SQLVariantRefExpr(String name)
           
SQLVariantRefExpr(String name, boolean global)
           
 
Method Summary
 boolean equals(Object obj)
           
 int getIndex()
           
 String getName()
           
 int hashCode()
           
 boolean isGlobal()
           
 void output(StringBuffer buf)
           
 void setGlobal(boolean global)
           
 void setIndex(int index)
           
 void setName(String name)
           
 
Methods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, getAttribute, getAttributes, getAttributesDirect, getParent, putAttribute, setParent, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.alibaba.druid.sql.ast.SQLObject
accept, getAttribute, getAttributes, getAttributesDirect, getParent, putAttribute, setParent
 

Constructor Detail

SQLVariantRefExpr

public SQLVariantRefExpr(String name)

SQLVariantRefExpr

public SQLVariantRefExpr(String name,
                         boolean global)

SQLVariantRefExpr

public SQLVariantRefExpr()
Method Detail

getIndex

public int getIndex()

setIndex

public void setIndex(int index)

getName

public String getName()

setName

public void setName(String name)

output

public void output(StringBuffer buf)
Specified by:
output in interface SQLObject
Overrides:
output in class SQLObjectImpl

hashCode

public int hashCode()
Specified by:
hashCode in class SQLExprImpl

equals

public boolean equals(Object obj)
Specified by:
equals in class SQLExprImpl

isGlobal

public boolean isGlobal()

setGlobal

public void setGlobal(boolean global)


Copyright © 2012 Alibaba Group. All Rights Reserved.