com.alibaba.druid.sql.ast
Class SQLObjectImpl

java.lang.Object
  extended by com.alibaba.druid.sql.ast.SQLObjectImpl
All Implemented Interfaces:
SQLObject, Serializable
Direct Known Subclasses:
MySqlObjectImpl, MySqlSelectQueryBlock.Limit, MySqlTableIndex, OracleAnalyticWindowing, OracleConstraintState, OracleSQLObjectImpl, PGAnalytic, PGAnalyticWindowing, PGSQLObjectImpl, SQLAlterTableAddColumn, SQLAlterTableAddIndex, SQLAlterTableAddPrimaryKey, SQLAlterTableDropColumnItem, SQLAlterTableDropIndex, SQLAssignItem, SQLCaseExpr.Item, SQLColumnDefinition, SQLCommentHint, SQLCommentStatement, SQLConstaintImpl, SQLDataTypeImpl, SQLExprImpl, SQLInsertInto, SQLInsertStatement.ValuesClause, SQLOrderBy, SQLOver, SQLSelect, SQLSelectGroupByClause, SQLSelectItem, SQLSelectOrderByItem, SQLSelectQuery, SQLServerObjectImpl, SQLStatementImpl, SQLTableSourceImpl, SQLUpdateSetItem, TransactSQLObjectImpl

public abstract class SQLObjectImpl
extends Object
implements SQLObject, Serializable

See Also:
Serialized Form

Constructor Summary
SQLObjectImpl()
           
 
Method Summary
 void accept(SQLASTVisitor visitor)
           
 Object getAttribute(String name)
           
 Map<String,Object> getAttributes()
           
 Map<String,Object> getAttributesDirect()
           
 SQLObject getParent()
           
 void output(StringBuffer buf)
           
 void putAttribute(String name, Object value)
           
 void setParent(SQLObject parent)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SQLObjectImpl

public SQLObjectImpl()
Method Detail

accept

public final void accept(SQLASTVisitor visitor)
Specified by:
accept in interface SQLObject

output

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

toString

public String toString()
Overrides:
toString in class Object

getParent

public SQLObject getParent()
Specified by:
getParent in interface SQLObject

setParent

public void setParent(SQLObject parent)
Specified by:
setParent in interface SQLObject

getAttributes

public Map<String,Object> getAttributes()
Specified by:
getAttributes in interface SQLObject

getAttribute

public Object getAttribute(String name)
Specified by:
getAttribute in interface SQLObject

putAttribute

public void putAttribute(String name,
                         Object value)
Specified by:
putAttribute in interface SQLObject

getAttributesDirect

public Map<String,Object> getAttributesDirect()
Specified by:
getAttributesDirect in interface SQLObject


Copyright © 2012 Alibaba Group. All Rights Reserved.