public class TablesNamesFinder extends Object implements StatementVisitor, SelectVisitor, FromItemVisitor, ExpressionVisitor, ItemsListVisitor, SelectItemVisitor
Constructor and Description |
---|
TablesNamesFinder() |
Modifier and Type | Method and Description |
---|---|
boolean |
existTable(String tableName) |
List<String> |
getTableList(Delete delete)
Main entry for this Tool class.
|
List<String> |
getTableList(Insert insert)
Main entry for this Tool class.
|
List<String> |
getTableList(Replace replace)
Main entry for this Tool class.
|
List<String> |
getTableList(Select select)
Main entry for this Tool class.
|
List<String> |
getTableList(Update update)
Main entry for this Tool class.
|
void |
visit(Addition addition) |
void |
visit(AllColumns allColumns) |
void |
visit(AllComparisonExpression allComparisonExpression) |
void |
visit(AllTableColumns allTableColumns) |
void |
visit(Alter alter) |
void |
visit(AnalyticExpression analytic) |
void |
visit(AndExpression andExpression) |
void |
visit(AnyComparisonExpression anyComparisonExpression) |
void |
visit(Between between) |
void |
visit(BitwiseAnd bitwiseAnd) |
void |
visit(BitwiseOr bitwiseOr) |
void |
visit(BitwiseXor bitwiseXor) |
void |
visit(CaseExpression caseExpression) |
void |
visit(CastExpression cast) |
void |
visit(Column tableColumn) |
void |
visit(Concat concat) |
void |
visit(CreateIndex createIndex) |
void |
visit(CreateTable createTable) |
void |
visit(CreateView createView) |
void |
visit(DateValue dateValue) |
void |
visit(Delete delete) |
void |
visit(Division division) |
void |
visit(DoubleValue doubleValue) |
void |
visit(Drop drop) |
void |
visit(EqualsTo equalsTo) |
void |
visit(Execute execute) |
void |
visit(ExistsExpression existsExpression) |
void |
visit(ExpressionList expressionList) |
void |
visit(ExtractExpression eexpr) |
void |
visit(Function function) |
void |
visit(GreaterThan greaterThan) |
void |
visit(GreaterThanEquals greaterThanEquals) |
void |
visit(InExpression inExpression) |
void |
visit(Insert insert) |
void |
visit(IntervalExpression iexpr) |
void |
visit(IsNullExpression isNullExpression) |
void |
visit(JdbcNamedParameter jdbcNamedParameter) |
void |
visit(JdbcParameter jdbcParameter) |
void |
visit(JsonExpression jsonExpr) |
void |
visit(LateralSubSelect lateralSubSelect) |
void |
visit(LikeExpression likeExpression) |
void |
visit(LongValue longValue) |
void |
visit(Matches matches) |
void |
visit(MinorThan minorThan) |
void |
visit(MinorThanEquals minorThanEquals) |
void |
visit(Modulo modulo) |
void |
visit(MultiExpressionList multiExprList) |
void |
visit(Multiplication multiplication) |
void |
visit(NotEqualsTo notEqualsTo) |
void |
visit(NullValue nullValue) |
void |
visit(OracleHierarchicalExpression oexpr) |
void |
visit(OrExpression orExpression) |
void |
visit(Parenthesis parenthesis) |
void |
visit(PlainSelect plainSelect) |
void |
visit(RegExpMatchOperator rexpr) |
void |
visit(RegExpMySQLOperator rexpr) |
void |
visit(Replace replace) |
void |
visit(Select select) |
void |
visit(SelectExpressionItem item) |
void |
visit(SetOperationList list) |
void |
visit(SignedExpression signedExpression) |
void |
visit(Statements stmts) |
void |
visit(StringValue stringValue) |
void |
visit(SubJoin subjoin) |
void |
visit(SubSelect subSelect) |
void |
visit(Subtraction subtraction) |
void |
visit(Table tableName) |
void |
visit(TimestampValue timestampValue) |
void |
visit(TimeValue timeValue) |
void |
visit(Truncate truncate) |
void |
visit(Update update) |
void |
visit(ValuesList valuesList) |
void |
visit(WhenClause whenClause) |
void |
visit(WithItem withItem) |
void |
visitBinaryExpression(BinaryExpression binaryExpression) |
public List<String> getTableList(Delete delete)
delete
- public List<String> getTableList(Insert insert)
insert
- public List<String> getTableList(Replace replace)
replace
- public List<String> getTableList(Select select)
select
- public List<String> getTableList(Update update)
update
- public void visit(WithItem withItem)
visit
in interface SelectVisitor
public void visit(PlainSelect plainSelect)
visit
in interface SelectVisitor
public void visit(Table tableName)
visit
in interface FromItemVisitor
public void visit(SubSelect subSelect)
visit
in interface ExpressionVisitor
visit
in interface ItemsListVisitor
visit
in interface FromItemVisitor
public void visit(Addition addition)
visit
in interface ExpressionVisitor
public void visit(AndExpression andExpression)
visit
in interface ExpressionVisitor
public void visit(Between between)
visit
in interface ExpressionVisitor
public void visit(Column tableColumn)
visit
in interface ExpressionVisitor
public void visit(Division division)
visit
in interface ExpressionVisitor
public void visit(DoubleValue doubleValue)
visit
in interface ExpressionVisitor
public void visit(EqualsTo equalsTo)
visit
in interface ExpressionVisitor
public void visit(Function function)
visit
in interface ExpressionVisitor
public void visit(GreaterThan greaterThan)
visit
in interface ExpressionVisitor
public void visit(GreaterThanEquals greaterThanEquals)
visit
in interface ExpressionVisitor
public void visit(InExpression inExpression)
visit
in interface ExpressionVisitor
public void visit(SignedExpression signedExpression)
visit
in interface ExpressionVisitor
public void visit(IsNullExpression isNullExpression)
visit
in interface ExpressionVisitor
public void visit(JdbcParameter jdbcParameter)
visit
in interface ExpressionVisitor
public void visit(LikeExpression likeExpression)
visit
in interface ExpressionVisitor
public void visit(ExistsExpression existsExpression)
visit
in interface ExpressionVisitor
public void visit(LongValue longValue)
visit
in interface ExpressionVisitor
public void visit(MinorThan minorThan)
visit
in interface ExpressionVisitor
public void visit(MinorThanEquals minorThanEquals)
visit
in interface ExpressionVisitor
public void visit(Multiplication multiplication)
visit
in interface ExpressionVisitor
public void visit(NotEqualsTo notEqualsTo)
visit
in interface ExpressionVisitor
public void visit(NullValue nullValue)
visit
in interface ExpressionVisitor
public void visit(OrExpression orExpression)
visit
in interface ExpressionVisitor
public void visit(Parenthesis parenthesis)
visit
in interface ExpressionVisitor
public void visit(StringValue stringValue)
visit
in interface ExpressionVisitor
public void visit(Subtraction subtraction)
visit
in interface ExpressionVisitor
public void visitBinaryExpression(BinaryExpression binaryExpression)
public void visit(ExpressionList expressionList)
visit
in interface ItemsListVisitor
public void visit(DateValue dateValue)
visit
in interface ExpressionVisitor
public void visit(TimestampValue timestampValue)
visit
in interface ExpressionVisitor
public void visit(TimeValue timeValue)
visit
in interface ExpressionVisitor
public void visit(CaseExpression caseExpression)
visit
in interface ExpressionVisitor
public void visit(WhenClause whenClause)
visit
in interface ExpressionVisitor
public void visit(AllComparisonExpression allComparisonExpression)
visit
in interface ExpressionVisitor
public void visit(AnyComparisonExpression anyComparisonExpression)
visit
in interface ExpressionVisitor
public void visit(SubJoin subjoin)
visit
in interface FromItemVisitor
public void visit(Concat concat)
visit
in interface ExpressionVisitor
public void visit(Matches matches)
visit
in interface ExpressionVisitor
public void visit(BitwiseAnd bitwiseAnd)
visit
in interface ExpressionVisitor
public void visit(BitwiseOr bitwiseOr)
visit
in interface ExpressionVisitor
public void visit(BitwiseXor bitwiseXor)
visit
in interface ExpressionVisitor
public void visit(CastExpression cast)
visit
in interface ExpressionVisitor
public void visit(Modulo modulo)
visit
in interface ExpressionVisitor
public void visit(AnalyticExpression analytic)
visit
in interface ExpressionVisitor
public void visit(SetOperationList list)
visit
in interface SelectVisitor
public void visit(ExtractExpression eexpr)
visit
in interface ExpressionVisitor
public void visit(LateralSubSelect lateralSubSelect)
visit
in interface FromItemVisitor
public void visit(MultiExpressionList multiExprList)
visit
in interface ItemsListVisitor
public void visit(ValuesList valuesList)
visit
in interface FromItemVisitor
public void visit(IntervalExpression iexpr)
visit
in interface ExpressionVisitor
public void visit(JdbcNamedParameter jdbcNamedParameter)
visit
in interface ExpressionVisitor
public void visit(OracleHierarchicalExpression oexpr)
visit
in interface ExpressionVisitor
public void visit(RegExpMatchOperator rexpr)
visit
in interface ExpressionVisitor
public void visit(RegExpMySQLOperator rexpr)
visit
in interface ExpressionVisitor
public void visit(JsonExpression jsonExpr)
visit
in interface ExpressionVisitor
public void visit(AllColumns allColumns)
visit
in interface SelectItemVisitor
public void visit(AllTableColumns allTableColumns)
visit
in interface SelectItemVisitor
public void visit(SelectExpressionItem item)
visit
in interface SelectItemVisitor
public void visit(Select select)
visit
in interface StatementVisitor
public void visit(Delete delete)
visit
in interface StatementVisitor
public void visit(Update update)
visit
in interface StatementVisitor
public void visit(Insert insert)
visit
in interface StatementVisitor
public void visit(Replace replace)
visit
in interface StatementVisitor
public void visit(Drop drop)
visit
in interface StatementVisitor
public void visit(Truncate truncate)
visit
in interface StatementVisitor
public void visit(CreateIndex createIndex)
visit
in interface StatementVisitor
public void visit(CreateTable createTable)
visit
in interface StatementVisitor
public void visit(CreateView createView)
visit
in interface StatementVisitor
public void visit(Alter alter)
visit
in interface StatementVisitor
public void visit(Statements stmts)
visit
in interface StatementVisitor
public void visit(Execute execute)
visit
in interface StatementVisitor
public boolean existTable(String tableName)
Copyright © 2006–2018 TinyGroup. All rights reserved.