Class SQLDescribeStatement
- java.lang.Object
-
- com.alibaba.druid.sql.ast.SQLObjectImpl
-
- com.alibaba.druid.sql.ast.SQLStatementImpl
-
- com.alibaba.druid.sql.ast.statement.SQLDescribeStatement
-
- All Implemented Interfaces:
SQLDbTypedObject,SQLObject,SQLReplaceable,SQLStatement
public class SQLDescribeStatement extends SQLStatementImpl implements SQLReplaceable
-
-
Field Summary
Fields Modifier and Type Field Description protected SQLNamecolumnprotected booleanextendedprotected booleanformattedprotected SQLNameobjectprotected SQLObjectTypeobjectTypeprotected List<SQLExpr>partition-
Fields inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
afterSemi, dbType, headHints
-
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
-
Constructor Summary
Constructors Constructor Description SQLDescribeStatement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaccept0(SQLASTVisitor visitor)List<SQLObject>getChildren()SQLNamegetColumn()SQLNamegetObject()SQLObjectTypegetObjectType()List<SQLExpr>getPartition()booleanisExtended()booleanisFormatted()booleanreplace(SQLExpr expr, SQLExpr target)voidsetColumn(SQLName column)voidsetExtended(boolean extended)voidsetFormatted(boolean formatted)voidsetObject(SQLName object)voidsetObjectType(SQLObjectType objectType)voidsetPartition(List<SQLExpr> partition)-
Methods inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
clone, cloneTo, getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setDbType, setHeadHints, toLowerCaseString, toParameterizedString, toString, toString, toUnformattedString
-
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, output, putAttribute, setHint, setParent, setSource, setSourceLine
-
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.SQLObject
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setParent, setSource
-
-
-
-
Field Detail
-
object
protected SQLName object
-
column
protected SQLName column
-
extended
protected boolean extended
-
formatted
protected boolean formatted
-
objectType
protected SQLObjectType objectType
-
-
Method Detail
-
getObject
public SQLName getObject()
-
setObject
public void setObject(SQLName object)
-
getColumn
public SQLName getColumn()
-
setColumn
public void setColumn(SQLName column)
-
getObjectType
public SQLObjectType getObjectType()
-
setObjectType
public void setObjectType(SQLObjectType objectType)
-
isExtended
public boolean isExtended()
-
setExtended
public void setExtended(boolean extended)
-
isFormatted
public boolean isFormatted()
-
setFormatted
public void setFormatted(boolean formatted)
-
accept0
protected void accept0(SQLASTVisitor visitor)
- Overrides:
accept0in classSQLStatementImpl
-
getChildren
public List<SQLObject> getChildren()
- Specified by:
getChildrenin interfaceSQLStatement- Overrides:
getChildrenin classSQLStatementImpl
-
replace
public boolean replace(SQLExpr expr, SQLExpr target)
- Specified by:
replacein interfaceSQLReplaceable
-
-