Package com.alibaba.otter.shared.common.utils.meta

Examples of com.alibaba.otter.shared.common.utils.meta.DdlTableNameFilter


            if (schemaList != null) {
                ModeValue mode = ConfigHelper.parseMode(name);
                String tableNamePattern = ConfigHelper.makeSQLPattern(mode, name);
                final ModeValueFilter modeValueFilter = ConfigHelper.makeModeValueFilter(mode, name);
                for (String schema : schemaList) {
                    DdlUtils.findTables(jdbcTemplate, schema, schema, tableNamePattern, null, new DdlTableNameFilter() {

                        @Override
                        public boolean accept(String catalogName, String schemaName, String tableName) {
                            if (modeValueFilter.accept(tableName)) {
                                matchSchemaTables.add(schemaName + "." + tableName);
View Full Code Here


            if (schemaList != null) {
                ModeValue mode = ConfigHelper.parseMode(name);
                String tableNamePattern = ConfigHelper.makeSQLPattern(mode, name);
                final ModeValueFilter modeValueFilter = ConfigHelper.makeModeValueFilter(mode, name);
                for (String schema : schemaList) {
                    DdlUtils.findTables(jdbcTemplate, schema, schema, tableNamePattern, null, new DdlTableNameFilter() {

                        @Override
                        public boolean accept(String catalogName, String schemaName, String tableName) {
                            if (modeValueFilter.accept(tableName)) {
                                matchSchemaTables.add(schemaName + "." + tableName);
View Full Code Here

TOP

Related Classes of com.alibaba.otter.shared.common.utils.meta.DdlTableNameFilter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.