Class SQLServerObjectReferenceExpr
- java.lang.Object
-
- com.alibaba.druid.sql.ast.SQLObjectImpl
-
- com.alibaba.druid.sql.dialect.sqlserver.ast.SQLServerObjectImpl
-
- com.alibaba.druid.sql.dialect.sqlserver.ast.expr.SQLServerObjectReferenceExpr
-
- All Implemented Interfaces:
SQLExpr,SQLName,SQLObject,SQLServerExpr,SQLServerObject,TransactSQLObject,Cloneable
public class SQLServerObjectReferenceExpr extends SQLServerObjectImpl implements SQLServerExpr, SQLName
-
-
Field Summary
Fields Modifier and Type Field Description protected longhashCode64protected longschemaHashCode64-
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
-
Constructor Summary
Constructors Constructor Description SQLServerObjectReferenceExpr()SQLServerObjectReferenceExpr(SQLExpr owner)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept0(SQLServerASTVisitor visitor)voidaccept0(SQLASTVisitor v)SQLServerObjectReferenceExprclone()List<SQLObject>getChildren()StringgetDatabase()SQLColumnDefinitiongetResolvedColumn()StringgetSchema()StringgetServer()StringgetSimpleName()longhashCode64()longnameHashCode64()voidoutput(StringBuilder buf)voidsetDatabase(String database)voidsetSchema(String schema)voidsetServer(String server)-
Methods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, cloneTo, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, putAttribute, setHint, setParent, setSource, setSourceLine, toString
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.alibaba.druid.sql.ast.SQLExpr
computeDataType, getHint
-
Methods inherited from interface com.alibaba.druid.sql.ast.SQLObject
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, putAttribute, setParent, setSource
-
-
-
-
Constructor Detail
-
SQLServerObjectReferenceExpr
public SQLServerObjectReferenceExpr()
-
SQLServerObjectReferenceExpr
public SQLServerObjectReferenceExpr(SQLExpr owner)
-
-
Method Detail
-
getSimpleName
public String getSimpleName()
- Specified by:
getSimpleNamein interfaceSQLName
-
accept0
public void accept0(SQLASTVisitor v)
- Specified by:
accept0in interfaceSQLServerObject- Specified by:
accept0in classSQLObjectImpl
-
accept0
public void accept0(SQLServerASTVisitor visitor)
- Specified by:
accept0in interfaceSQLServerObject- Specified by:
accept0in classSQLServerObjectImpl
-
output
public void output(StringBuilder buf)
- Specified by:
outputin interfaceSQLObject- Overrides:
outputin classSQLObjectImpl
-
getServer
public String getServer()
-
setServer
public void setServer(String server)
-
getDatabase
public String getDatabase()
-
setDatabase
public void setDatabase(String database)
-
getSchema
public String getSchema()
-
setSchema
public void setSchema(String schema)
-
clone
public SQLServerObjectReferenceExpr clone()
-
nameHashCode64
public long nameHashCode64()
- Specified by:
nameHashCode64in interfaceSQLName
-
hashCode64
public long hashCode64()
- Specified by:
hashCode64in interfaceSQLName
-
getResolvedColumn
public SQLColumnDefinition getResolvedColumn()
- Specified by:
getResolvedColumnin interfaceSQLName
-
getChildren
public List<SQLObject> getChildren()
- Specified by:
getChildrenin interfaceSQLExpr
-
-