Class SQLAnalyzeTableStatement
- java.lang.Object
-
- com.alibaba.druid.sql.ast.SQLObjectImpl
-
- com.alibaba.druid.sql.ast.SQLStatementImpl
-
- com.alibaba.druid.sql.ast.statement.SQLAnalyzeTableStatement
-
- All Implemented Interfaces:
SQLDbTypedObject,SQLObject,SQLStatement
- Direct Known Subclasses:
MySqlAnalyzeStatement
public class SQLAnalyzeTableStatement extends SQLStatementImpl
-
-
Field Summary
Fields Modifier and Type Field Description protected List<SQLExprTableSource>tableSources-
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 SQLAnalyzeTableStatement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaccept0(SQLASTVisitor visitor)List<SQLIdentifierExpr>getAdbColumns()List<SQLIdentifierExpr>getAdbColumnsGroup()SQLIdentifierExprgetAdbSchema()SQLExprgetAdbWhere()List<SQLName>getColumns()SQLPartitionRefgetPartition()SQLExprTableSourcegetTable()List<SQLExprTableSource>getTables()booleanisCacheMetadata()booleanisComputeStatistics()booleanisForColums()booleanisNoscan()voidsetAdbColumns(List<SQLIdentifierExpr> adbColumns)voidsetAdbColumnsGroup(List<SQLIdentifierExpr> adbColumnsGroup)voidsetAdbSchema(SQLIdentifierExpr adbSchema)voidsetAdbWhere(SQLExpr adbWhere)voidsetCacheMetadata(boolean cacheMetadata)voidsetComputeStatistics(boolean computeStatistics)voidsetForColums(boolean forColums)voidsetNoscan(boolean noscan)voidsetPartition(SQLPartitionRef x)voidsetTable(SQLName table)voidsetTable(SQLExprTableSource table)-
Methods inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
clone, cloneTo, getChildren, 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
-
tableSources
protected final List<SQLExprTableSource> tableSources
-
-
Method Detail
-
accept0
protected void accept0(SQLASTVisitor visitor)
- Overrides:
accept0in classSQLStatementImpl
-
getTables
public List<SQLExprTableSource> getTables()
-
getTable
public SQLExprTableSource getTable()
-
setTable
public void setTable(SQLExprTableSource table)
-
getAdbSchema
public SQLIdentifierExpr getAdbSchema()
-
setAdbSchema
public void setAdbSchema(SQLIdentifierExpr adbSchema)
-
getAdbColumns
public List<SQLIdentifierExpr> getAdbColumns()
-
setAdbColumns
public void setAdbColumns(List<SQLIdentifierExpr> adbColumns)
-
getAdbColumnsGroup
public List<SQLIdentifierExpr> getAdbColumnsGroup()
-
setAdbColumnsGroup
public void setAdbColumnsGroup(List<SQLIdentifierExpr> adbColumnsGroup)
-
getAdbWhere
public SQLExpr getAdbWhere()
-
setAdbWhere
public void setAdbWhere(SQLExpr adbWhere)
-
setTable
public void setTable(SQLName table)
-
getPartition
public SQLPartitionRef getPartition()
-
setPartition
public void setPartition(SQLPartitionRef x)
-
isForColums
public boolean isForColums()
-
setForColums
public void setForColums(boolean forColums)
-
isCacheMetadata
public boolean isCacheMetadata()
-
setCacheMetadata
public void setCacheMetadata(boolean cacheMetadata)
-
isNoscan
public boolean isNoscan()
-
setNoscan
public void setNoscan(boolean noscan)
-
isComputeStatistics
public boolean isComputeStatistics()
-
setComputeStatistics
public void setComputeStatistics(boolean computeStatistics)
-
-