mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
git-svn-id: http://code.alibabatech.com/svn/druid/trunk@2 b9813039-fb51-4c41-a8b9-e21c2acb5095
24 lines
489 B
Java
24 lines
489 B
Java
package com.alibaba.druid.sql.ast;
|
|
|
|
import java.util.Map;
|
|
|
|
import com.alibaba.druid.sql.visitor.SQLASTVisitor;
|
|
|
|
public interface SQLObject {
|
|
void accept(SQLASTVisitor visitor);
|
|
|
|
SQLObject getParent();
|
|
|
|
void setParent(SQLObject parent);
|
|
|
|
Map<String, Object> getAttributes();
|
|
|
|
Object getAttribute(String name);
|
|
|
|
void putAttribute(String name, Object value);
|
|
|
|
Map<String, Object> getAttributesDirect();
|
|
|
|
void output(StringBuffer buf);
|
|
}
|