com.alibaba.druid.sql.ast
Class SQLObjectImpl
java.lang.Object
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
SQLObjectImpl
public SQLObjectImpl()
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.