public class SchemaStatVisitor extends SQLASTVisitorAdapter
| 限定符和类型 | 类和说明 |
|---|---|
protected class |
SchemaStatVisitor.MySqlOrderByStatVisitor |
protected class |
SchemaStatVisitor.OracleOrderByStatVisitor |
protected class |
SchemaStatVisitor.OrderByStatVisitor |
protected class |
SchemaStatVisitor.PGOrderByStatVisitor |
| 限定符和类型 | 字段和说明 |
|---|---|
protected List<SQLAggregateExpr> |
aggregateFunctions |
protected Map<Long,TableStat.Column> |
columns |
protected List<TableStat.Condition> |
conditions |
protected String |
dbType |
protected List<SQLMethodInvokeExpr> |
functions |
protected Set<TableStat.Column> |
groupByColumns |
private TableStat.Mode |
mode |
protected List<TableStat.Column> |
orderByColumns |
private List<Object> |
parameters |
protected Set<TableStat.Relationship> |
relationships |
protected SchemaRepository |
repository |
protected HashMap<TableStat.Name,TableStat> |
tableStats |
features| 构造器和说明 |
|---|
SchemaStatVisitor() |
SchemaStatVisitor(List<Object> parameters) |
SchemaStatVisitor(SchemaRepository repository,
List<Object> parameters) |
SchemaStatVisitor(String dbType) |
SchemaStatVisitor(String dbType,
List<Object> parameters) |
config, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, getFeatures, isEnabled, postVisit, preVisit, setFeatures, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visitprotected SchemaRepository repository
protected final HashMap<TableStat.Name,TableStat> tableStats
protected final Map<Long,TableStat.Column> columns
protected final List<TableStat.Condition> conditions
protected final Set<TableStat.Relationship> relationships
protected final List<TableStat.Column> orderByColumns
protected final Set<TableStat.Column> groupByColumns
protected final List<SQLAggregateExpr> aggregateFunctions
protected final List<SQLMethodInvokeExpr> functions
private TableStat.Mode mode
protected String dbType
public SchemaStatVisitor()
public SchemaStatVisitor(String dbType)
public SchemaStatVisitor(SchemaRepository repository, List<Object> parameters)
public SchemaRepository getRepository()
public void setRepository(SchemaRepository repository)
protected TableStat.Column addColumn(String tableName, String columnName)
protected TableStat.Column addColumn(SQLName table, String columnName)
protected TableStat.Mode getMode()
protected void setModeOrigin(SQLObject x)
protected TableStat.Mode setMode(SQLObject x, TableStat.Mode mode)
private boolean visitOrderBy(SQLIdentifierExpr x)
private boolean visitOrderBy(SQLPropertyExpr x)
public boolean visit(SQLOrderBy x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLOver x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterprotected SQLASTVisitor createOrderByVisitor(SQLOrderBy x)
public Set<TableStat.Relationship> getRelationships()
public List<TableStat.Column> getOrderByColumns()
public Set<TableStat.Column> getGroupByColumns()
public List<TableStat.Condition> getConditions()
public List<SQLAggregateExpr> getAggregateFunctions()
public boolean visit(SQLBetweenExpr x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLBinaryOpExpr x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterprotected void handleCondition(SQLExpr expr, String operator, SQLExpr... valueExprs)
public String getDbType()
protected TableStat.Column getColumn(SQLExpr expr)
public boolean visit(SQLTruncateStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLDropViewStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLDropTableStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLInsertStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterprotected static void putAliasMap(Map<String,String> aliasMap, String name, String value)
protected void accept(SQLObject x)
public boolean visit(SQLSelectQueryBlock x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterprivate static boolean isParam(SQLIdentifierExpr x)
public void endVisit(SQLSelectQueryBlock x)
endVisit 在接口中 SQLASTVisitorendVisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLJoinTableSource x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLPropertyExpr x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterprotected boolean isPseudoColumn(long hash)
public boolean visit(SQLIdentifierExpr x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterprivate boolean isParentSelectItem(SQLObject parent)
private boolean isParentGroupBy(SQLObject parent)
private void setColumn(SQLExpr x, TableStat.Column column)
protected TableStat.Column handleUnkownColumn(String columnName)
public boolean visit(SQLAllColumnExpr x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterprivate void statAllColumn(SQLAllColumnExpr x, SQLTableSource tableSource)
private void statAllColumn(SQLAllColumnExpr x, SQLExprTableSource tableSource)
public Map<TableStat.Name,TableStat> getTables()
public boolean containsTable(String tableName)
public Collection<TableStat.Column> getColumns()
public TableStat.Column getColumn(String tableName, String columnName)
public boolean visit(SQLSelectStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic void endVisit(SQLSelectStatement x)
endVisit 在接口中 SQLASTVisitorendVisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLWithSubqueryClause.Entry x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLSubqueryTableSource x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterprotected boolean isSimpleExprTableSource(SQLExprTableSource x)
public TableStat getTableStat(SQLExprTableSource tableSource)
public boolean visit(SQLExprTableSource x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterprotected boolean isSubQueryOrParamOrVariant(SQLIdentifierExpr identifierExpr)
protected boolean isSubQueryOrParamOrVariant(SQLPropertyExpr x)
public boolean visit(SQLSelectItem x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic void endVisit(SQLSelect x)
endVisit 在接口中 SQLASTVisitorendVisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLSelect x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLAggregateExpr x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLMethodInvokeExpr x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLUpdateStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLDeleteStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLInListExpr x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLInSubQueryExpr x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLCreateTableStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLColumnDefinition x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLCallStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic void endVisit(SQLCommentStatement x)
endVisit 在接口中 SQLASTVisitorendVisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLCommentStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLCurrentOfCursorExpr x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLAlterTableAddColumn x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic void endVisit(SQLAlterTableAddColumn x)
endVisit 在接口中 SQLASTVisitorendVisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLRollbackStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLCreateViewStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLAlterViewStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLAlterTableDropForeignKey x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLUseStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLAlterTableDisableConstraint x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLAlterTableEnableConstraint x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLAlterTableStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLAlterTableDropConstraint x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLDropIndexStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLCreateIndexStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLForeignKeyImpl x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLDropSequenceStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLDropTriggerStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLDropUserStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLGrantStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLRevokeStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLDropDatabaseStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLAlterTableAddIndex x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLCheck x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLCreateTriggerStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLDropFunctionStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLDropTableSpaceStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLDropProcedureStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLAlterTableRename x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLArrayExpr x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLOpenStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLFetchStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLCloseStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLCreateProcedureStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLCreateFunctionStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLBlockStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLShowTablesStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLDeclareItem x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLPartitionByHash x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLPartitionByRange x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLPartitionByList x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLPartition x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLSubPartition x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLSubPartitionByHash x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLPartitionValue x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLAlterDatabaseStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLAlterTableConvertCharSet x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLAlterTableDropPartition x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLAlterTableReOrganizePartition x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLAlterTableCoalescePartition x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLAlterTableTruncatePartition x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLAlterTableDiscardPartition x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLAlterTableImportPartition x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLAlterTableAnalyzePartition x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLAlterTableCheckPartition x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLAlterTableOptimizePartition x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLAlterTableRebuildPartition x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLAlterTableRepairPartition x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLSequenceExpr x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLMergeStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLSetStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic List<SQLMethodInvokeExpr> getFunctions()
public boolean visit(SQLCreateSequenceStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLAlterTableAddConstraint x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLAlterTableDropIndex x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLAlterTableDropPrimaryKey x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLAlterTableDropKey x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLDescribeStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLExplainStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLCreateMaterializedViewStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLReplaceStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterprotected final void statExpr(SQLExpr x)
public boolean visit(SQLAlterFunctionStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLDropSynonymStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLAlterTypeStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLAlterProcedureStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLExprStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLDropTypeStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLExternalRecordFormat x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLCreateDatabaseStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLAlterTableExchangePartition x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterpublic boolean visit(SQLDumpStatement x)
visit 在接口中 SQLASTVisitorvisit 在类中 SQLASTVisitorAdapterCopyright © 2013–2019 Alibaba Group. All rights reserved.