Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Override AbstractJdbcDriver method getTable The default method takes … #3148

Open
wants to merge 6 commits into
base: dev
Choose a base branch
from

Conversation

yangzehan
Copy link
Contributor

image

image
原方法需要获取数据库中全部表的元数据再过滤比较花费时间

import static org.dinky.utils.SplitUtil.contains;
import static org.dinky.utils.SplitUtil.getReValue;
import static org.dinky.utils.SplitUtil.isSplit;
import static org.dinky.utils.SplitUtil.*;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

此处无需修改

Copy link
Contributor

@aiwenmo aiwenmo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please consider the situation where the data source does not support jdbc.

@yangzehan
Copy link
Contributor Author

Please consider the situation where the data source does not support jdbc.请考虑数据源不支持 jdbc 的情况。

Now all drivers inherit AbstractJdbcDriver. if jdbc is not supported, the method can be overridden

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants